ecto
Macros
module.hpp File Reference
#include <ecto/python.hpp>
#include <ecto/registry.hpp>
Include dependency graph for module.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ECTO_ASSERT_MODULE_NAME(MODULE)
 
#define ECTO_DEFINE_MODULE(modname)
 

Macro Definition Documentation

#define ECTO_ASSERT_MODULE_NAME (   MODULE)
Value:
template <unsigned T> void incorrect_ecto_module_name_##MODULE(); \
extern template void incorrect_ecto_module_name_##MODULE<MODULE##_ectomodule_EXPORTS>();
#define ECTO_DEFINE_MODULE (   modname)
Value:
void init_module_##modname##_rest() ; \
BOOST_PYTHON_MODULE(modname) { \
ECTO_REGISTER(modname); \
init_module_##modname##_rest(); \
} \
void init_module_##modname##_rest()
#define ECTO_INSTANTIATE_REGISTRY(MODULE)
Definition: registry.hpp:147
#define ECTO_ASSERT_MODULE_NAME(MODULE)
Definition: module.hpp:36
#define ECTO_REGISTER(MODULE)
Definition: registry.hpp:151