git-subtree-dir: xo-pyprocess git-subtree-mainline:7cc8af4b57git-subtree-split:c4af12c625
25 lines
599 B
C++
25 lines
599 B
C++
/* @file pyprocess.hpp
|
|
*
|
|
* automatically generated from src/pyprocess/pyprocess.hpp.in
|
|
* see src/pyprocess/CMakeLists.txt
|
|
*/
|
|
|
|
/* python requires module name = library name
|
|
* example:
|
|
* PYBIND11_MODULE(PYPROCESS_MODULE_NAME(), m) { ... }
|
|
*/
|
|
#define PYPROCESS_MODULE_NAME() @SELF_LIB@
|
|
|
|
/* example:
|
|
* py::module_::import(PYPROCESS_MODULE_NAME_STR)
|
|
*/
|
|
#define PYPROCESS_MODULE_NAME_STR "@SELF_LIB@"
|
|
|
|
/* example:
|
|
* PYPROCESS_IMPORT_MODULE()
|
|
* replaces
|
|
* py::module_::import("pyprocess")
|
|
*/
|
|
#define PYPROCESS_IMPORT_MODULE() py::module_::import("@SELF_LIB@")
|
|
|
|
/* end pyprocess.hpp */
|