|
native Lua
0.4.0
Lua on the platform you use with the compiler you choose
|
#include "lprefix.h"#include <signal.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include "lua.h"#include "lauxlib.h"#include "lualib.h"#include "config.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 | |
| int | main (int argc, char **argv) |
| #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_freeline | ( | L, | |
| b | |||
| ) | { (void)L; (void)b; } |
| #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_readline | ( | L, | |
| b, | |||
| p | |||
| ) |
| #define lua_saveline | ( | L, | |
| line | |||
| ) | { (void)L; (void)line; } |
| #define lua_stdin_is_tty | ( | ) | 1 /* assume stdin is a tty */ |
| #define marklen (sizeof(EOFMARK)/sizeof(char) - 1) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
1.8.20