* Made three functions static in the Object module.

* Updated the method struct for the Object module. It now terminates with a
  {0}.
This commit is contained in:
2003-06-04 20:18:29 +00:00
parent 474ab1ff7b
commit f289109228
2 changed files with 20 additions and 13 deletions

View File

@@ -61,9 +61,9 @@
/*****************************************************************************/
/* Python API function prototypes for the Blender module. */
/*****************************************************************************/
PyObject *M_Object_New(PyObject *self, PyObject *args);
PyObject *M_Object_Get(PyObject *self, PyObject *args);
PyObject *M_Object_GetSelected (PyObject *self, PyObject *args);
static PyObject *M_Object_New(PyObject *self, PyObject *args);
static PyObject *M_Object_Get(PyObject *self, PyObject *args);
static PyObject *M_Object_GetSelected (PyObject *self, PyObject *args);
/*****************************************************************************/
/* The following string definitions are used for documentation strings. */
@@ -225,6 +225,7 @@ objects."},
{"shareFrom", (PyCFunction)Object_shareFrom, METH_VARARGS,
"Link data of self with object specified in the argument. This\n\
works only if self and the object specified are of the same type."},
{0}
};
/*****************************************************************************/