From BlenderWiki

Jump to: navigation, search


I'm working on boilerplating most of the wrapping code, so there should be minimal effort when creating new modules. This is still an ongoing effort, so don't rely too much on the contents of this page just yet. At the moment the code tends to develop faster than it is actually designed (baaaad).

Anyway, some macros:

#define BLU_LIB_REG_BEGIN(module)

Start the registration sequence of a new module

#define BLU_LIB_REG(type, module)

#define BLU_LIB_REG_END(type, module)

#define BLU_CONSTANT(L, c, v)

Used inside a module registering sequence to get module level constants. the L here can be dropped away

-- Nathan Letwory