From a509b8adc9b8952cdb395c69406e821f57a9a6c7 Mon Sep 17 00:00:00 2001 From: Stephen Swaney Date: Sat, 25 Sep 2004 20:30:40 +0000 Subject: 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. --- source/blender/python/api2_2x/Image.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'source/blender/python/api2_2x/Image.h') diff --git a/source/blender/python/api2_2x/Image.h b/source/blender/python/api2_2x/Image.h index e758e924f53..384c28b9661 100644 --- a/source/blender/python/api2_2x/Image.h +++ b/source/blender/python/api2_2x/Image.h @@ -1,4 +1,5 @@ /* + * $Id$ * * ***** BEGIN GPL/BL DUAL LICENSE BLOCK ***** * @@ -40,21 +41,20 @@ /* Python BPy_Image structure definition */ /*****************************************************************************/ typedef struct { - PyObject_HEAD - Image *image; + PyObject_HEAD Image * image; } BPy_Image; -extern PyTypeObject Image_Type; /* The Image PyType Object */ +extern PyTypeObject Image_Type; /* The Image PyType Object */ -#define BPy_Image_Check(v) ((v)->ob_type == &Image_Type)/*for type checking*/ +#define BPy_Image_Check(v) ((v)->ob_type == &Image_Type) /*for type checking */ /*****************************************************************************/ /* Module Blender.Image - public functions */ /*****************************************************************************/ -PyObject *Image_Init (void); -PyObject *Image_CreatePyObject (Image *image); -int Image_CheckPyObject (PyObject *pyobj); -Image *Image_FromPyObject (PyObject *pyobj); +PyObject *Image_Init( void ); +PyObject *Image_CreatePyObject( Image * image ); +int Image_CheckPyObject( PyObject * pyobj ); +Image *Image_FromPyObject( PyObject * pyobj ); -#endif /* EXPP_IMAGE_H */ +#endif /* EXPP_IMAGE_H */ -- cgit v1.2.3