diff options
author | Stephen Swaney <sswaney@centurytel.net> | 2004-09-26 00:30:40 +0400 |
---|---|---|
committer | Stephen Swaney <sswaney@centurytel.net> | 2004-09-26 00:30:40 +0400 |
commit | a509b8adc9b8952cdb395c69406e821f57a9a6c7 (patch) | |
tree | 7c0e3c7b81007acc6b3e268e59a6af5fcb4bd93f /source/blender/python/api2_2x/Scene.h | |
parent | bd371ddb9ff947d4e598ad04af9402d89fa80d5e (diff) |
Another round in the Great BPy Cleanup:
Run everything thru indent to cleanup spaces vs tabs.
Clean up some of the comments by hand.
BGL.c was not touched due to all that macro wackyness.
There are no functional changes to the code.
Pre-indent versions of source are tagged with
tag bpy-cleanup-20040925 , just in case.
Diffstat (limited to 'source/blender/python/api2_2x/Scene.h')
-rw-r--r-- | source/blender/python/api2_2x/Scene.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/python/api2_2x/Scene.h b/source/blender/python/api2_2x/Scene.h index ef2664f8ad0..ca0775dc6f8 100644 --- a/source/blender/python/api2_2x/Scene.h +++ b/source/blender/python/api2_2x/Scene.h @@ -1,4 +1,5 @@ /* + * $Id$ * * ***** BEGIN GPL/BL DUAL LICENSE BLOCK ***** * @@ -39,18 +40,17 @@ PyTypeObject Scene_Type; #define BPy_Scene_Check(v) \ - ((v)->ob_type == &Scene_Type) + ((v)->ob_type == &Scene_Type) -//---------------------------Python BPy_Scene structure definition------------------------------------------------------ +//---------------------------Python BPy_Scene structure definition---------- typedef struct { - PyObject_HEAD - Scene *scene; + PyObject_HEAD Scene * scene; } BPy_Scene; -//---------------------------Python BPy_Scene visible prototypes------------------------------------------------------ +//---------------------------Python BPy_Scene visible prototypes----------- // Python Scene_Type helper functions needed by Blender (the Init function) and Object modules. -PyObject *Scene_Init (void); -PyObject *Scene_CreatePyObject (Scene *cam); -Scene *Scene_FromPyObject (PyObject *pyobj); -int Scene_CheckPyObject (PyObject *pyobj); +PyObject *Scene_Init( void ); +PyObject *Scene_CreatePyObject( Scene * cam ); +Scene *Scene_FromPyObject( PyObject * pyobj ); +int Scene_CheckPyObject( PyObject * pyobj ); -#endif /* EXPP_SCENE_H */ +#endif /* EXPP_SCENE_H */ |