Add 'xo-pyexpression/' from commit '734ead4807'
git-subtree-dir: xo-pyexpression git-subtree-mainline:3309a6b8c0git-subtree-split:734ead4807
This commit is contained in:
commit
91048486aa
9 changed files with 402 additions and 0 deletions
25
xo-pyexpression/src/pyexpression/pyexpression.hpp.in
Normal file
25
xo-pyexpression/src/pyexpression/pyexpression.hpp.in
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/* @file pyexpression.hpp
|
||||
*
|
||||
* automatically generated from src/xo_xo_pyexpression/xo_pyexpression.hpp.in
|
||||
* see src/xo_xo_pyexpression/CMakeLists.txt
|
||||
*/
|
||||
|
||||
/* python requires module name = library name
|
||||
* example:
|
||||
* PYBIND11_MODULE(XO_PYEXPRESSION_MODULE_NAME(), m) { ... }
|
||||
*/
|
||||
#define XO_PYEXPRESSION_MODULE_NAME() @SELF_LIB@
|
||||
|
||||
/* example:
|
||||
* py::module_::import(XO_PYEXPRESSION_MODULE_NAME_STR)
|
||||
*/
|
||||
#define XO_PYEXPRESSION_MODULE_NAME_STR "@SELF_LIB@"
|
||||
|
||||
/* example:
|
||||
* XO_PYEXPRESSION_IMPORT_MODULE()
|
||||
* replaces
|
||||
* py::module_::import("xo_pyexpression")
|
||||
*/
|
||||
#define XO_PYEXPRESSION_IMPORT_MODULE() py::module_::import("@SELF_LIB@")
|
||||
|
||||
/* end pyexpression.hpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue