diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2004-04-23 17:11:48 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2004-04-23 17:11:48 +0400 |
commit | abe8191d7091b12604a1f427dc1e1bce15d7053e (patch) | |
tree | 3767e375f88fc32ac87d0628ac916525217a5921 /source/blender/python/api2_2x/Effect.h | |
parent | da7b4711a425aca00da78520d021acef57bae59f (diff) |
BPython:
- fixed two warnings, unused var in Object.c and undeclared function in script.c
- updated Blender.Draw doc, it was missing info about Button object
- refactored pytype initialization to try to fix for once platform (and distro!) specific crashes on startup. This asked for tiny updates in Effect.[ch] (removed static from declaration, moved definitions to the .c file) and modules.h
- fixed error I made trying to fix scripts w/ no [eol] char in menus. Thanks Michael Velikanje for reporting the problem!
Diffstat (limited to 'source/blender/python/api2_2x/Effect.h')
-rw-r--r-- | source/blender/python/api2_2x/Effect.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/source/blender/python/api2_2x/Effect.h b/source/blender/python/api2_2x/Effect.h index 711afad0a2d..8b0562db2a4 100644 --- a/source/blender/python/api2_2x/Effect.h +++ b/source/blender/python/api2_2x/Effect.h @@ -46,14 +46,6 @@ #include"gen_utils.h" #include "bpy_types.h" - -/*****************************************************************************/ -/* Python BPy_Effect methods table: */ -/*****************************************************************************/ -static PyMethodDef BPy_Effect_methods[] = { - {0} -}; - /*****************************************************************************/ /* Python API function prototypes for the Effect module. */ /*****************************************************************************/ @@ -79,32 +71,5 @@ PyObject *EffectRepr (BPy_Effect *msh); PyObject* EffectCreatePyObject (struct Effect *effect); int EffectCheckPyObject (PyObject *py_obj); struct Effect* EffectFromPyObject (PyObject *py_obj); -/*****************************************************************************/ -/* Python Effect_Type structure definition: */ -/*****************************************************************************/ -static PyTypeObject Effect_Type = -{ - PyObject_HEAD_INIT(NULL) - 0, /* ob_size */ - "Effect", /* tp_name */ - sizeof (BPy_Effect), /* tp_basicsize */ - 0, /* tp_itemsize */ - /* methods */ - (destructor)EffectDeAlloc, /* tp_dealloc */ - 0, /* tp_print */ - (getattrfunc)EffectGetAttr, /* tp_getattr */ - (setattrfunc)EffectSetAttr, /* tp_setattr */ - 0, /* tp_compare */ - (reprfunc)EffectRepr, /* tp_repr */ - 0, /* tp_as_number */ - 0, /* tp_as_sequence */ - 0, /* tp_as_mapping */ - 0, /* tp_as_hash */ - 0,0,0,0,0,0, - 0, /* tp_doc */ - 0,0,0,0,0,0, - BPy_Effect_methods, /* tp_methods */ - 0, /* tp_members */ -}; #endif /* EXPP_EFFECT_H */ |