github: + workflow
This commit is contained in:
parent
bc55885778
commit
a1f935579b
2 changed files with 180 additions and 0 deletions
25
include/xo/pyreflect/pyreflect.hpp
Normal file
25
include/xo/pyreflect/pyreflect.hpp
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/* @file pyreflect.hpp
|
||||
*
|
||||
* automatically generated from src/xo_pyreflect/pyreflect.hpp.in
|
||||
* see src/xo_pyreflect/CMakeLists.txt
|
||||
*/
|
||||
|
||||
/* python requires module name = library name
|
||||
* example:
|
||||
* PYBIND11_MODULE(PYREFLECT_MODULE_NAME(), m) { ... }
|
||||
*/
|
||||
#define PYREFLECT_MODULE_NAME() pyreflect
|
||||
|
||||
/* example:
|
||||
* py::module_::import(PYREFLECT_MODULE_NAME_STR)
|
||||
*/
|
||||
#define PYREFLECT_MODULE_NAME_STR "pyreflect"
|
||||
|
||||
/* example:
|
||||
* PYREFLECT_IMPORT_MODULE()
|
||||
* replaces
|
||||
* py::module_::import("pyreflect")
|
||||
*/
|
||||
#define PYREFLECT_IMPORT_MODULE() py::module_::import("pyreflect")
|
||||
|
||||
/* end pyreflect.hpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue