From: John L. <jr...@us...> - 2007-12-07 06:45:15
|
Update of /cvsroot/wxlua/wxLua/apps/wxluacan/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv26745/wxLua/apps/wxluacan/src Modified Files: wxluacan.cpp Log Message: Rename wxlua_getwxstringtype wxlua_getwxStringtype to match other funcs. Fix bug (from w/ last commit) of using wrong key/value indexes in lua_next() loop Index: wxluacan.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/apps/wxluacan/src/wxluacan.cpp,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** wxluacan.cpp 7 Dec 2007 02:13:09 -0000 1.34 --- wxluacan.cpp 7 Dec 2007 06:44:40 -0000 1.35 *************** *** 291,295 **** wxlCanObjScript *returns; // const wxString name ! const wxString name = wxlua_getwxstringtype(L, 3); // double y double y = (double)wxlua_getnumbertype(L, 2); --- 291,295 ---- wxlCanObjScript *returns; // const wxString name ! const wxString name = wxlua_getwxStringtype(L, 3); // double y double y = (double)wxlua_getnumbertype(L, 2); *************** *** 329,333 **** { // const wxString script ! const wxString script = wxlua_getwxstringtype(L, 2); // get this wxlCanObjAddScript * self = (wxlCanObjAddScript *)wxluaT_getuserdatatype(L, 1, s_wxluatag_wxlCanObjAddScript); --- 329,333 ---- { // const wxString script ! const wxString script = wxlua_getwxStringtype(L, 2); // get this wxlCanObjAddScript * self = (wxlCanObjAddScript *)wxluaT_getuserdatatype(L, 1, s_wxluatag_wxlCanObjAddScript); *************** *** 347,351 **** wxlCanObjAddScript *returns; // const wxString script ! const wxString script = wxlua_getwxstringtype(L, 3); // double y double y = (double)wxlua_getnumbertype(L, 2); --- 347,351 ---- wxlCanObjAddScript *returns; // const wxString script ! const wxString script = wxlua_getwxStringtype(L, 3); // double y double y = (double)wxlua_getnumbertype(L, 2); |