IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
IPSDK_Nightly
include
public
Python
PyIPSDKBase
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
18
#include <
Python/PyIPSDKBase/PythonUtils.h
>
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__
PythonUtils.h
Utility functions for IPSDK python wrapping.
Generated on Tue Apr 15 2025 16:20:49 for IPSDK by
1.8.14