Update of /cvsroot/wxlua/wxLua/apps/wxlua/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9956/wxLua/apps/wxlua/src
Modified Files:
Makefile wxlua.cpp
Log Message:
Fix Makefiles to use wx-config --exec-prefix for lib dir
remove wxLiaCheckRunError, make CheckRunError static in wxLuaState
Capitalize all functions in genwxbind.lua, provide means to dump data types
wxGetFreeMemory depends on wxLongLong in 2.6, rem out until solution found
comment wx.rules and give better names to variables
move garbageCollect, setTableFunc, getTableFunc to wxlbind.cpp from internal.cpp rename to wxLua_lua_XXX
move callFunction from internal.cpp to wxlstate.cpp prepend with wxLua_lua_XXX
Index: wxlua.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/apps/wxlua/src/wxlua.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** wxlua.cpp 5 Dec 2005 06:11:14 -0000 1.10
--- wxlua.cpp 12 Dec 2005 05:16:31 -0000 1.11
***************
*** 147,151 ****
int rc = RunEditor();
! fOk = wxLuaCheckRunError(rc, &errorStr);
if (!fOk)
DisplayError(errorStr);
--- 147,151 ----
int rc = RunEditor();
! fOk = wxLuaState::CheckRunError(rc, &errorStr);
if (!fOk)
DisplayError(errorStr);
***************
*** 190,194 ****
int rc = RunEditor();
! fOk = wxLuaCheckRunError(rc, &errorStr);
if (!fOk)
DisplayError(errorStr);
--- 190,194 ----
int rc = RunEditor();
! fOk = wxLuaState::CheckRunError(rc, &errorStr);
if (!fOk)
DisplayError(errorStr);
***************
*** 210,214 ****
int rc = RunEditor();
! fOk = wxLuaCheckRunError(rc, &errorStr);
if (!fOk)
DisplayError(errorStr);
--- 210,214 ----
int rc = RunEditor();
! fOk = wxLuaState::CheckRunError(rc, &errorStr);
if (!fOk)
DisplayError(errorStr);
***************
*** 275,279 ****
int rc = RunEditor();
! fOk = wxLuaCheckRunError(rc, &errorStr);
if (!fOk)
DisplayError(errorStr);
--- 275,279 ----
int rc = RunEditor();
! fOk = wxLuaState::CheckRunError(rc, &errorStr);
if (!fOk)
DisplayError(errorStr);
Index: Makefile
===================================================================
RCS file: /cvsroot/wxlua/wxLua/apps/wxlua/src/Makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** Makefile 29 Nov 2005 05:45:09 -0000 1.8
--- Makefile 12 Dec 2005 05:16:31 -0000 1.9
***************
*** 21,24 ****
--- 21,25 ----
WXCONFIG := wx-config
WXPREFIX = $(shell $(WXCONFIG) --prefix)
+ WXEXECDIR = $(shell $(WXCONFIG) --exec-prefix)
WXBASENAME = $(shell $(WXCONFIG) --basename)
WXVERSION = $(shell $(WXCONFIG) --version)
***************
*** 27,31 ****
WXLDLIBS = $(shell $(WXCONFIG) --libs)
WXCXX = $(shell $(WXCONFIG) --cxx)
! WXLIB_DIR = $(WXPREFIX)/lib
# ----------------------------------------------------------------------------
--- 28,32 ----
WXLDLIBS = $(shell $(WXCONFIG) --libs)
WXCXX = $(shell $(WXCONFIG) --cxx)
! WXLIB_DIR = $(WXEXECDIR)/lib
# ----------------------------------------------------------------------------
***************
*** 45,49 ****
WXFL_LIB = $(WXBASENAME)_fl-$(WXRELEASE)
! APPEXTRADEFS=-I$(WXLUA_DIR)/modules -I$(WXPREFIX)/contrib/include -fexceptions -DLUACALL=
# This will build a static wxLua app, staticly linked to .a libs
--- 46,50 ----
WXFL_LIB = $(WXBASENAME)_fl-$(WXRELEASE)
! APPEXTRADEFS = -I$(WXLUA_DIR)/modules -I$(WXPREFIX)/contrib/include -fexceptions -DLUACALL=
# This will build a static wxLua app, staticly linked to .a libs
|