* Fix compilation errors on Windows hopefully. Implemented the suggestion done

by Aphex - thanks.
* Added the doc strings to the Object module.
* Added more functionality to the Object module.
This commit is contained in:
2003-06-02 20:15:50 +00:00
parent 271dc5aaf1
commit a127b38760
24 changed files with 326 additions and 96 deletions

View File

@@ -250,6 +250,8 @@ PyObject *M_Material_Init (void)
{
PyObject *submodule;
Material_Type.ob_type = &PyType_Type;
submodule = Py_InitModule3("Blender.Material",
M_Material_methods, M_Material_doc);
@@ -436,7 +438,7 @@ static PyObject *Material_Repr (C_Material *self);
/*****************************************************************************/
PyTypeObject Material_Type =
{
PyObject_HEAD_INIT(&PyType_Type)
PyObject_HEAD_INIT(NULL)
0, /* ob_size */
"Material", /* tp_name */
sizeof (C_Material), /* tp_basicsize */