From: Mark G. <mgo...@us...> - 2006-10-06 03:21:59
|
Update of /cvsroot/swig/SWIG/Lib/lua In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv25687 Modified Files: lua.swg Log Message: [Lua] Fix #1569587. The name is now correct Index: lua.swg =================================================================== RCS file: /cvsroot/swig/SWIG/Lib/lua/lua.swg,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** lua.swg 4 Oct 2006 11:06:34 -0000 1.16 --- lua.swg 6 Oct 2006 03:21:53 -0000 1.17 *************** *** 165,170 **** { SWIG_LUA_FLOAT, (char *)"$symname", 0, (double) $value, 0, 0} ! %typemap(consttab) char * ! { SWIG_LUA_STRING, (char *)"$symname", 0, 0, (void *)"$value", 0} // note: char is treated as a seperate special type --- 165,170 ---- { SWIG_LUA_FLOAT, (char *)"$symname", 0, (double) $value, 0, 0} ! %typemap(consttab) char *, const char *, char [], const char [] ! { SWIG_LUA_STRING, (char *)"$symname", 0, 0, (void *)$value, 0} // note: char is treated as a seperate special type |