Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillian Padovani Germano <wpgermano@gmail.com>2003-07-12 22:02:54 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2003-07-12 22:02:54 +0400
commitc467b19c75d7a9ce4afb2d46566447414c92801e (patch)
tree15a27669400381b935b439b0474222ae25405948 /source/blender/python/api2_2x/Lamp.c
parent37c4fa647dff4e330da4b55eb0e8d36895fff38b (diff)
Exppython:
- More documentation files for epydoc. - Few minor changes in other files.
Diffstat (limited to 'source/blender/python/api2_2x/Lamp.c')
-rw-r--r--source/blender/python/api2_2x/Lamp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/python/api2_2x/Lamp.c b/source/blender/python/api2_2x/Lamp.c
index 5b9086fd680..95c6b0697f0 100644
--- a/source/blender/python/api2_2x/Lamp.c
+++ b/source/blender/python/api2_2x/Lamp.c
@@ -181,7 +181,7 @@ static PyObject *M_Lamp_Get(PyObject *self, PyObject *args)
}
}
-static PyObject *M_Lamp_TypesDict (void)
+static PyObject *Lamp_TypesDict (void)
{ /* create the Blender.Lamp.Types constant dict */
PyObject *Types = M_constant_New();
@@ -198,7 +198,7 @@ static PyObject *M_Lamp_TypesDict (void)
return Types;
}
-static PyObject *M_Lamp_ModesDict (void)
+static PyObject *Lamp_ModesDict (void)
{ /* create the Blender.Lamp.Modes constant dict */
PyObject *Modes = M_constant_New();
@@ -229,15 +229,15 @@ PyObject *Lamp_Init (void)
Lamp_Type.ob_type = &PyType_Type;
- Types = M_Lamp_TypesDict ();
- Modes = M_Lamp_ModesDict ();
+ Types = Lamp_TypesDict ();
+ Modes = Lamp_ModesDict ();
submodule = Py_InitModule3("Blender.Lamp", M_Lamp_methods, M_Lamp_doc);
if (Types) PyModule_AddObject(submodule, "Types", Types);
if (Modes) PyModule_AddObject(submodule, "Modes", Modes);
- return (submodule);
+ return submodule;
}
/* Three Python Lamp_Type helper functions needed by the Object module: */