From: John L. <jr...@us...> - 2006-05-02 22:46:57
|
Update of /cvsroot/wxlua/wxLua/modules/lua/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23730/wxLua/modules/lua/include Modified Files: luathread.h Log Message: rename coroutine tracking functions luaX_ to wxLua_lua_ to make them more obvious slight cleanup otherwise Index: luathread.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/lua/include/luathread.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** luathread.h 6 Jun 2005 23:06:15 -0000 1.1 --- luathread.h 2 May 2006 22:46:53 -0000 1.2 *************** *** 2,14 **** #define luathread_h ! typedef void (* newthread_handler)(lua_State *L, lua_State *NL); ! LUA_API void luaX_setnewthreadhandler( newthread_handler handler ); ! LUA_API newthread_handler luaX_getnewthreadhandler(); ! typedef void (* freethread_handler)(lua_State *L, lua_State *NL); ! LUA_API void luaX_setfreethreadhandler( freethread_handler handler ); ! LUA_API freethread_handler luaX_getfreethreadhandler(); #endif --- 2,14 ---- #define luathread_h ! typedef void (* wxlua_newthread_handler)(lua_State *L, lua_State *NL); ! LUA_API void wxLua_lua_setnewthreadhandler( wxlua_newthread_handler handler ); ! LUA_API wxlua_newthread_handler wxLua_lua_getnewthreadhandler(); ! typedef void (* wxlua_freethread_handler)(lua_State *L, lua_State *NL); ! LUA_API void wxLua_lua_setfreethreadhandler( wxlua_freethread_handler handler ); ! LUA_API wxlua_freethread_handler wxLua_lua_getfreethreadhandler(); #endif |