summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/rocklib_aux.pl
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lua/rocklib_aux.pl')
-rwxr-xr-xapps/plugins/lua/rocklib_aux.pl3
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
207sub in_bool 208sub 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
213sub out_void 214sub out_void