diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-10 00:46:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-10 00:46:38 +0300 |
commit | 5681631109852d1037cddafd60f39552f8ba3bbf (patch) | |
tree | 95fa7f3db88c7e3f52c42c8adeefe62a756ea9e0 /source/blender/blenkernel | |
parent | 69c8f0cc3b31301adc2a301f05e5bdb2c5916d08 (diff) |
Cleanup: ensure header guards come first
Causes clang-format not to detect header guards,
indenting all preprocessor lines in the header.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/BKE_multires.h | 4 | ||||
-rw-r--r-- | source/blender/blenkernel/BKE_particle.h | 4 | ||||
-rw-r--r-- | source/blender/blenkernel/BKE_subdiv.h | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenkernel/BKE_multires.h b/source/blender/blenkernel/BKE_multires.h index 190ee9e7270..bc01cc6b45c 100644 --- a/source/blender/blenkernel/BKE_multires.h +++ b/source/blender/blenkernel/BKE_multires.h @@ -163,6 +163,6 @@ BLI_INLINE void BKE_multires_construct_tangent_matrix( const float dPdv[3], const int corner); -#endif /* __BKE_MULTIRES_H__ */ - #include "intern/multires_inline.h" + +#endif /* __BKE_MULTIRES_H__ */ diff --git a/source/blender/blenkernel/BKE_particle.h b/source/blender/blenkernel/BKE_particle.h index 5a1241f1de2..ee8612c3d7b 100644 --- a/source/blender/blenkernel/BKE_particle.h +++ b/source/blender/blenkernel/BKE_particle.h @@ -483,11 +483,11 @@ void BKE_particle_settings_eval_reset( void BKE_particle_system_eval_init(struct Depsgraph *depsgraph, struct Object *object); -#endif - /* Draw Cache */ enum { BKE_PARTICLE_BATCH_DIRTY_ALL = 0, }; void BKE_particle_batch_cache_dirty_tag(struct ParticleSystem *psys, int mode); void BKE_particle_batch_cache_free(struct ParticleSystem *psys); + +#endif /* __BKE_PARTICLE_H__ */ diff --git a/source/blender/blenkernel/BKE_subdiv.h b/source/blender/blenkernel/BKE_subdiv.h index 70572d30819..352581c99d6 100644 --- a/source/blender/blenkernel/BKE_subdiv.h +++ b/source/blender/blenkernel/BKE_subdiv.h @@ -232,6 +232,6 @@ BLI_INLINE int BKE_subdiv_rotate_quad_to_corner( const float u, const float v, float *r_u, float *r_v); -#endif /* __BKE_SUBDIV_H__ */ - #include "intern/subdiv_inline.h" + +#endif /* __BKE_SUBDIV_H__ */ |