「Dev:2.4/Source/Extensions/BLU/Documentation/Macros」の版間の差分

提供: wiki
< Dev:2.4‎ | Source‎ | Extensions‎ | BLU‎ | Documentation
移動先: 案内検索
(moved Dev:Source/Extensions/BLU/Documentation/Macros to Dev:2.4/Source/Extensions/BLU/Documentation/Macros: move to 2.4/ so new development docs can be done in 2.5/ or 2.6/ etc)
 
(1版 をインポートしました)
 
(相違点なし)

2018年6月29日 (金) 02:45時点における最新版

BLUMacro

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