lua-users home
lua-l archive

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


Called on a number value, lua_objlen converts the stack entry to a
string, like lua_tostring, and returns the length of the resulting
string.  According to the documentation, this will just return 0,
with no mention of the stack being modified.  (In my opinion, the
documented behavior is more sensible.)

-- 
Glenn Maynard