diff options
Diffstat (limited to 'inout.c')
| -rw-r--r-- | inout.c | 16 |
1 files changed, 8 insertions, 8 deletions
| @@ -5,7 +5,7 @@ | |||
| 5 | ** Also provides some predefined lua functions. | 5 | ** Also provides some predefined lua functions. |
| 6 | */ | 6 | */ |
| 7 | 7 | ||
| 8 | char *rcs_inout="$Id: inout.c,v 2.12 1994/11/21 21:41:09 roberto Exp $"; | 8 | char *rcs_inout="$Id: inout.c,v 2.13 1994/11/23 14:32:00 roberto Stab $"; |
| 9 | 9 | ||
| 10 | #include <stdio.h> | 10 | #include <stdio.h> |
| 11 | #include <stdlib.h> | 11 | #include <stdlib.h> |
| @@ -240,25 +240,25 @@ void luaI_type (void) | |||
| 240 | switch (lua_type(o)) | 240 | switch (lua_type(o)) |
| 241 | { | 241 | { |
| 242 | case LUA_T_NIL : | 242 | case LUA_T_NIL : |
| 243 | lua_pushstring("nil"); | 243 | lua_pushliteral("nil"); |
| 244 | break; | 244 | break; |
| 245 | case LUA_T_NUMBER : | 245 | case LUA_T_NUMBER : |
| 246 | lua_pushstring("number"); | 246 | lua_pushliteral("number"); |
| 247 | break; | 247 | break; |
| 248 | case LUA_T_STRING : | 248 | case LUA_T_STRING : |
| 249 | lua_pushstring("string"); | 249 | lua_pushliteral("string"); |
| 250 | break; | 250 | break; |
| 251 | case LUA_T_ARRAY : | 251 | case LUA_T_ARRAY : |
| 252 | lua_pushstring("table"); | 252 | lua_pushliteral("table"); |
| 253 | break; | 253 | break; |
| 254 | case LUA_T_FUNCTION : | 254 | case LUA_T_FUNCTION : |
| 255 | lua_pushstring("function"); | 255 | lua_pushliteral("function"); |
| 256 | break; | 256 | break; |
| 257 | case LUA_T_CFUNCTION : | 257 | case LUA_T_CFUNCTION : |
| 258 | lua_pushstring("cfunction"); | 258 | lua_pushliteral("cfunction"); |
| 259 | break; | 259 | break; |
| 260 | default : | 260 | default : |
| 261 | lua_pushstring("userdata"); | 261 | lua_pushliteral("userdata"); |
| 262 | break; | 262 | break; |
| 263 | } | 263 | } |
| 264 | } | 264 | } |
