code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo...
[blender-staging.git] / source / gameengine / Expressions / EXP_C-Api.h
index 6be1e57481c01c70a9e30f253aad1c4e4b7cf0dc..d73b0a209d40dd45d47bb4644ddeb9afb02b8ca2 100644 (file)
@@ -53,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);
@@ -64,5 +64,4 @@ const char*                                   EXP_GetText(EXP_ValueHandle);
 }
 #endif
 
-#endif //__EXP_C_API_H__
-
+#endif  /* __EXP_C_API_H__ */