diff options
author | Stephen Swaney <sswaney@centurytel.net> | 2004-10-07 23:25:40 +0400 |
---|---|---|
committer | Stephen Swaney <sswaney@centurytel.net> | 2004-10-07 23:25:40 +0400 |
commit | 0fdc0ce297be5a9621e41eba6e785a1d9c9287e4 (patch) | |
tree | 88eadd40613bf72f2cbe1b8bfbd5a1418b627a1a /source/blender/python/api2_2x/Material.h | |
parent | 14ae3362c5dce229e84ca9331879d99d44a13a50 (diff) |
Another step in the Big Bpy Cleanup.
- move static declarations and data definitions out of headers.
the BGL module still need cleaning.
- move declarations out of modules.h and into appropriate .h files.
modules.h still exists as a container for the few modules that
need to #include almost everything.
- all files now have a $Id tag and have been formatted by indent
there are no changes to executable code.
pre-commit versions are tagged with bpy-cleanup-pre-20041007
for the sake of paranoia.
Diffstat (limited to 'source/blender/python/api2_2x/Material.h')
-rw-r--r-- | source/blender/python/api2_2x/Material.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Material.h b/source/blender/python/api2_2x/Material.h index c9591c42271..58f2862112b 100644 --- a/source/blender/python/api2_2x/Material.h +++ b/source/blender/python/api2_2x/Material.h @@ -57,14 +57,19 @@ extern PyTypeObject Material_Type; /* The Material PyType Object */ /* Module Blender.Material - public functions */ /*****************************************************************************/ PyObject *M_Material_Init( void ); + +PyObject *Material_Init( void ); PyObject *Material_CreatePyObject( Material * mat ); Material *Material_FromPyObject( PyObject * pyobj ); int Material_CheckPyObject( PyObject * pyobj ); -/* Some functions needed by NMesh.c */ +/* Some functions needed by NMesh, Curve and friends */ PyObject *EXPP_PyList_fromMaterialList( Material ** matlist, int len, int all ); Material **EXPP_newMaterialList_fromPyList( PyObject * list ); Material **EXPP_newMaterialList( int len ); +void EXPP_incr_mats_us( Material ** matlist, int len ); +int EXPP_synchronizeMaterialLists( Object * object ); +int EXPP_releaseMaterialList( Material ** matlist, int len ); #endif /* EXPP_MATERIAL_H */ |