diff options
author | Stephen Swaney <sswaney@centurytel.net> | 2006-01-16 20:55:03 +0300 |
---|---|---|
committer | Stephen Swaney <sswaney@centurytel.net> | 2006-01-16 20:55:03 +0300 |
commit | 14cc1192a34869e09f1a790bee39af61e60c01a4 (patch) | |
tree | a3e5738e1665ca35e6d64be535025701ec103a9e /source/blender/python/api2_2x/Bone.c | |
parent | c5819fe03fd3a199527ec4d5f3f2a52dafd3d9bb (diff) |
clean up some warnings in bpy code
Diffstat (limited to 'source/blender/python/api2_2x/Bone.c')
-rw-r--r-- | source/blender/python/api2_2x/Bone.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/python/api2_2x/Bone.c b/source/blender/python/api2_2x/Bone.c index 95344e7a960..7e233e5f647 100644 --- a/source/blender/python/api2_2x/Bone.c +++ b/source/blender/python/api2_2x/Bone.c @@ -648,7 +648,7 @@ static PyMethodDef BPy_EditBone_methods[] = { "() - True/False - Bone has a parent"}, {"clearParent", (PyCFunction) EditBone_clearParent, METH_NOARGS, "() - sets the parent to None"}, - {NULL} + {NULL, NULL, 0, NULL} }; ///------------------------tp_getset //This contains methods for attributes that require checking @@ -675,7 +675,7 @@ static PyGetSetDef BPy_EditBone_getset[] = { "The parent bone of this bone", NULL}, {"length", (getter)EditBone_getLength, (setter)EditBone_setLength, "The length of this bone", NULL}, - {NULL} + {NULL, NULL, NULL, NULL,NULL} }; //------------------------tp_repr @@ -1067,7 +1067,7 @@ static PyMethodDef BPy_Bone_methods[] = { "() - True/False - Bone has 1 or more children"}, {"getAllChildren", (PyCFunction) Bone_getAllChildren, METH_NOARGS, "() - All the children for this bone - including children's children"}, - {NULL} + {NULL, NULL, 0, NULL} }; //------------------------tp_getset //This contains methods for attributes that require checking @@ -1096,7 +1096,7 @@ static PyGetSetDef BPy_Bone_getset[] = { "The child bones of this bone", NULL}, {"length", (getter)Bone_getLength, (setter)Bone_setLength, "The length of this bone", NULL}, - {NULL} + {NULL, NULL, NULL, NULL,NULL} }; //------------------------tp_repr //This is the string representation of the object |