diff options
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.h,v 2.26 2009/06/17 17:48:34 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 2.27 2009/06/18 16:36:40 roberto Exp roberto $ |
3 | ** Type definitions for Lua objects | 3 | ** Type definitions for Lua objects |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -312,6 +312,7 @@ typedef union Closure { | |||
312 | #define iscfunction(o) (ttype(o) == LUA_TFUNCTION && clvalue(o)->c.isC) | 312 | #define iscfunction(o) (ttype(o) == LUA_TFUNCTION && clvalue(o)->c.isC) |
313 | #define isLfunction(o) (ttype(o) == LUA_TFUNCTION && !clvalue(o)->c.isC) | 313 | #define isLfunction(o) (ttype(o) == LUA_TFUNCTION && !clvalue(o)->c.isC) |
314 | 314 | ||
315 | #define getproto(o) (clvalue(o)->l.p) | ||
315 | 316 | ||
316 | /* | 317 | /* |
317 | ** Tables | 318 | ** Tables |