new function 'lua_setallocf'

This commit is contained in:
Roberto Ierusalimschy
2005-09-20 14:55:10 -03:00
parent bf96d3fdd9
commit d8f1cca16e
3 changed files with 18 additions and 4 deletions

3
lua.h
View File

@@ -1,5 +1,5 @@
/*
** $Id: lua.h,v 1.211 2005/08/12 13:34:15 roberto Exp roberto $
** $Id: lua.h,v 1.212 2005/08/25 20:02:08 roberto Exp roberto $
** Lua - An Extensible Extension Language
** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
** See Copyright Notice at the end of this file
@@ -239,6 +239,7 @@ 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);
LUA_API void lua_setallocf (lua_State *L, lua_Alloc f, void *ud);