version 1.2, 2015/04/20 18:10:12
|
version 1.3, 2015/04/20 18:19:52
|
|
|
void MI_CALL Load(MI_Module_Self** self, struct _MI_Context* context)\n\ | void MI_CALL Load(MI_Module_Self** self, struct _MI_Context* context)\n\ |
{\n\ | {\n\ |
*self = NULL;\n\ | *self = NULL;\n\ |
|
MI_Context_PostResult(context, MI_RESULT_OK);\n\ |
}\n\ | }\n\ |
\n\ | \n\ |
void MI_CALL Unload(MI_Module_Self* self, struct _MI_Context* context)\n\ | void MI_CALL Unload(MI_Module_Self* self, struct _MI_Context* context)\n\ |
{\n\ | {\n\ |
|
MI_Context_PostResult(context, MI_RESULT_OK);\n\ |
}\n\ | }\n\ |
\n" | \n" |
| |
|
|
void MI_CALL Load(MI_Module_Self** self, struct _MI_Context* context)\n\ | void MI_CALL Load(MI_Module_Self** self, struct _MI_Context* context)\n\ |
{\n\ | {\n\ |
*self = (MI_Module_Self*)new Module;\n\ | *self = (MI_Module_Self*)new Module;\n\ |
|
MI_Context_PostResult(context, MI_RESULT_OK);\n\ |
}\n\ | }\n\ |
\n\ | \n\ |
void MI_CALL Unload(MI_Module_Self* self, struct _MI_Context* context)\n\ | void MI_CALL Unload(MI_Module_Self* self, struct _MI_Context* context)\n\ |
{\n\ | {\n\ |
Module* module = (Module*)self;\n\ | Module* module = (Module*)self;\n\ |
delete module;\n\ | delete module;\n\ |
|
MI_Context_PostResult(context, MI_RESULT_OK);\n\ |
}\n\ | }\n\ |
\n" | \n" |
| |