Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Swaney <sswaney@centurytel.net>2004-09-26 00:30:40 +0400
committerStephen Swaney <sswaney@centurytel.net>2004-09-26 00:30:40 +0400
commita509b8adc9b8952cdb395c69406e821f57a9a6c7 (patch)
tree7c0e3c7b81007acc6b3e268e59a6af5fcb4bd93f /source/blender/python/api2_2x/logic.h
parentbd371ddb9ff947d4e598ad04af9402d89fa80d5e (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/logic.h')
-rw-r--r--source/blender/python/api2_2x/logic.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/source/blender/python/api2_2x/logic.h b/source/blender/python/api2_2x/logic.h
index cf4a1070bb2..dfd42f19b72 100644
--- a/source/blender/python/api2_2x/logic.h
+++ b/source/blender/python/api2_2x/logic.h
@@ -1,4 +1,5 @@
/*
+ * $Id$
*
* ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
*
@@ -35,23 +36,23 @@
#include "Python.h"
#include <DNA_property_types.h>
-//--------------------------Python BPy_Property structure definition.---------------------
-typedef struct{
- PyObject_HEAD
- //reference to property data if object linked
- bProperty *property;
+//--------------------------Python BPy_Property structure definition.----
+typedef struct {
+ PyObject_HEAD
+ //reference to property data if object linked
+ bProperty * property;
//list of vars that define the property
- char *name;
+ char *name;
PyObject *data;
short type;
-}BPy_Property;
+} BPy_Property;
-//------------------------------visible prototypes----------------------------------------------
-PyObject *Property_CreatePyObject (struct bProperty *prop);
-int Property_CheckPyObject (PyObject * py_obj);
-bProperty *Property_FromPyObject (PyObject * py_obj);
-PyObject * newPropertyObject (char *name, PyObject *data, int type);
-int updatePyProperty(BPy_Property *self);
-int updateProperyData(BPy_Property *self);
+//------------------------------visible prototypes-----------------------
+PyObject *Property_CreatePyObject( struct bProperty *prop );
+int Property_CheckPyObject( PyObject * py_obj );
+bProperty *Property_FromPyObject( PyObject * py_obj );
+PyObject *newPropertyObject( char *name, PyObject * data, int type );
+int updatePyProperty( BPy_Property * self );
+int updateProperyData( BPy_Property * self );
#endif