#include <string.h>#include "lua.h"#include "llimits.h"#include "lmem.h"#include "lzio.h"Go to the source code of this file.
Defines | |
| #define | lzio_c |
Functions | |
| int | luaZ_fill (ZIO *z) |
| int | luaZ_lookahead (ZIO *z) |
| void | luaZ_init (ZIO *z, lua_Chunkreader reader, void *data, const char *name) |
| size_t | luaZ_read (ZIO *z, void *b, size_t n) |
| char * | luaZ_openspace (lua_State *L, Mbuffer *buff, size_t n) |
| int luaZ_fill | ( | ZIO * | z | ) |
Definition at line 19 of file lzio.c.
References char2int, Zio::data, EOZ, Zio::n, Zio::p, and Zio::reader.
Referenced by luaZ_lookahead(), and luaZ_read().
| void luaZ_init | ( | ZIO * | z, | |
| lua_Chunkreader | reader, | |||
| void * | data, | |||
| const char * | name | |||
| ) |
Definition at line 40 of file lzio.c.
References Zio::data, Zio::n, Zio::name, Zio::p, and Zio::reader.
Referenced by lua_load().
| int luaZ_lookahead | ( | ZIO * | z | ) |
Definition at line 29 of file lzio.c.
References char2int, EOZ, luaZ_fill(), Zio::n, and Zio::p.
Referenced by lua_load().
Definition at line 72 of file lzio.c.
References Mbuffer::buffer, Mbuffer::buffsize, LUA_MINBUFFER, and luaM_reallocvector.
Referenced by LoadString(), and luaV_concat().
| size_t luaZ_read | ( | ZIO * | z, | |
| void * | b, | |||
| size_t | n | |||
| ) |
1.5.2