initial implementation
This commit is contained in:
commit
c96029fa1b
8 changed files with 204 additions and 0 deletions
25
include/xo/pyprintjson/pyprintjson.hpp
Normal file
25
include/xo/pyprintjson/pyprintjson.hpp
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/* @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() pyprintjson
|
||||
|
||||
/* example:
|
||||
* py::module_::import(PYPRINTJSON_MODULE_NAME_STR)
|
||||
*/
|
||||
#define PYPRINTJSON_MODULE_NAME_STR "pyprintjson"
|
||||
|
||||
/* example:
|
||||
* PYPRINTJSON_IMPORT_MODULE()
|
||||
* replaces
|
||||
* py::module_::import("pyprintjson")
|
||||
*/
|
||||
#define PYPRINTJSON_IMPORT_MODULE() py::module_::import("pyprintjson")
|
||||
|
||||
/* end pyprintjson.hpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue