From: John L. <jr...@us...> - 2007-12-05 05:54:16
|
Update of /cvsroot/wxlua/wxLua/bindings/wxlua In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv20622/wxLua/bindings/wxlua Modified Files: override.hpp Log Message: Rename wxLuaBinding/wxLuaState::GetLuaClass() to GetBindClass() since it gets the wxLuaBindClass struct Moved the code for searching the binding classes to static functions of wxLuaBinding to keep the code together with the wxLuaBinding class Index: override.hpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxlua/override.hpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** override.hpp 5 Dec 2007 00:34:44 -0000 1.9 --- override.hpp 5 Dec 2007 05:54:11 -0000 1.10 *************** *** 265,269 **** else if (strcmp(idx_str, "class") == 0) { ! const wxLuaBindClass* c = wxlBinding->GetLuaClass(wxlCFunc); if (c != NULL) { --- 265,269 ---- else if (strcmp(idx_str, "class") == 0) { ! const wxLuaBindClass* c = wxlBinding->GetBindClass(wxlCFunc); if (c != NULL) { *************** *** 282,286 **** else if (strcmp(idx_str, "class_name") == 0) { ! const wxLuaBindClass* c = wxlBinding->GetLuaClass(wxlCFunc); if (c != NULL) { --- 282,286 ---- else if (strcmp(idx_str, "class_name") == 0) { ! const wxLuaBindClass* c = wxlBinding->GetBindClass(wxlCFunc); if (c != NULL) { *************** *** 370,374 **** else if (strcmp(idx_str, "class") == 0) { ! const wxLuaBindClass* c = wxlBinding->GetLuaClass(wxlMethod); if (c != NULL) { --- 370,374 ---- else if (strcmp(idx_str, "class") == 0) { ! const wxLuaBindClass* c = wxlBinding->GetBindClass(wxlMethod); if (c != NULL) { *************** *** 387,391 **** else if (strcmp(idx_str, "class_name") == 0) { ! const wxLuaBindClass* c = wxlBinding->GetLuaClass(wxlMethod); if (c != NULL) { --- 387,391 ---- else if (strcmp(idx_str, "class_name") == 0) { ! const wxLuaBindClass* c = wxlBinding->GetBindClass(wxlMethod); if (c != NULL) { *************** *** 467,471 **** if (wxlClass->classInfo) { ! const wxLuaBindClass* classInfoClass = wxlState.GetLuaClass("wxClassInfo"); if (classInfoClass) { --- 467,471 ---- if (wxlClass->classInfo) { ! const wxLuaBindClass* classInfoClass = wxlState.GetBindClass("wxClassInfo"); if (classInfoClass) { |