From 03bab90303270534ba6a415b5379d4659757082d Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 20 Oct 2003 10:25:23 -0200 Subject: new function `lua_getallocf' to retrieve allocation function and data --- lua.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lua.h') diff --git a/lua.h b/lua.h index 04f83578..ee932062 100644 --- a/lua.h +++ b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.181 2003/10/10 12:57:55 roberto Exp roberto $ +** $Id: lua.h,v 1.182 2003/10/10 13:29:08 roberto Exp roberto $ ** Lua - An Extensible Extension Language ** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil ** http://www.lua.org mailto:info@lua.org @@ -239,6 +239,8 @@ LUA_API int lua_next (lua_State *L, int idx); LUA_API void lua_concat (lua_State *L, int n); +LUA_API lua_Alloc lua_getallocf (lua_State *L, void **ud); + /* -- cgit v1.2.3-55-g6feb