aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--iolib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iolib.c b/iolib.c
index a3a6da22..a3719c65 100644
--- a/iolib.c
+++ b/iolib.c
@@ -295,7 +295,7 @@ static void getbyte (void)
295 } 295 }
296} 296}
297 297
298static void createuserdata (void) 298static void newuserdata (void)
299{ 299{
300 lua_Object t = lua_getparam(1); 300 lua_Object t = lua_getparam(1);
301 int tag = luaL_opt_number(2, 0); 301 int tag = luaL_opt_number(2, 0);
@@ -335,7 +335,7 @@ static struct luaL_reg iolib[] = {
335{"exit", io_exit}, 335{"exit", io_exit},
336{"debug", io_debug}, 336{"debug", io_debug},
337{"getbyte", getbyte}, 337{"getbyte", getbyte},
338{"createud", createuserdata}, 338{"userdata", newuserdata},
339{"print_stack", errorfb} 339{"print_stack", errorfb}
340}; 340};
341 341