#include <string.h>
#include "lua.h"
#include "llimits.h"
#include "lmem.h"
#include "lstate.h"
#include "lzio.h"
Go to the source code of this file.
Macros | |
#define | lzio_c |
#define | LUA_CORE |
Functions | |
int | luaZ_fill (ZIO *z) |
void | luaZ_init (lua_State *L, ZIO *z, lua_Reader reader, void *data) |
size_t | luaZ_read (ZIO *z, void *b, size_t n) |
char * | luaZ_openspace (lua_State *L, Mbuffer *buff, size_t n) |
Definition at line 20 of file lzio.cpp.
References cast_uchar, Zio::data, EOZ, Zio::L, lua_lock, lua_unlock, Zio::n, Zio::p, and Zio::reader.
Referenced by luaZ_read().
void luaZ_init | ( | lua_State * | L, |
ZIO * | z, | ||
lua_Reader | reader, | ||
void * | data | ||
) |
Definition at line 35 of file lzio.cpp.
References Zio::data, Zio::L, Zio::n, Zio::p, Zio::reader, and reader().
Referenced by lua_load().
Definition at line 67 of file lzio.cpp.
References Mbuffer::buffer, Mbuffer::buffsize, LUA_MINBUFFER, and luaZ_resizebuffer.
Referenced by LoadString(), and luaV_concat().
Definition at line 45 of file lzio.cpp.
References EOZ, luaZ_fill(), Zio::n, and Zio::p.
Referenced by LoadBlock().