git-subtree-dir: xo-pyreactor git-subtree-mainline:54f3e9bd86git-subtree-split:50b8d529a7
25 lines
599 B
C++
25 lines
599 B
C++
/* @file pyreactor.hpp
|
|
*
|
|
* automatically generated from src/pyreflect/pyreactor.hpp.in
|
|
* see src/pyreactor/CMakeLists.txt
|
|
*/
|
|
|
|
/* python requires module name = library name
|
|
* example:
|
|
* PYBIND11_MODULE(PYREACTOR_MODULE_NAME(), m) { ... }
|
|
*/
|
|
#define PYREACTOR_MODULE_NAME() @SELF_LIB@
|
|
|
|
/* example:
|
|
* py::module_::import(PYREACTOR_MODULE_NAME_STR)
|
|
*/
|
|
#define PYREACTOR_MODULE_NAME_STR "@SELF_LIB@"
|
|
|
|
/* example:
|
|
* PYREACTOR_IMPORT_MODULE()
|
|
* replaces
|
|
* py::module_::import("pyreactor")
|
|
*/
|
|
#define PYREACTOR_IMPORT_MODULE() py::module_::import("@SELF_LIB@")
|
|
|
|
/* end pyreactor.hpp */
|