aboutsummaryrefslogtreecommitdiff
path: root/lfunc.h
diff options
context:
space:
mode:
Diffstat (limited to 'lfunc.h')
-rw-r--r--lfunc.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/lfunc.h b/lfunc.h
index 385767a2..d7506f84 100644
--- a/lfunc.h
+++ b/lfunc.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lfunc.h,v 1.15 2001/02/23 17:17:25 roberto Exp $ 2** $Id: lfunc.h,v 1.16 2001/09/07 17:39:10 roberto Exp $
3** Auxiliary functions to manipulate prototypes and closures 3** Auxiliary functions to manipulate prototypes and closures
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -11,11 +11,6 @@
11#include "lobject.h" 11#include "lobject.h"
12 12
13 13
14#define luaF_isclosed(c, i) (!((c)->u.l.isopen & (1 << (i))))
15#define luaF_openentry(c, i) ((c)->u.l.isopen |= (1 << (i)))
16#define luaF_closeentry(c, i) ((c)->u.l.isopen &= ~(1 << (i)))
17
18
19Proto *luaF_newproto (lua_State *L); 14Proto *luaF_newproto (lua_State *L);
20Closure *luaF_newCclosure (lua_State *L, int nelems); 15Closure *luaF_newCclosure (lua_State *L, int nelems);
21Closure *luaF_newLclosure (lua_State *L, int nelems); 16Closure *luaF_newLclosure (lua_State *L, int nelems);