diff options
author | Michel Selten <michel@mselten.demon.nl> | 2003-05-17 17:46:15 +0400 |
---|---|---|
committer | Michel Selten <michel@mselten.demon.nl> | 2003-05-17 17:46:15 +0400 |
commit | 612123e8fda7d4a1ee33a04f139f5c471f3afa0c (patch) | |
tree | 4082a606c3b977d084f84b987fb0856903b060c5 /source/blender/python/api2_2x/Blender.c | |
parent | d03323b1c306e3d14df7f221600eb4a2096860a5 (diff) |
* Updated the naming convention for some functions. I forgot those the last
time.
* Created the M_ObjectCheckPyObject and M_ObjectFromPyObject functions. These
are needed for interfacing to other modules.
* The Object methods have been created. Not all of them are implemented yet.
Diffstat (limited to 'source/blender/python/api2_2x/Blender.c')
-rw-r--r-- | source/blender/python/api2_2x/Blender.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/api2_2x/Blender.c b/source/blender/python/api2_2x/Blender.c index a680ff0d316..ef4411e3aaf 100644 --- a/source/blender/python/api2_2x/Blender.c +++ b/source/blender/python/api2_2x/Blender.c @@ -201,12 +201,12 @@ PyObject *Blender_ReleaseGlobalDict(PyObject *self, PyObject *args) /*****************************************************************************/ /* Function: initBlender */ /*****************************************************************************/ -void initBlender (void) +void M_Blender_Init (void) { PyObject * module; PyObject * dict; - printf ("In initBlender()\n"); + printf ("In M_Blender_Init()\n"); g_blenderdict = NULL; /* TODO: create a docstring for the Blender module */ @@ -214,7 +214,7 @@ void initBlender (void) dict = PyModule_GetDict (module); g_blenderdict = dict; - PyDict_SetItemString (dict, "Object", initObject()); + PyDict_SetItemString (dict, "Object", M_Object_Init()); PyDict_SetItemString (dict, "NMesh", M_NMesh_Init()); PyDict_SetItemString (dict, "Camera", M_Camera_Init()); PyDict_SetItemString (dict, "Lamp", M_Lamp_Init()); |