lua-users home
lua-l archive

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


On Friday 08, C++ RTMP Server wrote:
> Bottom line:
> Is there any lua api for further describe a LUA_TFUNCTION in greater
> detail? (parameters count, types, return type, etc)? Even if I have only
> parameters count is still better than nothing.

No, there is no way to get that info with the Lua C API.

Also function parameters have no type and there is no return type for a 
function.

Why are you trying to validate the parameters of a function?

Remember Lua is a dynamic language, don't try to enforce static typing.

-- 
Robert G. Jakabosky