wxlbind.cpp File Reference

#include "wx/wxprec.h"
#include "wx/wx.h"
#include "wxlua/include/wxlbind.h"
#include "wxlua/include/wxlstate.h"
#include "wx/listimpl.cpp"
Include dependency graph for wxlbind.cpp:

Go to the source code of this file.

Classes

class  wxLuaSmartwxArrayStringRefData
class  wxLuaSmartwxSortedArrayStringRefData
class  wxLuaSmartwxArrayIntRefData

Functions

 WX_DEFINE_LIST (wxLuaBindingList)
static int LUACALL wxlua_tableErrorHandler (lua_State *L)
int LUACALL wxlua_userdata_delete (lua_State *L)
int LUACALL wxlua_wxLuaBindClass__gc (lua_State *L)
int LUACALL wxlua_wxLuaBindClass__index (lua_State *L)
int LUACALL wxlua_wxLuaBindClass__newindex (lua_State *L)
int LUACALL wxlua_wxLuaBindClass__tostring (lua_State *L)
int LUACALL wxlua_wxLuaBindMethod_table__call (lua_State *L)
int LUACALL wxlua_wxLuaBindMethod_table__index (lua_State *L)
int LUACALL wxlua_wxLuaBindMethod_table__newindex (lua_State *L)
int LUACALL wxlua_callOverloadedFunction (lua_State *L)
int LUACALL wxlua_callOverloadedFunction (lua_State *L, struct wxLuaBindMethod *wxlMethod)
wxString wxlua_getLuaArgsMsg (lua_State *L, int start_stack_idx, int end_stack_idx)
wxString wxlua_getBindMethodArgsMsg (lua_State *L, struct wxLuaBindMethod *wxlMethod)
int wxLuaBindEventArrayCompareFn (const void *p1, const void *p2)
int wxLuaBindNumberArrayCompareFn (const void *p1, const void *p2)
int wxLuaBindStringArrayCompareFn (const void *p1, const void *p2)
int wxLuaBindObjectArrayCompareFn (const void *p1, const void *p2)
int wxLuaBindMethodArrayCompareFnInit (const void *p1, const void *p2)
int wxLuaBindMethodArrayCompareFnGet (const void *p1, const void *p2)
int wxLuaBindClassArrayCompareFn (const void *p1, const void *p2)
int wxLuaBindClassArrayCompareBywxLuaType (const void *p1, const void *p2)
static void wxLuaBinding_RecurseBaseMethods (wxLuaBindClass *wxlClass, wxLuaBindMethod *wxlMethod, bool force_update)

Variables

const wxLuaSmartwxArrayString wxLuaNullSmartwxArrayString (NULL, true)
wxLuaArgType g_wxluaargtypeArray_None [1] = {0}
wxLuaBindNumber g_wxluanumberArray_None [1] = {{0, 0}}
int wxluatype_TNONE = 1
int wxluatype_TNIL = 2
int wxluatype_TBOOLEAN = 3
int wxluatype_TLIGHTUSERDATA = 4
int wxluatype_TNUMBER = 5
int wxluatype_TSTRING = 6
int wxluatype_TTABLE = 7
int wxluatype_TFUNCTION = 8
int wxluatype_TUSERDATA = 9
int wxluatype_TTHREAD = 10
int wxluatype_TINTEGER = 11
int wxluatype_TCFUNCTION = 12
int wxluatype_NULL = 13
wxLuaBindClass wxLuaBindClass_NULL
static int wxluatype_dummy = 0
int * p_wxluatype_wxEvent = &wxluatype_dummy
int * p_wxluatype_wxWindow = &wxluatype_dummy
int * p_wxluatype_wxString = &wxluatype_dummy
int * p_wxluatype_wxArrayString = &wxluatype_dummy
int * p_wxluatype_wxSortedArrayString = &wxluatype_dummy
int * p_wxluatype_wxArrayInt = &wxluatype_dummy

Function Documentation

WX_DEFINE_LIST ( wxLuaBindingList   ) 
int LUACALL wxlua_callOverloadedFunction ( lua_State *  L,
struct wxLuaBindMethod wxlMethod 
)
int LUACALL wxlua_callOverloadedFunction ( lua_State *  L  ) 
wxString wxlua_getBindMethodArgsMsg ( lua_State *  L,
struct wxLuaBindMethod wxlMethod 
)
wxString wxlua_getLuaArgsMsg ( lua_State *  L,
int  start_stack_idx,
int  end_stack_idx 
)

Definition at line 791 of file wxlbind.cpp.

References lua2wx(), and wxluaT_gettypename().

Referenced by wxlua_argerrormsg(), and wxlua_callOverloadedFunction().

static int LUACALL wxlua_tableErrorHandler ( lua_State *  L  )  [static]

Definition at line 282 of file wxlbind.cpp.

References wxlua_error().

int LUACALL wxlua_userdata_delete ( lua_State *  L  ) 
int LUACALL wxlua_wxLuaBindClass__gc ( lua_State *  L  ) 
int LUACALL wxlua_wxLuaBindClass__index ( lua_State *  L  ) 
int LUACALL wxlua_wxLuaBindClass__newindex ( lua_State *  L  ) 
int LUACALL wxlua_wxLuaBindClass__tostring ( lua_State *  L  ) 
int LUACALL wxlua_wxLuaBindMethod_table__call ( lua_State *  L  ) 

Definition at line 567 of file wxlbind.cpp.

References wxlua_callOverloadedFunction().

Referenced by wxLuaBinding::InstallClass().

int LUACALL wxlua_wxLuaBindMethod_table__index ( lua_State *  L  ) 
int LUACALL wxlua_wxLuaBindMethod_table__newindex ( lua_State *  L  ) 
int wxLuaBindClassArrayCompareBywxLuaType ( const void *  p1,
const void *  p2 
)

Definition at line 946 of file wxlbind.cpp.

Referenced by wxLuaBinding::GetBindClass().

int wxLuaBindClassArrayCompareFn ( const void *  p1,
const void *  p2 
)

Definition at line 941 of file wxlbind.cpp.

Referenced by wxLuaBinding::GetBindClass(), and wxLuaBinding::InitBinding().

int wxLuaBindEventArrayCompareFn ( const void *  p1,
const void *  p2 
)

Definition at line 890 of file wxlbind.cpp.

Referenced by wxLuaBinding::GetBindEvent(), and wxLuaBinding::InitBinding().

static void wxLuaBinding_RecurseBaseMethods ( wxLuaBindClass wxlClass,
wxLuaBindMethod wxlMethod,
bool  force_update 
) [static]
int wxLuaBindMethodArrayCompareFnGet ( const void *  p1,
const void *  p2 
)

Definition at line 925 of file wxlbind.cpp.

References WXLUAMETHOD_SEARCH_MASK.

Referenced by wxLuaBinding::GetClassMethod().

int wxLuaBindMethodArrayCompareFnInit ( const void *  p1,
const void *  p2 
)

Definition at line 910 of file wxlbind.cpp.

References WXLUAMETHOD_SORT_MASK.

Referenced by wxLuaBinding::InitBinding().

int wxLuaBindNumberArrayCompareFn ( const void *  p1,
const void *  p2 
)

Definition at line 895 of file wxlbind.cpp.

Referenced by wxLuaBinding::InitBinding().

int wxLuaBindObjectArrayCompareFn ( const void *  p1,
const void *  p2 
)

Definition at line 905 of file wxlbind.cpp.

Referenced by wxLuaBinding::InitBinding().

int wxLuaBindStringArrayCompareFn ( const void *  p1,
const void *  p2 
)

Definition at line 900 of file wxlbind.cpp.

Referenced by wxLuaBinding::InitBinding().


Variable Documentation

Definition at line 31 of file wxlbind.cpp.

Definition at line 32 of file wxlbind.cpp.

Referenced by wxLuaGetClassList_wxlua(), and wxLuaGetClassList_wxluasocket().

Definition at line 58 of file wxlbind.cpp.

Definition at line 56 of file wxlbind.cpp.

Definition at line 53 of file wxlbind.cpp.

Referenced by wxLuaEventCallback::OnEvent().

Definition at line 57 of file wxlbind.cpp.

Definition at line 54 of file wxlbind.cpp.

Referenced by wxluaT_pushuserdatatype().

Initial value:
    { "NULL", NULL, 0, NULL, &wxluatype_NULL, NULL, NULL, g_wxluanumberArray_None, 0, }

Definition at line 49 of file wxlbind.cpp.

Referenced by wxLuaState::Create().

int wxluatype_dummy = 0 [static]

Definition at line 52 of file wxlbind.cpp.

int wxluatype_NULL = 13

Definition at line 36 of file wxlbind.cpp.

Definition at line 45 of file wxlbind.cpp.

Definition at line 41 of file wxlbind.cpp.

Definition at line 44 of file wxlbind.cpp.

Definition at line 37 of file wxlbind.cpp.

int wxluatype_TNIL = 2

Definition at line 35 of file wxlbind.cpp.

int wxluatype_TNONE = 1

Definition at line 34 of file wxlbind.cpp.

Definition at line 38 of file wxlbind.cpp.

Definition at line 39 of file wxlbind.cpp.

Definition at line 40 of file wxlbind.cpp.

Definition at line 43 of file wxlbind.cpp.

Definition at line 42 of file wxlbind.cpp.

Generated on Tue Jul 13 10:30:39 2010 for wxLua by  doxygen 1.6.3