IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
PythonModuleMacros.h
Go to the documentation of this file.
1 // PythonModuleMacros.h:
3 // ---------------------
4 //
14 
15 #ifndef __PYIPSDKBASE_PYTHONMODULEMACROS_H__
16 #define __PYIPSDKBASE_PYTHONMODULEMACROS_H__
17 
19 #include <boost/preprocessor/stringize.hpp>
20 #include <boost/python/module.hpp>
21 
24 
27 #define IPSDK_PYTHON_MODULE_DEFINITION() \
28  BOOST_PYTHON_MODULE(IPSDK_PROJECT_NAME) { \
29  std::string libraryFullName(BOOST_PP_STRINGIZE(IPSDK_PROJECT_NAME)); \
30  ipsdk::python::registerPyWrappers(libraryFullName); \
31 }
32 
35 
36 #endif // __PYIPSDKBASE_PYTHONMODULEMACROS_H__
Utility functions for IPSDK python wrapping.