code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo...
[blender-staging.git] / source / gameengine / Expressions / EXP_C-Api.h
index 12fdc4945e7decad7659722989ffb2597cedddc4..d73b0a209d40dd45d47bb4644ddeb9afb02b8ca2 100644 (file)
@@ -1,6 +1,4 @@
-/**
- * $Id$
- *
+/*
  * ***** BEGIN GPL LICENSE BLOCK *****
  *
  * This program is free software; you can redistribute it and/or
  *
  * ***** END GPL LICENSE BLOCK *****
  */
-#ifndef __EXPRESSION_INCLUDE
-#define __EXPRESSION_INCLUDE
+
+/** \file EXP_C-Api.h
+ *  \ingroup expressions
+ */
+
+#ifndef __EXP_C_API_H__
+#define __EXP_C_API_H__
 
 #define EXP_DECLARE_HANDLE(name) typedef struct name##__ { int unused; } *name
 
@@ -50,7 +53,7 @@ extern void                                   EXP_ReleaseValue(EXP_ValueHandle);
 extern int                                     EXP_IsValid(EXP_ValueHandle);
 
 /* assign property 'propval' to 'destinationval' */
-extern void                                    EXP_SetProperty(EXP_ValueHandle propval,EXP_ValueHandle destinationval);
+extern void                                    EXP_SetProperty(EXP_ValueHandle destinationval, const char *propname, EXP_ValueHandle propval);
 
 /* returns NULL if property doesn't exist */
 extern EXP_ValueHandle         EXP_GetProperty(EXP_ValueHandle inval,const char* propname);
@@ -61,5 +64,4 @@ const char*                                   EXP_GetText(EXP_ValueHandle);
 }
 #endif
 
-#endif //__EXPRESSION_INCLUDE
-
+#endif  /* __EXP_C_API_H__ */