John Labenski wrote: > I've added the ability to wrap the <<, >>, ~, operators in CVS. > I tested it, but i still get the same errors in C++. I think a name like this is not allowed, if i change << in say _ss, this lines at least compiles. wxLuaArgType s_wxluatypeArray_wxLua_a2dIOHandlerXMLWrite_operator<<
Here the error and the code.i \..\..\wxArt2D\modules\luawraps\src\xmlparse.cpp(507) : error C2143: syntax error : missing ';' before '<<' ..\..\..\..\wxArt2D\modules\luawraps\src\xmlparse.cpp(507) : error C2143: syntax error : missing ';' before '{' ..\..\..\..\wxArt2D\modules\luawraps\src\xmlparse.cpp(507) : error C2447: '{' : missing function header (old-style formal list?) static wxLuaArgType s_wxluatypeArray_wxLua_a2dIOHandlerXMLWrite_operator<<[] = { &wxluatype_a2dIOHandlerXMLWrite, &wxluatype_TLIGHTUSERDATA, NULL }; %class %noclassinfo a2dIOHandlerXMLWrite, a2dIOHandlerStrOut a2dIOHandlerXMLWrite& operator<<(const wxInt16 & c) %endclass ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users