diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-07-05 11:31:20 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-07-05 11:31:20 -0300 |
commit | ee1edd5734ba27b9927198a61de5f3f26094263a (patch) | |
tree | 03b4bdac3900f3e3b565f01c19ba48fab118180f /lapi.c | |
parent | 8efb44b5e046fd1ba671f489b3b996ff97386165 (diff) | |
download | lua-ee1edd5734ba27b9927198a61de5f3f26094263a.tar.gz lua-ee1edd5734ba27b9927198a61de5f3f26094263a.tar.bz2 lua-ee1edd5734ba27b9927198a61de5f3f26094263a.zip |
detail
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 2.42 2005/05/31 14:25:18 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 2.43 2005/05/31 14:34:02 roberto Exp roberto $ |
3 | ** Lua API | 3 | ** Lua API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -985,7 +985,7 @@ LUA_API void lua_concat (lua_State *L, int n) { | |||
985 | 985 | ||
986 | 986 | ||
987 | LUA_API lua_Alloc lua_getallocf (lua_State *L, void **ud) { | 987 | LUA_API lua_Alloc lua_getallocf (lua_State *L, void **ud) { |
988 | *ud = G(L)->ud; | 988 | if (ud) *ud = G(L)->ud; |
989 | return G(L)->frealloc; | 989 | return G(L)->frealloc; |
990 | } | 990 | } |
991 | 991 | ||