RetroArch
|
#include "lprefix.h"
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
Macros | |
#define | lua_c |
#define | LUA_PROMPT "> " |
#define | LUA_PROMPT2 ">> " |
#define | LUA_PROGNAME "lua" |
#define | LUA_MAXINPUT 512 |
#define | LUA_INIT_VAR "LUA_INIT" |
#define | LUA_INITVARVERSION LUA_INIT_VAR LUA_VERSUFFIX |
#define | lua_stdin_is_tty() 1 /* assume stdin is a tty */ |
#define | lua_readline(L, b, p) |
#define | lua_saveline(L, line) { (void)L; (void)line; } |
#define | lua_freeline(L, b) { (void)L; (void)b; } |
#define | EOFMARK "<eof>" |
#define | marklen (sizeof(EOFMARK)/sizeof(char) - 1) |
#define | has_error 1 /* bad option */ |
#define | has_i 2 /* -i */ |
#define | has_v 4 /* -v */ |
#define | has_e 8 /* -e */ |
#define | has_E 16 /* -E */ |
Functions | |
static void | lstop (lua_State *L, lua_Debug *ar) |
static void | laction (int i) |
static void | print_usage (const char *badoption) |
static void | l_message (const char *pname, const char *msg) |
static int | report (lua_State *L, int status) |
static int | msghandler (lua_State *L) |
static int | docall (lua_State *L, int narg, int nres) |
static void | print_version (void) |
static void | createargtable (lua_State *L, char **argv, int argc, int script) |
static int | dochunk (lua_State *L, int status) |
static int | dofile (lua_State *L, const char *name) |
static int | dostring (lua_State *L, const char *s, const char *name) |
static int | dolibrary (lua_State *L, const char *name) |
static const char * | get_prompt (lua_State *L, int firstline) |
static int | incomplete (lua_State *L, int status) |
static int | pushline (lua_State *L, int firstline) |
static int | addreturn (lua_State *L) |
static int | multiline (lua_State *L) |
static int | loadline (lua_State *L) |
static void | l_print (lua_State *L) |
static void | doREPL (lua_State *L) |
static int | pushargs (lua_State *L) |
static int | handle_script (lua_State *L, char **argv) |
static int | collectargs (char **argv, int *first) |
static int | runargs (lua_State *L, char **argv, int n) |
static int | handle_luainit (lua_State *L) |
static int | pmain (lua_State *L) |
int | main (int argc, char **argv) |
Variables | |
static lua_State * | globalL = NULL |
static const char * | progname = LUA_PROGNAME |
#define EOFMARK "<eof>" |
#define has_e 8 /* -e */ |
#define has_E 16 /* -E */ |
#define has_error 1 /* bad option */ |
#define has_i 2 /* -i */ |
#define has_v 4 /* -v */ |
#define lua_c |
#define LUA_INIT_VAR "LUA_INIT" |
#define LUA_INITVARVERSION LUA_INIT_VAR LUA_VERSUFFIX |
#define LUA_MAXINPUT 512 |
#define LUA_PROGNAME "lua" |
#define LUA_PROMPT "> " |
#define LUA_PROMPT2 ">> " |
#define lua_stdin_is_tty | ( | ) | 1 /* assume stdin is a tty */ |
#define marklen (sizeof(EOFMARK)/sizeof(char) - 1) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
int main | ( | int | argc, |
char ** | argv | ||
) |
This file contains the main entrypoints for the Wii U executable that set up the call to main().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |