How can I get the signature of a registered function
Román Montes Muñoz <[email protected]>
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <[email protected]> |
Hi everyone!
I'm trying to do an autocompleter like (Visual Studio IntelliSense) for
LUA but I have a problem, I can't obtain function signatures.
I do the following:
...
if(luabind::type(table) == LUA_TTABLE)
{
for(luabind::iterator i(table), end; i != end; ++i)
{
const luabind::object& key_obj = i.key();
const luabind::object& obj = *i;
...
switch(luabind::type(*i))
{
case LUA_FUNCTION:
...
...
}
}
...
Checking the LUA type of my luabind object obj, I can know if this is a
global variable, a function, a class, ... But I don't find a method or
something to obtain the signature in the case that the obj is a function.
Can anybody help me?
Thank you very much and sorry for my poor English!
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
luabind-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luabind-user