aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lauxlib.c')
-rw-r--r--lauxlib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lauxlib.c b/lauxlib.c
index 0e0167e9..55ee1411 100644
--- a/lauxlib.c
+++ b/lauxlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lauxlib.c,v 1.179 2008/07/03 14:21:41 roberto Exp roberto $ 2** $Id: lauxlib.c,v 1.180 2009/02/13 19:39:34 roberto Exp roberto $
3** Auxiliary functions for building Lua libraries 3** Auxiliary functions for building Lua libraries
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -355,6 +355,7 @@ LUALIB_API void luaL_addvalue (luaL_Buffer *B) {
355 355
356 356
357LUALIB_API void luaL_buffinit (lua_State *L, luaL_Buffer *B) { 357LUALIB_API void luaL_buffinit (lua_State *L, luaL_Buffer *B) {
358 luaL_checkstack(L, LIMIT + LUA_MINSTACK, "no space for new buffer");
358 B->L = L; 359 B->L = L;
359 B->p = B->buffer; 360 B->p = B->buffer;
360 B->lvl = 0; 361 B->lvl = 0;