|
native Lua
0.4.0
Lua on the platform you use with the compiler you choose
|
#include "lprefix.h"#include <ctype.h>#include <float.h>#include <limits.h>#include <locale.h>#include <stddef.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include "lua.h"#include "lauxlib.h"#include "lualib.h"
Data Structures | |
| struct | MatchState |
| struct | GMatchState |
| struct | cD |
| union | Ftypes |
| struct | Header |
Macros | |
| #define | lstrlib_c |
| #define | LUA_LIB |
| #define | LUA_MAXCAPTURES 32 |
| #define | uchar(c) ((unsigned char)(c)) |
| #define | MAX_SIZET ((size_t)(~(size_t)0)) |
| #define | MAXSIZE (sizeof(size_t) < sizeof(int) ? MAX_SIZET : (size_t)(INT_MAX)) |
| #define | CAP_UNFINISHED (-1) |
| #define | CAP_POSITION (-2) |
| #define | MAXCCALLS 200 |
| #define | L_ESC '%' |
| #define | SPECIALS "^$*+?.([%-" |
| #define | MAX_ITEM (120 + l_mathlim(MAX_10_EXP)) |
| #define | FLAGS "-+ #0" |
| #define | MAX_FORMAT 32 |
| #define | LUAL_PACKPADBYTE 0x00 |
| #define | MAXINTSIZE 16 |
| #define | NB CHAR_BIT |
| #define | MC ((1 << NB) - 1) |
| #define | SZINT ((int)sizeof(lua_Integer)) |
| #define | MAXALIGN (offsetof(struct cD, u)) |
Typedefs | |
| typedef struct MatchState | MatchState |
| typedef struct GMatchState | GMatchState |
| typedef union Ftypes | Ftypes |
| typedef struct Header | Header |
| typedef enum KOption | KOption |
Enumerations | |
| enum | KOption { Kint, Kuint, Kfloat, Kchar, Kstring, Kzstr, Kpadding, Kpaddalign, Knop } |
Functions | |
| LUAMOD_API int | luaopen_string (lua_State *L) |
| #define CAP_POSITION (-2) |
| #define CAP_UNFINISHED (-1) |
| #define FLAGS "-+ #0" |
| #define L_ESC '%' |
| #define lstrlib_c |
| #define LUA_LIB |
| #define LUA_MAXCAPTURES 32 |
| #define LUAL_PACKPADBYTE 0x00 |
| #define MAX_FORMAT 32 |
| #define MAX_ITEM (120 + l_mathlim(MAX_10_EXP)) |
| #define MAX_SIZET ((size_t)(~(size_t)0)) |
| #define MAXALIGN (offsetof(struct cD, u)) |
| #define MAXCCALLS 200 |
| #define MAXINTSIZE 16 |
| #define MAXSIZE (sizeof(size_t) < sizeof(int) ? MAX_SIZET : (size_t)(INT_MAX)) |
| #define MC ((1 << NB) - 1) |
| #define NB CHAR_BIT |
| #define SPECIALS "^$*+?.([%-" |
| #define SZINT ((int)sizeof(lua_Integer)) |
| #define uchar | ( | c | ) | ((unsigned char)(c)) |
| typedef struct GMatchState GMatchState |
| typedef struct MatchState MatchState |
| enum KOption |
| LUAMOD_API int luaopen_string | ( | lua_State * | L | ) |
| int dummy |
| char little |
1.8.20