diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-03-19 01:22:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-03-19 01:22:58 +0300 |
commit | 3aab50f775e4928d3ee525a999e2b4c995ae9ae4 (patch) | |
tree | 68c902e2336dd3e12f41e85cda9ade1f7025e9a0 /source/blender/python/intern/bpy_ui.c | |
parent | 43d4e3fa7efca3ae2cedfd35fa344bf2ef298a7f (diff) |
* removed warnings and fixed some python refcount errors
* operator class names
- Changed 'name' to '__label__' (since __name__ is already used for the class name)
- Changed 'properties' to '__props__'
* added a PyObject_GetAttrStringArgs(), utility function which Id like to see in pythons C api.
PyObject_GetAttrStringArgs(pyob, "someattr", "foo", "bar") /* pyob.someattr.foo.bar */
Diffstat (limited to 'source/blender/python/intern/bpy_ui.c')
-rw-r--r-- | source/blender/python/intern/bpy_ui.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_ui.c b/source/blender/python/intern/bpy_ui.c index d9df8820e95..ca61c0b425b 100644 --- a/source/blender/python/intern/bpy_ui.c +++ b/source/blender/python/intern/bpy_ui.c @@ -418,7 +418,6 @@ static struct PyMethodDef ui_methods[] = { {"registerKey", (PyCFunction)Method_registerKey, METH_VARARGS, ""}, // XXX could have this in another place too - {"getRegonPtr", (PyCFunction)Method_getRegonPtr, METH_NOARGS, ""}, // XXX Nasty, we really need to improve dealing with context! {"getAreaPtr", (PyCFunction)Method_getAreaPtr, METH_NOARGS, ""}, {"getScreenPtr", (PyCFunction)Method_getScreenPtr, METH_NOARGS, ""}, |