lua-users home
lua-l archive

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


I should have been more specific.  I mean from C++.  I could do a
lua_getglobal(), then a lua_isnil(), then a lua_pop, but that seems a bit
cumbersome.

--jnw
----- Original Message -----
From: "Josh Jensen" <joshj@microsoft.com>
To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
Sent: Monday, November 26, 2001 4:01 PM
Subject: RE: Function Existence


> if functionName then
>     functionName()
> end
>
> -----Original Message-----
> From: Jens Wessling [mailto:wessling@soartech.com]
> Sent: Monday, November 26, 2001 1:52 PM
> To: Multiple recipients of list
> Subject: Function Existence
>
>
> Is there an easy way to tell if a function of a given name has been
> registered?
>
> --jnw
>
>