implementation of lua_ref (previously in module `lmem').

This commit is contained in:
Roberto Ierusalimschy
1999-10-04 15:50:24 -02:00
parent dcc10accea
commit 1f7103e05d
2 changed files with 95 additions and 0 deletions

17
lref.h Normal file
View File

@@ -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