Update of /cvsroot/wxlua/wxLua/modules/wxlua/src
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv32141/wxLua/modules/wxlua/src
Modified Files:
wxlbind.cpp wxlstate.cpp
Log Message:
Use GetCount not Count for wxArrays
have wxLuaDebugData return the array as a pointer since it may not exist and add checks for it
Rename wxLua socket enums so they start with wxLUASOCKET_XXX
Removed wxLuaBuffer and just use wxArrayString instead
Use wxInt32 wxUint32 for wxLuaSocket code not int, short, etc for 64 bit processors
rework all wxLuaSocketBase::Read/Write code
Index: wxlstate.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/src/wxlstate.cpp,v
retrieving revision 1.75
retrieving revision 1.76
diff -C2 -d -r1.75 -r1.76
*** wxlstate.cpp 4 Sep 2006 17:54:01 -0000 1.75
--- wxlstate.cpp 13 Sep 2006 04:13:46 -0000 1.76
***************
*** 845,849 ****
lua_newtable(L);
! size_t idx, count = strArray.Count();
for (idx = 0; idx < count; ++idx)
{
--- 845,849 ----
lua_newtable(L);
! size_t idx, count = strArray.GetCount();
for (idx = 0; idx < count; ++idx)
{
***************
*** 858,862 ****
lua_newtable(L);
! size_t idx, count = intArray.Count();
for (idx = 0; idx < count; ++idx)
{
--- 858,862 ----
lua_newtable(L);
! size_t idx, count = intArray.GetCount();
for (idx = 0; idx < count; ++idx)
{
Index: wxlbind.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/src/wxlbind.cpp,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** wxlbind.cpp 28 Aug 2006 05:26:20 -0000 1.38
--- wxlbind.cpp 13 Sep 2006 04:13:46 -0000 1.39
***************
*** 129,133 ****
lua_newtable(L);
! size_t idx, count = m_arrayInt.Count();
for (idx = 0; idx < count; ++idx)
{
--- 129,133 ----
lua_newtable(L);
! size_t idx, count = m_arrayInt.GetCount();
for (idx = 0; idx < count; ++idx)
{
|