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:
authorMichel Selten <michel@mselten.demon.nl>2003-06-05 00:18:29 +0400
committerMichel Selten <michel@mselten.demon.nl>2003-06-05 00:18:29 +0400
commitf28910922861843b7faa43814970d7c21986965f (patch)
tree4d8a11797447b098c765f8a7ae3d0ef39c03a2cd /source/blender/python/api2_2x/Object.h
parent474ab1ff7b0724c3fa3cbc575cf881f7494be1fb (diff)
* Made three functions static in the Object module.
* Updated the method struct for the Object module. It now terminates with a {0}.
Diffstat (limited to 'source/blender/python/api2_2x/Object.h')
-rw-r--r--source/blender/python/api2_2x/Object.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/python/api2_2x/Object.h b/source/blender/python/api2_2x/Object.h
index 65fbcc33ac2..df5351aeada 100644
--- a/source/blender/python/api2_2x/Object.h
+++ b/source/blender/python/api2_2x/Object.h
@@ -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}
};
/*****************************************************************************/