lua-users home
lua-l archive

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


On Fri, Nov 22, 2013 at 4:33 PM, Andrew Starks <andrew.starks@trms.com> wrote:
> Is there a better way with the way the C API? Or is the answer, "Welcome to C!"

I'd use lua_objlen() [1].

[1] http://www.lua.org/manual/5.1/manual.html#lua_objlen

Regards,
-- 
Lourival Vieira Neto