From: John L. <jr...@us...> - 2006-07-24 20:26:18
|
Update of /cvsroot/wxlua/wxLua/bindings In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv21989/wxLua/bindings Modified Files: genwxbind.lua Log Message: made error messages more descriptive Index: genwxbind.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/genwxbind.lua,v retrieving revision 1.75 retrieving revision 1.76 diff -C2 -d -r1.75 -r1.76 *** genwxbind.lua 12 Jun 2006 03:50:35 -0000 1.75 --- genwxbind.lua 24 Jul 2006 20:26:10 -0000 1.76 *************** *** 61,72 **** ------------------------------------------------------------------------------- function CheckRules() ! assert(type(interface_filepath) == "string", "interface_filepath is not a string") ! assert(type(output_cpp_filepath) == "string", "output_cpp_filepath is not a string") ! assert(type(output_cpp_header_filepath) == "string", "output_cpp_header_filepath is not a string") ! assert(type(output_cpp_impexpsymbol) == "string", "output_cpp_impexpsymbol is not a string") ! assert(type(output_cpp_impexpdatasymbol) == "string", "output_cpp_impexpdatasymbol is not a string") ! assert(type(hook_lua_namespace) == "string", "hook_lua_namespace is not a string") ! assert(type(hook_cpp_namespace) == "string", "hook_cpp_namespace is not a string") end --- 61,72 ---- ------------------------------------------------------------------------------- function CheckRules() ! assert(type(interface_filepath) == "string", "Rules file ERROR: 'interface_filepath' is not a string") ! assert(type(output_cpp_filepath) == "string", "Rules file ERROR: 'output_cpp_filepath' is not a string") ! assert(type(output_cpp_header_filepath) == "string", "Rules file ERROR: 'output_cpp_header_filepath' is not a string") ! assert(type(output_cpp_impexpsymbol) == "string", "Rules file ERROR: 'output_cpp_impexpsymbol' is not a string") ! assert(type(output_cpp_impexpdatasymbol) == "string", "Rules file ERROR: 'output_cpp_impexpdatasymbol' is not a string") ! assert(type(hook_lua_namespace) == "string", "Rules file ERROR: 'hook_lua_namespace' is not a string") ! assert(type(hook_cpp_namespace) == "string", "Rules file ERROR: 'hook_cpp_namespace' is not a string") end |