bugfix: SELF_LIBRARY_NAME->SELF_LIB in .hpp.in
This commit is contained in:
parent
45d799bd36
commit
52df00721c
2 changed files with 5 additions and 5 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* @file ReactorPy.cpp */
|
||||
/* @file pyreactor.cpp */
|
||||
|
||||
#include "pyreactor.hpp"
|
||||
#include "xo/pyprintjson/pyprintjson.hpp"
|
||||
|
|
@ -138,4 +138,4 @@ namespace xo {
|
|||
} /*namespace reactor*/
|
||||
} /*namespace xo*/
|
||||
|
||||
/* end ReactorPy.cpp */
|
||||
/* end pyreactor.cpp */
|
||||
|
|
|
|||
|
|
@ -8,18 +8,18 @@
|
|||
* example:
|
||||
* PYBIND11_MODULE(PYREACTOR_MODULE_NAME(), m) { ... }
|
||||
*/
|
||||
#define PYREACTOR_MODULE_NAME() @SELF_LIBRARY_NAME@
|
||||
#define PYREACTOR_MODULE_NAME() @SELF_LIB@
|
||||
|
||||
/* example:
|
||||
* py::module_::import(PYREACTOR_MODULE_NAME_STR)
|
||||
*/
|
||||
#define PYREACTOR_MODULE_NAME_STR "@SELF_LIBRARY_NAME@"
|
||||
#define PYREACTOR_MODULE_NAME_STR "@SELF_LIB@"
|
||||
|
||||
/* example:
|
||||
* PYREACTOR_IMPORT_MODULE()
|
||||
* replaces
|
||||
* py::module_::import("pyreactor")
|
||||
*/
|
||||
#define PYREACTOR_IMPORT_MODULE() py::module_::import("@SELF_LIBRARY_NAME@")
|
||||
#define PYREACTOR_IMPORT_MODULE() py::module_::import("@SELF_LIB@")
|
||||
|
||||
/* end pyreactor.hpp */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue