lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
reflection in lua
From
: Roman Gershman <romange@
...
>
Date
: Tue, 8 Feb 2022 17:50:24 +0200
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
Follow-Ups
:
Re: reflection in lua
,
Marcus Mason
Re: reflection in lua
,
Petri Häkkinen
Prev by Date:
Re: Protecting upvalues / env via C API
Next by Date:
Re: reflection in lua
Previous by thread:
Re: Protecting upvalues / env via C API
Next by thread:
Re: reflection in lua
Index(es):
Date
Thread