lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> 	; Have Lua to the heavy work of converting the type to a string for
> 	; us.  To do that, we obtain the Lua function tostring() on the

You can just call luaL_tolstring, which does the what tostring does.
(tostring is implemented using luaL_tolstring.)