From 1f7103e05d01a6a4c300a73bcfc8d9b17b2c20a4 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 4 Oct 1999 15:50:24 -0200 Subject: implementation of lua_ref (previously in module `lmem'). --- lref.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lref.h (limited to 'lref.h') diff --git a/lref.h b/lref.h new file mode 100644 index 00000000..60e14e85 --- /dev/null +++ b/lref.h @@ -0,0 +1,17 @@ +/* +** $Id: $ +** REF mechanism +** See Copyright Notice in lua.h +*/ + +#ifndef lref_h +#define lref_h + +#include "lobject.h" + +int luaR_ref (const TObject *o, int lock); +const TObject *luaR_getref (int ref); +void luaR_invalidaterefs (void); + + +#endif -- cgit v1.2.3-55-g6feb