aboutsummaryrefslogtreecommitdiff
path: root/fallback.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-04-22 15:00:37 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-04-22 15:00:37 -0300
commit0ef5cf22891c9d34a88ccc5d89eb0ed82b004471 (patch)
tree1a095acefa978d5a41f32ff7d0fef58a642aa66c /fallback.h
parentfed9408ab51a4be5ff84450ad47d1e0cdaed97bc (diff)
downloadlua-0ef5cf22891c9d34a88ccc5d89eb0ed82b004471.tar.gz
lua-0ef5cf22891c9d34a88ccc5d89eb0ed82b004471.tar.bz2
lua-0ef5cf22891c9d34a88ccc5d89eb0ed82b004471.zip
lock mechanism seperseded by the REFERENCE mechanism.
Diffstat (limited to 'fallback.h')
-rw-r--r--fallback.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/fallback.h b/fallback.h
index 4ea72808..67620406 100644
--- a/fallback.h
+++ b/fallback.h
@@ -1,10 +1,11 @@
1/* 1/*
2** $Id: fallback.h,v 1.10 1995/10/17 11:52:38 roberto Exp roberto $ 2** $Id: fallback.h,v 1.11 1996/01/30 15:25:23 roberto Exp roberto $
3*/ 3*/
4 4
5#ifndef fallback_h 5#ifndef fallback_h
6#define fallback_h 6#define fallback_h
7 7
8#include "lua.h"
8#include "opcode.h" 9#include "opcode.h"
9 10
10extern struct FB { 11extern struct FB {
@@ -26,9 +27,10 @@ extern struct FB {
26#define FB_GETGLOBAL 9 27#define FB_GETGLOBAL 9
27 28
28void luaI_setfallback (void); 29void luaI_setfallback (void);
29int luaI_lock (Object *object); 30lua_Reference luaI_ref (Object *object, int lock);
30Object *luaI_getlocked (int ref); 31Object *luaI_getref (lua_Reference ref);
31void luaI_travlock (int (*fn)(Object *)); 32void luaI_travlock (int (*fn)(Object *));
33void luaI_invalidaterefs (void);
32char *luaI_travfallbacks (int (*fn)(Object *)); 34char *luaI_travfallbacks (int (*fn)(Object *));
33 35
34#endif 36#endif