xo-numeric/xo-pyreactor/src/pyreactor/pyreactor.hpp.in
Roland Conybeare d9261f4d41 Add 'xo-pyreactor/' from commit '50b8d529a7'
git-subtree-dir: xo-pyreactor
git-subtree-mainline: 54f3e9bd86
git-subtree-split: 50b8d529a7
2025-05-11 15:14:43 -05:00

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 */