From d3dd337fcaf286c83103e283b72b6ef52d837ba3 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 6 Aug 2002 14:26:45 -0300 Subject: lua_Chunkreader gets a lua_State, to avoid future incompatibilities --- lua.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua.h') diff --git a/lua.h b/lua.h index dc64fb34..786ba8d6 100644 --- a/lua.h +++ b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.149 2002/08/06 15:32:22 roberto Exp roberto $ +** $Id: lua.h,v 1.150 2002/08/06 17:06:56 roberto Exp roberto $ ** Lua - An Extensible Extension Language ** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil ** http://www.lua.org mailto:info@lua.org @@ -54,7 +54,7 @@ typedef int (*lua_CFunction) (lua_State *L); /* ** functions that read blocks when loading Lua chunk */ -typedef const char * (*lua_Chunkreader) (void *ud, size_t *size); +typedef const char * (*lua_Chunkreader) (lua_State *L, void *ud, size_t *size); /* -- cgit v1.2.3-55-g6feb