diff options
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 | ||