xo-reader2/xo-pywebutil/src/pywebutil/pywebutil.hpp.in
Roland Conybeare 3f1fd834d5 Add 'xo-pywebutil/' from commit '578b3d724a'
git-subtree-dir: xo-pywebutil
git-subtree-mainline: a2a8b936b9
git-subtree-split: 578b3d724a
2025-05-11 14:55:44 -05:00

25 lines
599 B
C++

/* @file pywebutil.hpp
*
* automatically generated from src/pywebutil/pywebutil.hpp.in
* see src/pywebutil/CMakeLists.txt
*/
/* python requires module name = library name
* example:
* PYBIND11_MODULE(PYWEBUTIL_MODULE_NAME(), m) { ... }
*/
#define PYWEBUTIL_MODULE_NAME() @SELF_LIB@
/* example:
* py::module_::import(PYWEBUTIL_MODULE_NAME_STR)
*/
#define PYWEBUTIL_MODULE_NAME_STR "@SELF_LIB@"
/* example:
* PYWEBUTIL_IMPORT_MODULE()
* replaces
* py::module_::import("pywebutil")
*/
#define PYWEBUTIL_IMPORT_MODULE() py::module_::import("@SELF_LIB@")
/* end pywebutil.hpp */