aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-08-06 14:26:45 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-08-06 14:26:45 -0300
commitd3dd337fcaf286c83103e283b72b6ef52d837ba3 (patch)
tree860947c3a7e1a4b34969700bda4dcf0ac05416d1 /lua.h
parent634344d61fb4bd7ebd033d37b814a0083e55b5a2 (diff)
downloadlua-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua.h b/lua.h
index dc64fb34..786ba8d6 100644
--- a/lua.h
+++ b/lua.h
@@ -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*/
57typedef const char * (*lua_Chunkreader) (void *ud, size_t *size); 57typedef const char * (*lua_Chunkreader) (lua_State *L, void *ud, size_t *size);
58 58
59 59
60/* 60/*