# CppStubGenerator **Repository Path**: izmj/cpp-stub-generator ## Basic Information - **Project Name**: CppStubGenerator - **Description**: C++的Stub代码生成工具。用于根据头文件,自动生成stub函数体。在函数体中提供被调用日志输出,模拟回调通知的能力。 - **Primary Language**: Python - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-10-31 - **Last Updated**: 2024-10-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CppStubGenerator #### 介绍 C++的Stub代码生成工具。用于根据头文件,自动生成stub函数体。在函数体中提供被调用日志输出,模拟回调通知的能力。 最终的目标,是可以轻松的完成stub库的基本方法生成,后续代码的生成,则依靠人工完成。 #### 进度 - [x] C++: stub函数日志输出。 - [x] C++: stub函数指定返回参数。 - [x] C++: 多种数据格式支持。 - [ ] C++: stub函数入参保存。 - [ ] C++: stub注册回调的基础框架。 已经支持的数据类型: > int, double, bool, char*, wchar_t*, const char*, const wchar_t*, void*, nullptr_t 计划支持的数据类型: > callback_function #### 难点 #### 使用说明 1. xxxx 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request