|heck 1b452adcc4||4 hours ago|
|examples||15 hours ago|
|pEpACIDgen||4 hours ago|
|tests||14 hours ago|
|.editorconfig||3 months ago|
|.gitignore||1 week ago|
|AUTHORS.txt||1 week ago|
|LICENSE.txt||4 years ago|
|MANIFEST.in||1 week ago|
|Makefile||1 week ago|
|README.md||1 week ago|
|pyproject.toml||1 week ago|
|setup.cfg||1 week ago|
|setup.py||1 week ago|
pEpACIDgen stands for “pEp Abstract C Interface Description Generator”
pEpACIDgen generates an Abstract C Interface Defintion file (json or yml2) given the inputs:
The generator searches each function/var in the headerfile (recursively) and collects all the
types needed (var type, return type, parm types).
As structs can contain further types, these dependent types need to be collected recursively.
Finally, all the collected types will be resolved to their final underlying type. If a type is primitive, nothing needs to be done, cause its already defined. But types of typekind struct or enum need to be defined. Their definition will be searched for in the headerfile and included in the interface definition The ACID file (yml2) contains all the information needed to represent:
well enough so they can be expressed in pyBind11.
use “pyBind11-CID” to generate the pyBind11 code out of the ACID file.