lua-users home
lua-l archive

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


Hi, suppose I compile the code below via luaL_loadbuffer and subsequent lua_pcall calls.

function foo(n)
  return someundefined_func(1, n)
end


Is it possible to know somehow that foo calls someundefined_func which accepts 2 arguments?
In other words, is there an API that allows querying referenced symbols and in the case of functions - their signatures?


--
Best regards,
     Roman