RetroArch
|
#include "lprefix.h"
#include <assert.h>
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
Macros | |
#define | lutf8lib_c |
#define | LUA_LIB |
#define | MAXUNICODE 0x10FFFF |
#define | iscont(p) ((*(p) & 0xC0) == 0x80) |
#define | UTF8PATT "[\0-\x7F\xC2-\xF4][\x80-\xBF]*" |
Functions | |
static lua_Integer | u_posrelat (lua_Integer pos, size_t len) |
static const char * | utf8_decode (const char *o, int *val) |
static int | utflen (lua_State *L) |
static int | codepoint (lua_State *L) |
static void | pushutfchar (lua_State *L, int arg) |
static int | utfchar (lua_State *L) |
static int | byteoffset (lua_State *L) |
static int | iter_aux (lua_State *L) |
static int | iter_codes (lua_State *L) |
LUAMOD_API int | luaopen_utf8 (lua_State *L) |
Variables | |
static const luaL_Reg | funcs [] |
#define LUA_LIB |
#define lutf8lib_c |
#define MAXUNICODE 0x10FFFF |
#define UTF8PATT "[\0-\x7F\xC2-\xF4][\x80-\xBF]*" |
|
static |
|
static |
|
static |
|
static |
LUAMOD_API int luaopen_utf8 | ( | lua_State * | L | ) |
|
static |
|
static |
|
static |