Update of /cvsroot/wxlua/wxLua/modules/wxlua/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7199/wxLua/modules/wxlua/include
Modified Files:
internal.h
Log Message:
update for wx26/27
Add bindings for builtin (global) functions
Handle %if statements for enums
Index: internal.h
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/internal.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** internal.h 18 Jun 2005 20:45:59 -0000 1.3
--- internal.h 17 Nov 2005 05:51:20 -0000 1.4
***************
*** 114,117 ****
--- 114,118 ----
typedef WXLUAEVENT* (*GetEventListFunction)(size_t &);
typedef WXLUAOBJECT* (*GetObjectListFunction)(size_t &);
+ typedef WXLUAMETHOD* (*GetBuiltinListFunction)(size_t &);
class WXDLLIMPEXP_WXLUA wxLuaBinding : public wxObject
***************
*** 128,131 ****
--- 129,133 ----
GetEventListFunction pfGetEventList;
GetObjectListFunction pfGetObjectList;
+ GetBuiltinListFunction pfGetBuiltinList;
// Registers binding
***************
*** 146,149 ****
--- 148,154 ----
WXLUAOBJECT* GetLuaObjectList() { return m_objectList; }
+ size_t GetLuaBuiltinCount() { return m_builtinCount; }
+ WXLUAMETHOD* GetLuaBuiltinList() { return m_builtinList; }
+
bool IsTag(int tag) { return (tag >= m_startTag && tag <= m_lastTag); }
***************
*** 166,169 ****
--- 171,176 ----
size_t m_objectCount;
WXLUAOBJECT* m_objectList;
+ size_t m_builtinCount;
+ WXLUAMETHOD* m_builtinList;
bool m_typesRegistered; // Is the binding registered
|