diff options
Diffstat (limited to 'apps/plugins/lua/rocklib_aux.pl')
-rwxr-xr-x | apps/plugins/lua/rocklib_aux.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/lua/rocklib_aux.pl b/apps/plugins/lua/rocklib_aux.pl index 9103fccbda..61e0115bdf 100755 --- a/apps/plugins/lua/rocklib_aux.pl +++ b/apps/plugins/lua/rocklib_aux.pl | |||
@@ -133,6 +133,7 @@ print <<EOF | |||
133 | 133 | ||
134 | #define _ROCKCONF_H_ /* We don't need strcmp() etc. wrappers */ | 134 | #define _ROCKCONF_H_ /* We don't need strcmp() etc. wrappers */ |
135 | #include "lua.h" | 135 | #include "lua.h" |
136 | #include "rocklib.h" | ||
136 | #include "lauxlib.h" | 137 | #include "lauxlib.h" |
137 | #include "plugin.h" | 138 | #include "plugin.h" |
138 | 139 | ||
@@ -207,7 +208,7 @@ sub in_string | |||
207 | sub in_bool | 208 | sub in_bool |
208 | { | 209 | { |
209 | my ($name, $type, $pos) = @_; | 210 | my ($name, $type, $pos) = @_; |
210 | return sprintf("\tbool %s = luaL_checkboolean(L, %d);\n", $name, $pos) | 211 | return sprintf("\tbool %s = rli_checkboolean(L, %d);\n", $name, $pos) |
211 | } | 212 | } |
212 | 213 | ||
213 | sub out_void | 214 | sub out_void |