An open API service indexing awesome lists of open source software.

https://github.com/scarsty/struct2xxx


https://github.com/scarsty/struct2xxx

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# struct2xxx

本工程计划直接解析C++的struct(或者class)的h文件源码,生成某个泛型格式(例如nlohmann::json)转换到C++的对象以及反向转换的两个函数。

计划做到:

* 不用自己编写描述文件(反面例子:protobuf)
* 不用特意修改头文件(反面例子:增加宏等方案)