diff options
Diffstat (limited to 'table.c')
| -rw-r--r-- | table.c | 12 |
1 files changed, 1 insertions, 11 deletions
| @@ -3,7 +3,7 @@ | |||
| 3 | ** Module to control static tables | 3 | ** Module to control static tables |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| 6 | char *rcs_table="$Id: table.c,v 2.19 1994/11/16 17:39:16 roberto Exp $"; | 6 | char *rcs_table="$Id: table.c,v 2.20 1994/11/17 13:58:57 roberto Exp roberto $"; |
| 7 | 7 | ||
| 8 | #include <string.h> | 8 | #include <string.h> |
| 9 | 9 | ||
| @@ -180,16 +180,6 @@ void lua_pack (void) | |||
| 180 | 180 | ||
| 181 | 181 | ||
| 182 | /* | 182 | /* |
| 183 | ** If the string isn't allocated, allocate a new string at string tree. | ||
| 184 | */ | ||
| 185 | char *lua_createstring (char *s) | ||
| 186 | { | ||
| 187 | if (s == NULL) return NULL; | ||
| 188 | return lua_strcreate(s); | ||
| 189 | } | ||
| 190 | |||
| 191 | |||
| 192 | /* | ||
| 193 | ** Add a file name at file table, checking overflow. This function also set | 183 | ** Add a file name at file table, checking overflow. This function also set |
| 194 | ** the external variable "lua_filename" with the function filename set. | 184 | ** the external variable "lua_filename" with the function filename set. |
| 195 | ** Return 0 on success or error message on error. | 185 | ** Return 0 on success or error message on error. |
