Update of /cvsroot/wxlua/wxLua/modules/wxbindstc/include
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv32575/wxLua/modules/wxbindstc/include
Modified Files:
wxbind.h
Log Message:
Change WXLUACLASS to keep a pointer to the base class's WXLUACLASS not it's tag
for faster lookup.
cleanup of the headers, more comments
Index: wxbind.h
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxbindstc/include/wxbind.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** wxbind.h 17 Dec 2006 07:47:16 -0000 1.17
--- wxbind.h 26 Feb 2007 01:57:05 -0000 1.18
***************
*** 1,8 ****
! // ----------------------------------------------------------------------------
// wxstc.h - headers and tags for wxLua binding
//
// This file was generated by genwxbind.lua
// Any changes made to this file may be lost when file is regenerated
! // ----------------------------------------------------------------------------
#ifndef __HOOK_WXLUA_wxstc_H__
--- 1,8 ----
! // ---------------------------------------------------------------------------
// wxstc.h - headers and tags for wxLua binding
//
// This file was generated by genwxbind.lua
// Any changes made to this file may be lost when file is regenerated
! // ---------------------------------------------------------------------------
#ifndef __HOOK_WXLUA_wxstc_H__
***************
*** 22,28 ****
#include "wxlua/include/wxlbind.h"
! #if WXLUA_BINDING_VERSION > 4
# error "The WXLUA_BINDING_VERSION in the bindings is too old, regenerate bindings."
! #endif //WXLUA_BINDING_VERSION > 4
// binding class
--- 22,33 ----
#include "wxlua/include/wxlbind.h"
! // ---------------------------------------------------------------------------
! // Check if the version of binding generator used to create this is older than
! // the current version of the bindings.
! // See 'bindings/genwxbind.lua' and 'modules/wxlua/include/wxldefs.h'
! #if WXLUA_BINDING_VERSION > 5
# error "The WXLUA_BINDING_VERSION in the bindings is too old, regenerate bindings."
! #endif //WXLUA_BINDING_VERSION > 5
! // ---------------------------------------------------------------------------
// binding class
***************
*** 46,59 ****
extern WXDLLIMPEXP_WXBINDSTC bool wxLuaBinding_wxstc_init();
! // ----------------------------------------------------------------------------
// Includes
! // ----------------------------------------------------------------------------
#include "wx/stc/stc.h"
! // ----------------------------------------------------------------------------
// Lua Tag Method Values for each Class
! // ----------------------------------------------------------------------------
extern WXDLLIMPEXP_DATA_WXBINDSTC(int) s_wxluatag_wxStyledTextCtrl;
--- 51,64 ----
extern WXDLLIMPEXP_WXBINDSTC bool wxLuaBinding_wxstc_init();
! // ---------------------------------------------------------------------------
// Includes
! // ---------------------------------------------------------------------------
#include "wx/stc/stc.h"
! // ---------------------------------------------------------------------------
// Lua Tag Method Values for each Class
! // ---------------------------------------------------------------------------
extern WXDLLIMPEXP_DATA_WXBINDSTC(int) s_wxluatag_wxStyledTextCtrl;
***************
*** 62,68 ****
! // ----------------------------------------------------------------------------
// Method Tables
! // ----------------------------------------------------------------------------
extern WXDLLIMPEXP_WXBINDSTC WXLUAMETHOD wxStyledTextCtrl_methods[];
--- 67,73 ----
! // ---------------------------------------------------------------------------
// Method Tables
! // ---------------------------------------------------------------------------
extern WXDLLIMPEXP_WXBINDSTC WXLUAMETHOD wxStyledTextCtrl_methods[];
***************
*** 73,79 ****
! // ----------------------------------------------------------------------------
// Encapsulation Declarations
! // ----------------------------------------------------------------------------
--- 78,84 ----
! // ---------------------------------------------------------------------------
// Encapsulation Declarations
! // ---------------------------------------------------------------------------
|