summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShmuel Zeigerman <solomuz0@gmail.com>2011-12-22 16:20:44 +0200
committerShmuel Zeigerman <solomuz0@gmail.com>2011-12-22 16:20:44 +0200
commitfb8d662bd0074d163481cdbadf813a938263ed4f (patch)
treebc4a62edd438f3757d894c73a7108df24ec648db
parentbd8370a70eb3ed7e299416b160430df3de30f043 (diff)
downloadlrexlib-fb8d662bd0074d163481cdbadf813a938263ed4f.tar.gz
luaL_reg replaced with luaL_Reg
-rw-r--r--src/gnu/lgnu.c4
-rw-r--r--src/oniguruma/lonig.c4
-rw-r--r--src/pcre/lpcre.c6
-rw-r--r--src/posix/lposix.c4
-rw-r--r--src/tre/ltre.c4
5 files changed, 11 insertions, 11 deletions
diff --git a/src/gnu/lgnu.c b/src/gnu/lgnu.c
index 41341e6..07e8e3c 100644
--- a/src/gnu/lgnu.c
+++ b/src/gnu/lgnu.c
@@ -282,7 +282,7 @@ static int Gnu_get_flags (lua_State *L) {
return get_flags (L, fps);
}
-static const luaL_reg gnumeta[] = {
+static const luaL_Reg gnumeta[] = {
{ "exec", ud_exec },
{ "tfind", ud_tfind }, /* old match */
{ "find", ud_find },
@@ -292,7 +292,7 @@ static const luaL_reg gnumeta[] = {
{ NULL, NULL}
};
-static const luaL_reg rexlib[] = {
+static const luaL_Reg rexlib[] = {
{ "match", match },
{ "find", find },
{ "gmatch", gmatch },
diff --git a/src/oniguruma/lonig.c b/src/oniguruma/lonig.c
index eb09f73..e0a4acd 100644
--- a/src/oniguruma/lonig.c
+++ b/src/oniguruma/lonig.c
@@ -319,7 +319,7 @@ static int LOnig_version (lua_State *L) {
return 1;
}
-static const luaL_reg regex_meta[] = {
+static const luaL_Reg regex_meta[] = {
{ "exec", ud_exec },
{ "tfind", ud_tfind }, /* old name: match */
{ "find", ud_find },
@@ -329,7 +329,7 @@ static const luaL_reg regex_meta[] = {
{ NULL, NULL }
};
-static const luaL_reg rexlib[] = {
+static const luaL_Reg rexlib[] = {
{ "match", match },
{ "find", find },
{ "gmatch", gmatch },
diff --git a/src/pcre/lpcre.c b/src/pcre/lpcre.c
index ee65859..107e83d 100644
--- a/src/pcre/lpcre.c
+++ b/src/pcre/lpcre.c
@@ -362,13 +362,13 @@ static int Lpcre_version (lua_State *L) {
return 1;
}
-static const luaL_reg chartables_meta[] = {
+static const luaL_Reg chartables_meta[] = {
{ "__gc", chartables_gc },
{ "__tostring", chartables_tostring },
{ NULL, NULL }
};
-static const luaL_reg regex_meta[] = {
+static const luaL_Reg regex_meta[] = {
{ "exec", ud_exec },
{ "tfind", ud_tfind }, /* old name: match */
{ "find", ud_find },
@@ -381,7 +381,7 @@ static const luaL_reg regex_meta[] = {
{ NULL, NULL }
};
-static const luaL_reg rexlib[] = {
+static const luaL_Reg rexlib[] = {
{ "match", match },
{ "find", find },
{ "gmatch", gmatch },
diff --git a/src/posix/lposix.c b/src/posix/lposix.c
index 16e61ed..189a36b 100644
--- a/src/posix/lposix.c
+++ b/src/posix/lposix.c
@@ -253,7 +253,7 @@ static int Posix_get_flags (lua_State *L) {
return get_flags (L, fps);
}
-static const luaL_reg posixmeta[] = {
+static const luaL_Reg posixmeta[] = {
{ "exec", ud_exec },
{ "tfind", ud_tfind }, /* old match */
{ "find", ud_find },
@@ -263,7 +263,7 @@ static const luaL_reg posixmeta[] = {
{ NULL, NULL}
};
-static const luaL_reg rexlib[] = {
+static const luaL_Reg rexlib[] = {
{ "match", match },
{ "find", find },
{ "gmatch", gmatch },
diff --git a/src/tre/ltre.c b/src/tre/ltre.c
index cdbe3bd..259646b 100644
--- a/src/tre/ltre.c
+++ b/src/tre/ltre.c
@@ -309,7 +309,7 @@ static int Ltre_version (lua_State *L) {
return 1;
}
-static const luaL_reg posixmeta[] = {
+static const luaL_Reg posixmeta[] = {
{ "exec", ud_exec },
{ "tfind", ud_tfind },
{ "find", ud_find },
@@ -323,7 +323,7 @@ static const luaL_reg posixmeta[] = {
{ NULL, NULL}
};
-static const luaL_reg rexlib[] = {
+static const luaL_Reg rexlib[] = {
{ "match", match },
{ "find", find },
{ "gmatch", gmatch },