mirror of
https://github.com/lua/lua
synced 2026-09-29 04:35:58 +03:00
lua_Chunkreader gets a lua_State, to avoid future incompatibilities
This commit is contained in:
parent
634344d61f
commit
d3dd337fca
3 changed files with 9 additions and 7 deletions
4
lua.h
4
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);
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue