summaryrefslogtreecommitdiff
path: root/iup/srclua3/il_getparam.c
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2010-06-15 00:59:57 -0700
committerPixel <pixel@nobis-crew.org>2010-06-15 00:59:57 -0700
commiteed0eb6a476d54ce19aeff137984aa981d9e3976 (patch)
tree807891636efd2f87dcbd261e971216269973ae07 /iup/srclua3/il_getparam.c
parentccc8261e4d48de89da4ddfe7b55e378ae0cd6f47 (diff)
Upgrading to iup 3.1
Diffstat (limited to 'iup/srclua3/il_getparam.c')
-rwxr-xr-xiup/srclua3/il_getparam.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/iup/srclua3/il_getparam.c b/iup/srclua3/il_getparam.c
index 28a41be..6005ce8 100755
--- a/iup/srclua3/il_getparam.c
+++ b/iup/srclua3/il_getparam.c
@@ -93,6 +93,8 @@ static void GetParam(void)
param_data[i] = malloc(sizeof(float));
*(float*)(param_data[i]) = (float)luaL_check_number(lua_param_start); lua_param_start++;
break;
+ case 'f':
+ case 'c':
case 's':
case 'm':
s = luaL_check_string(lua_param_start); lua_param_start++;
@@ -136,6 +138,8 @@ static void GetParam(void)
case 'r':
lua_pushnumber(*(float*)(param_data[i]));
break;
+ case 'f':
+ case 'c':
case 's':
case 'm':
lua_pushstring((char*)(param_data[i]));