[Bf-blender-cvs] [4e75e30] depsgraph_refactor: Remove header guards from opcodes header

Joshua Leung noreply at git.blender.org
Wed Dec 17 04:41:13 CET 2014


Commit: 4e75e30d1704aaad2e8056d17c1c67118c40fa26
Author: Joshua Leung
Date:   Tue Dec 16 02:40:11 2014 +1300
Branches: depsgraph_refactor
https://developer.blender.org/rB4e75e30d1704aaad2e8056d17c1c67118c40fa26

Remove header guards from opcodes header

===================================================================

M	source/blender/depsgraph/intern/depsnode_opcodes.h

===================================================================

diff --git a/source/blender/depsgraph/intern/depsnode_opcodes.h b/source/blender/depsgraph/intern/depsnode_opcodes.h
index a4c9895..0dd2b6c 100644
--- a/source/blender/depsgraph/intern/depsnode_opcodes.h
+++ b/source/blender/depsgraph/intern/depsnode_opcodes.h
@@ -33,11 +33,10 @@
  * This file is meant to be used like UI_icons.h. That is, before including
  * the file, the host file must define the DEG_OPCODE(_label) macro, which
  * is responsible for converting the define into whatever form is suitable.
+ * Therefore, it intentionally doesn't have header guards.
  */
 
-#ifndef __DEPSNODE_OPCODES_H__
-#define __DEPSNODE_OPCODES_H__
-
+ 
 /* Example macro define: */
 /* #define DEF_DEG_OPCODE(label) DEG_OPCODE_##label, */
 
@@ -134,5 +133,3 @@ DEF_DEG_OPCODE(BONE_DONE)
 
 /* XXX: placeholder - Particle System eval */
 DEF_DEG_OPCODE(PSYS_EVAL)
-
-#endif /* __DEPSNODE_OPCODES_H__ */




More information about the Bf-blender-cvs mailing list