Merge branch 'master' into master-2.1
This commit is contained in:
+2
-2
@@ -5,7 +5,7 @@ int luaopen_renderer(lua_State *L);
|
||||
int luaopen_regex(lua_State *L);
|
||||
int luaopen_process(lua_State *L);
|
||||
int luaopen_dirmonitor(lua_State* L);
|
||||
int luaopen_utf8(lua_State* L);
|
||||
int luaopen_utf8extra(lua_State* L);
|
||||
|
||||
static const luaL_Reg libs[] = {
|
||||
{ "system", luaopen_system },
|
||||
@@ -13,7 +13,7 @@ static const luaL_Reg libs[] = {
|
||||
{ "regex", luaopen_regex },
|
||||
{ "process", luaopen_process },
|
||||
{ "dirmonitor", luaopen_dirmonitor },
|
||||
{ "utf8", luaopen_utf8 },
|
||||
{ "utf8extra", luaopen_utf8extra },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -1264,7 +1264,7 @@ static const char UTF8PATT[] = "[\0-\x7F\xC2-\xF4][\x80-\xBF]*";
|
||||
static const char UTF8PATT[] = "[%z\1-\x7F\xC2-\xF4][\x80-\xBF]*";
|
||||
#endif
|
||||
|
||||
int luaopen_utf8 (lua_State *L) {
|
||||
int luaopen_utf8extra (lua_State *L) {
|
||||
luaL_Reg libs[] = {
|
||||
#define ENTRY(name) { #name, Lutf8_##name }
|
||||
ENTRY(offset),
|
||||
|
||||
Reference in New Issue
Block a user