|
native Lua
0.4.0
Lua on the platform you use with the compiler you choose
|
#include "lprefix.h"#include <errno.h>#include <locale.h>#include <stdlib.h>#include <string.h>#include <time.h>#include "lua.h"#include "lauxlib.h"#include "lualib.h"
Macros | |
| #define | loslib_c |
| #define | LUA_LIB |
| #define | L_STRFTIMEC89 "aAbBcdHIjmMpSUwWxXyYZ%" |
| #define | L_STRFTIMEC99 |
| #define | L_STRFTIMEWIN |
| #define | LUA_STRFTIMEOPTIONS L_STRFTIMEC99 |
| #define | l_timet lua_Integer |
| #define | l_pushtime(L, t) lua_pushinteger(L,(lua_Integer)(t)) |
| #define | l_gmtime(t, r) ((void)(r)->tm_sec, gmtime(t)) |
| #define | l_localtime(t, r) ((void)(r)->tm_sec, localtime(t)) |
| #define | LUA_TMPNAMBUFSIZE L_tmpnam |
| #define | lua_tmpnam(b, e) { e = (tmpnam(b) == NULL); } |
| #define | L_MAXDATEFIELD (INT_MAX / 2) |
| #define | SIZETIMEFMT 250 |
Functions | |
| LUAMOD_API int | luaopen_os (lua_State *L) |
| #define l_gmtime | ( | t, | |
| r | |||
| ) | ((void)(r)->tm_sec, gmtime(t)) |
| #define l_localtime | ( | t, | |
| r | |||
| ) | ((void)(r)->tm_sec, localtime(t)) |
| #define L_MAXDATEFIELD (INT_MAX / 2) |
| #define l_pushtime | ( | L, | |
| t | |||
| ) | lua_pushinteger(L,(lua_Integer)(t)) |
| #define L_STRFTIMEC89 "aAbBcdHIjmMpSUwWxXyYZ%" |
| #define L_STRFTIMEC99 |
| #define L_STRFTIMEWIN |
| #define l_timet lua_Integer |
| #define loslib_c |
| #define LUA_LIB |
| #define LUA_STRFTIMEOPTIONS L_STRFTIMEC99 |
| #define lua_tmpnam | ( | b, | |
| e | |||
| ) | { e = (tmpnam(b) == NULL); } |
| #define LUA_TMPNAMBUFSIZE L_tmpnam |
| #define SIZETIMEFMT 250 |
| LUAMOD_API int luaopen_os | ( | lua_State * | L | ) |
1.8.20