[vlc-devel] [PATCH] Return LUA "nul" when vlc.strings.from_charset returns error
Antoine Cellerier
dionoea at videolan.org
Tue Jan 10 17:41:49 CET 2012
You could also call lua_error()/luaL_error() in order to give some
feedback to the user when the conversion fails. (If any meaningful
feedback is available) Or maybe push a string as a second return value
with the error message, kind of like coroutine.resume().
(This was just a message to point out available options, I don't really
care about the solution you choose :) )
--
Antoine Cellerier
dionoea
More information about the vlc-devel
mailing list