1 Star 0 Fork 0

SachieW/pybindgen

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
HACKING 1.02 KB
一键复制 编辑 原始数据 按行查看 历史
== Needed tools ==
You need to install python, with development headers, and a C/C++ compiler.
== Project style / goals / development guidelines ==
Code style rules:
* Should generate clean C or C++ code
- Near what a human programmer would write;
* Do not depend on C++ language features except when wrapping C++ APIs
- It should be possible to generate pure C modules for wrapping pure C libraries;
* No C++ templates allowed (except if wrapping them)
* Macros should be used rarely, and should be small if used at all
- Shift the complexity into Python side, keep the C/C++ simple (even if large);
* Generated code should not require any external library
- Whenever possible, do not create functions, expand the needed code from the Python code generator instead;
== Submitting patches ==
1. First, make sure all unit tests pass: waf clean && waf check
2. Report the feature/bug in launchpad: https://bugs.launchpad.net/pybindgen/+filebug
3. Attach a patch or branch to the bug report
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wangzewenxi/pybindgen.git
[email protected]:wangzewenxi/pybindgen.git
wangzewenxi
pybindgen
pybindgen
master

搜索帮助