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:
authorStephen Swaney <sswaney@centurytel.net>2006-01-16 20:55:03 +0300
committerStephen Swaney <sswaney@centurytel.net>2006-01-16 20:55:03 +0300
commit14cc1192a34869e09f1a790bee39af61e60c01a4 (patch)
treea3e5738e1665ca35e6d64be535025701ec103a9e /source/blender/python/api2_2x/Pose.c
parentc5819fe03fd3a199527ec4d5f3f2a52dafd3d9bb (diff)
clean up some warnings in bpy code
Diffstat (limited to 'source/blender/python/api2_2x/Pose.c')
-rw-r--r--source/blender/python/api2_2x/Pose.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/python/api2_2x/Pose.c b/source/blender/python/api2_2x/Pose.c
index dda0bf90610..577eb1029a3 100644
--- a/source/blender/python/api2_2x/Pose.c
+++ b/source/blender/python/api2_2x/Pose.c
@@ -104,7 +104,7 @@ static PyMethodDef BPy_PoseBonesDict_methods[] = {
"() - Returns the keys the dictionary"},
{"values", (PyCFunction) PoseBonesDict_values, METH_NOARGS,
"() - Returns the values from the dictionary"},
- {NULL}
+ {NULL, NULL, 0, NULL}
};
//-----------------(internal)
static int PoseBoneMapping_Init(PyObject *dictionary, ListBase *posechannels){
@@ -293,7 +293,7 @@ static PyObject *Pose_update(BPy_Pose *self)
static PyMethodDef BPy_Pose_methods[] = {
{"update", (PyCFunction) Pose_update, METH_NOARGS,
"() - Rebuilds the pose with new values"},
- {NULL}
+ {NULL, NULL, 0, NULL}
};
//------------------ATTRIBUTE IMPLEMENTATIONS---------------------------
//------------------------Pose.bones (getter)
@@ -318,7 +318,7 @@ AttributeError:
static PyGetSetDef BPy_Pose_getset[] = {
{"bones", (getter)Pose_getBoneDict, (setter)Pose_setBoneDict,
"The pose's Bone dictionary", NULL},
- {NULL}
+ {NULL, NULL, NULL, NULL, NULL}
};
//------------------------tp_dealloc
//This tells how to 'tear-down' our object when ref count hits 0
@@ -527,7 +527,7 @@ AttributeError5:
static PyMethodDef BPy_PoseBone_methods[] = {
{"insertKey", (PyCFunction) PoseBone_insertKey, METH_VARARGS,
"() - insert a key for this pose into an action"},
- {NULL}
+ {NULL, NULL, 0, NULL}
};
//------------------ATTRIBUTE IMPLEMENTATIONS---------------------------
//------------------------PoseBone.name (getter)
@@ -784,7 +784,7 @@ static PyGetSetDef BPy_PoseBone_getset[] = {
"The pose bone's tail positon", NULL},
//{"constraints", (getter)PoseBone_getConstraints, (setter)PoseBone_setConstraints,
// "The list of contraints that pertain to this pose bone", NULL},
- {NULL}
+ {NULL, NULL, NULL, NULL, NULL}
};
//------------------------tp_dealloc
//This tells how to 'tear-down' our object when ref count hits 0
@@ -856,7 +856,7 @@ PyTypeObject PoseBone_Type = {
//-------------------MODULE METHODS IMPLEMENTATION------------------------
//-------------------MODULE METHODS DEFINITION-----------------------------
struct PyMethodDef M_Pose_methods[] = {
- {NULL}
+ {NULL, NULL, 0, NULL}
};
//-------------------MODULE INITIALIZATION--------------------------------
PyObject *Pose_Init(void)