diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-06 14:26:45 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-06 14:26:45 -0300 |
commit | d3dd337fcaf286c83103e283b72b6ef52d837ba3 (patch) | |
tree | 860947c3a7e1a4b34969700bda4dcf0ac05416d1 /lua.h | |
parent | 634344d61fb4bd7ebd033d37b814a0083e55b5a2 (diff) | |
download | lua-d3dd337fcaf286c83103e283b72b6ef52d837ba3.tar.gz lua-d3dd337fcaf286c83103e283b72b6ef52d837ba3.tar.bz2 lua-d3dd337fcaf286c83103e283b72b6ef52d837ba3.zip |
lua_Chunkreader gets a lua_State, to avoid future incompatibilities
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.149 2002/08/06 15:32:22 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.150 2002/08/06 17:06:56 roberto Exp roberto $ |
3 | ** Lua - An Extensible Extension Language | 3 | ** Lua - An Extensible Extension Language |
4 | ** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil | 4 | ** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil |
5 | ** http://www.lua.org mailto:info@lua.org | 5 | ** http://www.lua.org mailto:info@lua.org |
@@ -54,7 +54,7 @@ typedef int (*lua_CFunction) (lua_State *L); | |||
54 | /* | 54 | /* |
55 | ** functions that read blocks when loading Lua chunk | 55 | ** functions that read blocks when loading Lua chunk |
56 | */ | 56 | */ |
57 | typedef const char * (*lua_Chunkreader) (void *ud, size_t *size); | 57 | typedef const char * (*lua_Chunkreader) (lua_State *L, void *ud, size_t *size); |
58 | 58 | ||
59 | 59 | ||
60 | /* | 60 | /* |