04-06-2017, 12:25 AM
That's a general problem with ToLua++, whenever there's an API function that takes a "const AString &" parameter, ToLua++ generates bindings that return the string parameter as an extra return value. The proper way to fix it is to export the function manually.