xo-numeric/xo-pyprintjson/src/pyprintjson/pyprintjson.hpp.in
Roland Conybeare 7c6114bf46 Add 'xo-pyprintjson/' from commit '36797a419a'
git-subtree-dir: xo-pyprintjson
git-subtree-mainline: 9aa938c58d
git-subtree-split: 36797a419a
2025-05-11 15:05:03 -05:00

25 lines
623 B
C++

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