diff options
author | Stephen Swaney <sswaney@centurytel.net> | 2006-04-16 19:28:50 +0400 |
---|---|---|
committer | Stephen Swaney <sswaney@centurytel.net> | 2006-04-16 19:28:50 +0400 |
commit | 342bb99a19579531dcc4b5dbc1d4b3862ba91f04 (patch) | |
tree | 57db6ec8a4d079f3278d9792c90ec8177093ef34 /source/blender/python/api2_2x/Types.c | |
parent | a204ccd2877a4c8eddffdba71f5f9fa0c654935b (diff) |
a little spring cleaning to remove some compiler warnings for
implicit declarations, redundant redeclarations, missing initializers,
nested externs and other cruft.
Cleaned up includes and moved extern _Type decls from Types.h into
Types.c since that is the only place where they are needed now.
Did not touch Ipo.[ch] since work is on-going there.
Diffstat (limited to 'source/blender/python/api2_2x/Types.c')
-rw-r--r-- | source/blender/python/api2_2x/Types.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Types.c b/source/blender/python/api2_2x/Types.c index 8eb2ed3c2cb..c7310dd56f1 100644 --- a/source/blender/python/api2_2x/Types.c +++ b/source/blender/python/api2_2x/Types.c @@ -31,6 +31,34 @@ #include "Types.h" +/* + stuff pasted from the old Types.h + is only need here now +*/ + +extern PyTypeObject Action_Type, Armature_Type; +extern PyTypeObject Pose_Type; +extern PyTypeObject BezTriple_Type, Bone_Type, Button_Type; +extern PyTypeObject Camera_Type; +extern PyTypeObject CurNurb_Type; +extern PyTypeObject Curve_Type; +extern PyTypeObject Effect_Type, Font_Type; +extern PyTypeObject Image_Type, Ipo_Type, IpoCurve_Type; +extern PyTypeObject Lamp_Type, Lattice_Type; +extern PyTypeObject Material_Type, Metaball_Type, MTex_Type; +extern PyTypeObject NMFace_Type, NMVert_Type, NMCol_Type, NMesh_Type; +extern PyTypeObject MFace_Type, MVert_Type, PVert_Type, MEdge_Type, MCol_Type, + Mesh_Type; +extern PyTypeObject Object_Type; +extern PyTypeObject Particle_Type; +extern PyTypeObject Scene_Type, RenderData_Type; +extern PyTypeObject Text_Type, Text3d_Type, Texture_Type; +extern PyTypeObject World_Type; +extern PyTypeObject property_Type; +extern PyTypeObject buffer_Type, constant_Type, euler_Type; +extern PyTypeObject matrix_Type, quaternion_Type, rgbTuple_Type, vector_Type; +extern PyTypeObject point_Type; + char M_Types_doc[] = "The Blender Types module\n\n\ This module is a dictionary of all Blender Python types"; |