From: John L. <jr...@us...> - 2006-01-24 05:23:39
|
Update of /cvsroot/wxlua/wxLua/bindings In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16051/wxLua/bindings Modified Files: genwxbind.lua Log Message: allow for arbitrary C++ code in the binding header, used to #define wxUSE_WAVE for wx > 26 Index: genwxbind.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/genwxbind.lua,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** genwxbind.lua 23 Jan 2006 04:38:28 -0000 1.18 --- genwxbind.lua 24 Jan 2006 05:23:31 -0000 1.19 *************** *** 3467,3470 **** --- 3467,3474 ---- table.insert(fileData, "#include \"wxlua/include/internal.h\"\n\n") + if headerCPPCode then + table.insert(fileData, headerCPPCode.."\n") + end + if hook_bind_condition then table.insert(fileData, "#if "..hook_bind_condition.."\n\n") |