Update of /cvsroot/wxlua/wxLua/modules/wxlua/include
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv17364/wxLua/modules/wxlua/include
Modified Files:
wxldefs.h
Log Message:
Add version #define for bindings to tell people to regenerate them
Index: wxldefs.h
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxldefs.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** wxldefs.h 7 Dec 2006 06:32:44 -0000 1.8
--- wxldefs.h 13 Dec 2006 00:27:57 -0000 1.9
***************
*** 40,43 ****
--- 40,54 ----
(WXLUA_MAJOR_VERSION == (major) && WXLUA_MINOR_VERSION == (minor) && WXLUA_RELEASE_VERSION >= (release)))
+ //-----------------------------------------------------------------------------
+ // This is an internal use binding generator version whos number is
+ // incremented every time something changes that requires a regeneration
+ // of the bindings. The check is written into the generated bindings to
+ // give a compile time error.
+ // If this number is incremented the variable by the same name must be updated
+ // in genwxbind.lua must be updated as well.
+ //-----------------------------------------------------------------------------
+
+ #define WXLUA_BINDING_VERSION 1
+
// ----------------------------------------------------------------------------
// If you're using stdcall in Lua, then override this with
|