diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-28 13:08:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-28 13:17:58 +0300 |
commit | c0f88ed8a860026e32ec6a06287fcf9394b4cf0a (patch) | |
tree | 65a06f6b9b22c85a80f2d64069d36f435eeb97aa /source/blender/python | |
parent | d473d5be5f59ed2cdd8e7b08feabcf7d9b8a8b5b (diff) |
Cleanup: sort forward declarations of enum & struct
Done using:
source/tools/utils_maintenance/c_sort_blocks.py
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/BPY_extern.h | 12 | ||||
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types_meshdata.h | 4 | ||||
-rw-r--r-- | source/blender/python/generic/idprop_py_api.h | 2 | ||||
-rw-r--r-- | source/blender/python/intern/bpy_gizmo_wrap.h | 2 |
4 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/python/BPY_extern.h b/source/blender/python/BPY_extern.h index 5a2f15405c1..cadfaf365c2 100644 --- a/source/blender/python/BPY_extern.h +++ b/source/blender/python/BPY_extern.h @@ -32,19 +32,19 @@ #ifndef __BPY_EXTERN_H__ #define __BPY_EXTERN_H__ -struct PathResolvedRNA; -struct Text; /* defined in DNA_text_types.h */ -struct ID; /* DNA_ID.h */ -struct Object; /* DNA_object_types.h */ struct ChannelDriver; /* DNA_anim_types.h */ +struct ID; /* DNA_ID.h */ struct ListBase; /* DNA_listBase.h */ +struct Object; /* DNA_object_types.h */ +struct PathResolvedRNA; +struct ReportList; +struct Text; /* defined in DNA_text_types.h */ struct bConstraint; /* DNA_constraint_types.h */ -struct bPythonConstraint; /* DNA_constraint_types.h */ struct bConstraintOb; /* DNA_constraint_types.h */ struct bConstraintTarget; /* DNA_constraint_types.h*/ struct bContext; struct bContextDataResult; -struct ReportList; +struct bPythonConstraint; /* DNA_constraint_types.h */ #ifdef __cplusplus extern "C" { diff --git a/source/blender/python/bmesh/bmesh_py_types_meshdata.h b/source/blender/python/bmesh/bmesh_py_types_meshdata.h index c8ae2596f99..7f20f94f250 100644 --- a/source/blender/python/bmesh/bmesh_py_types_meshdata.h +++ b/source/blender/python/bmesh/bmesh_py_types_meshdata.h @@ -40,9 +40,9 @@ typedef struct BPy_BMGenericMeshData { void *data; } BPy_BMGenericMeshData; -struct MLoopUV; -struct MLoopCol; struct MDeformVert; +struct MLoopCol; +struct MLoopUV; struct MVertSkin; int BPy_BMLoopUV_AssignPyObject(struct MLoopUV *data, PyObject *value); diff --git a/source/blender/python/generic/idprop_py_api.h b/source/blender/python/generic/idprop_py_api.h index 279dad40456..89fc05cb540 100644 --- a/source/blender/python/generic/idprop_py_api.h +++ b/source/blender/python/generic/idprop_py_api.h @@ -28,9 +28,9 @@ #ifndef __IDPROP_PY_API_H__ #define __IDPROP_PY_API_H__ +struct BPy_IDGroup_Iter; struct ID; struct IDProperty; -struct BPy_IDGroup_Iter; extern PyTypeObject BPy_IDArray_Type; extern PyTypeObject BPy_IDGroup_Iter_Type; diff --git a/source/blender/python/intern/bpy_gizmo_wrap.h b/source/blender/python/intern/bpy_gizmo_wrap.h index 96f15312a4e..3306c95f4c1 100644 --- a/source/blender/python/intern/bpy_gizmo_wrap.h +++ b/source/blender/python/intern/bpy_gizmo_wrap.h @@ -25,8 +25,8 @@ #ifndef __BPY_GIZMO_WRAP_H__ #define __BPY_GIZMO_WRAP_H__ -struct wmGizmoType; struct wmGizmoGroupType; +struct wmGizmoType; /* exposed to rna/wm api */ void BPY_RNA_gizmo_wrapper(struct wmGizmoType *gzt, void *userdata); |