ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

liolib.cpp File Reference

#include "common/savefile.h"
#include "common/fs.h"
#include "common/system.h"
#include "engines/grim/lua/lauxlib.h"
#include "engines/grim/lua/lua.h"
#include "engines/grim/lua/luadebug.h"
#include "engines/grim/lua/lualib.h"
#include "base/commandLine.h"
#include "engines/grim/resource.h"
Include dependency graph for liolib.cpp:

Go to the source code of this file.

Namespaces

namespace  Grim

Defines

#define FORBIDDEN_SYMBOL_EXCEPTION_setjmp
#define FORBIDDEN_SYMBOL_EXCEPTION_longjmp
#define FORBIDDEN_SYMBOL_EXCEPTION_fread
#define FORBIDDEN_SYMBOL_EXCEPTION_fwrite
#define FORBIDDEN_SYMBOL_EXCEPTION_fseek
#define FORBIDDEN_SYMBOL_EXCEPTION_stderr
#define FORBIDDEN_SYMBOL_EXCEPTION_stdin
#define FORBIDDEN_SYMBOL_EXCEPTION_stdout
#define FORBIDDEN_SYMBOL_EXCEPTION_exit
#define CLOSEDTAG   2
#define IOTAG   1
#define FIRSTARG   3
#define FINPUT   "_INPUT"
#define FOUTPUT   "_OUTPUT"
#define NEED_OTHER   (EOF - 1)

Functions

static int32 Grim::gettag (int32 i)
static void Grim::pushresult (int32 i)
static int32 Grim::ishandler (lua_Object f)
static LuaFile * Grim::getfile (int32 id)
static LuaFile * Grim::getfile (const char *name)
static LuaFile * Grim::getfileparam (const char *name, int32 *arg)
static void Grim::closefile (const char *name)
static void Grim::setfile (int32 id, const char *name, int32 tag)
static void Grim::setreturn (int32 id, const char *name)
static int32 Grim::addfile (LuaFile *f)
static void Grim::io_readfrom ()
static void Grim::io_writeto ()
static void Grim::io_appendto ()
static void Grim::io_read ()
static void Grim::io_write ()
static void Grim::io_date ()
static void Grim::io_exit ()
static void Grim::lua_printstack ()
static void Grim::errorfb ()
static void Grim::openwithtags ()
void Grim::lua_iolibopen ()
void Grim::lua_iolibclose ()

Variables

LuaFile * Grim::g_stderr
static int32 Grim::s_id = 0
Common::HashMap< int32,
LuaFile * > * 
Grim::g_files
static struct luaL_reg Grim::iolib []
static struct luaL_reg Grim::iolibtag []

Define Documentation

#define CLOSEDTAG   2

Definition at line 31 of file liolib.cpp.

#define FINPUT   "_INPUT"

Definition at line 36 of file liolib.cpp.

#define FIRSTARG   3

Definition at line 34 of file liolib.cpp.

#define FORBIDDEN_SYMBOL_EXCEPTION_exit

Definition at line 14 of file liolib.cpp.

#define FORBIDDEN_SYMBOL_EXCEPTION_fread

Definition at line 8 of file liolib.cpp.

#define FORBIDDEN_SYMBOL_EXCEPTION_fseek

Definition at line 10 of file liolib.cpp.

#define FORBIDDEN_SYMBOL_EXCEPTION_fwrite

Definition at line 9 of file liolib.cpp.

#define FORBIDDEN_SYMBOL_EXCEPTION_longjmp

Definition at line 7 of file liolib.cpp.

#define FORBIDDEN_SYMBOL_EXCEPTION_setjmp

Definition at line 6 of file liolib.cpp.

#define FORBIDDEN_SYMBOL_EXCEPTION_stderr

Definition at line 11 of file liolib.cpp.

#define FORBIDDEN_SYMBOL_EXCEPTION_stdin

Definition at line 12 of file liolib.cpp.

#define FORBIDDEN_SYMBOL_EXCEPTION_stdout

Definition at line 13 of file liolib.cpp.

#define FOUTPUT   "_OUTPUT"

Definition at line 37 of file liolib.cpp.

#define IOTAG   1

Definition at line 32 of file liolib.cpp.

#define NEED_OTHER   (EOF - 1)

Definition at line 265 of file liolib.cpp.



Generated on Sat Oct 12 2019 05:01:52 for ResidualVM by doxygen 1.7.1
curved edge   curved edge