-rw-r--r-- | lua-utils.c | 12 |
diff --git a/lua-utils.c b/lua-utils.c index 39a779dc..25849d4b 100644 --- a/lua-utils.c +++ b/lua-utils.c @@ -1,18 +1,18 @@ /* lua-utils.c - * + * * Copyright (C) 2009 Francesco Abbate - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later version. - * + * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. @@ -129,7 +129,7 @@ mlua_newindex_with_properties (lua_State *L, const struct luaL_Reg *properties) } lua_Number -mlua_named_optnumber (lua_State *L, int index, const char *key, +mlua_named_optnumber (lua_State *L, int index, const char *key, lua_Number default_value) { lua_Number r; @@ -140,7 +140,7 @@ mlua_named_optnumber (lua_State *L, int index, const char *key, } const char * -mlua_named_optstring (lua_State *L, int index, const char *key, +mlua_named_optstring (lua_State *L, int index, const char *key, const char * default_value) { const char * r; |