bugfix: varname in .hpp template

This commit is contained in:
Roland Conybeare 2023-10-22 20:26:27 -04:00
commit db01f8cefc

View file

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