Python PyMethodDef supports single argument methods (METH_O) but was using METH_VARAR...
authorCampbell Barton <ideasman42@gmail.com>
Sat, 16 Jun 2007 12:24:41 +0000 (12:24 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 16 Jun 2007 12:24:41 +0000 (12:24 +0000)
commit39a526a963e9e0a0f206556a8b740fab56ba2654
tree69290c8f2186c5dbc4673da0a6de60a874e18ab2
parent5135ed7b0e5c09c77a54e4359d7ff0b92003f4f0
Python PyMethodDef supports single argument methods (METH_O) but was using METH_VARARGS everywhere and getting the single args from the tuple.
Use METH_O where applicable.
28 files changed:
source/blender/python/api2_2x/Blender.c
source/blender/python/api2_2x/Camera.c
source/blender/python/api2_2x/Constraint.c
source/blender/python/api2_2x/CurNurb.c
source/blender/python/api2_2x/Draw.c
source/blender/python/api2_2x/Font.c
source/blender/python/api2_2x/Geometry.c
source/blender/python/api2_2x/Group.c
source/blender/python/api2_2x/IDProp.c
source/blender/python/api2_2x/Image.c
source/blender/python/api2_2x/Ipo.c
source/blender/python/api2_2x/Ipocurve.c
source/blender/python/api2_2x/Ipocurve.h
source/blender/python/api2_2x/Lamp.c
source/blender/python/api2_2x/Library.c
source/blender/python/api2_2x/Material.c
source/blender/python/api2_2x/Mathutils.c
source/blender/python/api2_2x/Mathutils.h
source/blender/python/api2_2x/Mesh.c
source/blender/python/api2_2x/Metaball.c
source/blender/python/api2_2x/Object.c
source/blender/python/api2_2x/Scene.c
source/blender/python/api2_2x/Text3d.c
source/blender/python/api2_2x/World.c
source/blender/python/api2_2x/bpy_data.c
source/blender/python/api2_2x/gen_utils.c
source/blender/python/api2_2x/gen_utils.h
source/blender/python/api2_2x/logic.c