Console: rename PascalCase named methods to camelCase
This commit is contained in:
@@ -67,6 +67,6 @@ PyMOD_INIT_FUNC(_TEMPLATE_)
|
||||
//
|
||||
//
|
||||
PyObject* mod = _TEMPLATE_::initModule();
|
||||
Base::Console().Log("Loading _TEMPLATE_ module... done\n");
|
||||
Base::Console().log("Loading _TEMPLATE_ module... done\n");
|
||||
PyMOD_Return(mod);
|
||||
}
|
||||
|
||||
@@ -81,6 +81,6 @@ PyMOD_INIT_FUNC(_TEMPLATE_Gui)
|
||||
//
|
||||
//
|
||||
PyObject* mod = _TEMPLATE_Gui::initModule();
|
||||
Base::Console().Log("Loading GUI of _TEMPLATE_ module... done\n");
|
||||
Base::Console().log("Loading GUI of _TEMPLATE_ module... done\n");
|
||||
PyMOD_Return(mod);
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ Cmd_TEMPLATE_Test::Cmd_TEMPLATE_Test()
|
||||
|
||||
void Cmd_TEMPLATE_Test::activated(int)
|
||||
{
|
||||
Base::Console().Message("Hello, World!\n");
|
||||
Base::Console().message("Hello, World!\n");
|
||||
}
|
||||
|
||||
void Create_TEMPLATE_Commands(void)
|
||||
|
||||
@@ -40,7 +40,7 @@ extern struct PyMethodDef @self.module.Name@_methods[];
|
||||
extern "C" {
|
||||
void App@self.module.Name@Export init@self.module.Name@() {
|
||||
|
||||
Base::Console().Log("Mod: Loading @self.module.Name@ module... done\\n");
|
||||
Base::Console().log("Mod: Loading @self.module.Name@ module... done\\n");
|
||||
PyObject* partModule = Py_InitModule3("@self.module.Name@", @self.module.Name@_methods, module_@self.module.Name@_doc); /* mod name, table ptr */
|
||||
|
||||
+ for i in self.module.Content.Feature:
|
||||
|
||||
Reference in New Issue
Block a user