bugfix: varname in .hpp template
This commit is contained in:
parent
5553fe5f70
commit
db01f8cefc
1 changed files with 3 additions and 3 deletions
|
|
@ -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