From 73664eb7399655e7cf65132c91a1aa16191a1667 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 18 Nov 1994 17:27:38 -0200 Subject: function 'lua_createstring' moved from table.c to tree.c --- table.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'table.c') diff --git a/table.c b/table.c index ab5fd5e8..ced492a2 100644 --- a/table.c +++ b/table.c @@ -3,7 +3,7 @@ ** Module to control static tables */ -char *rcs_table="$Id: table.c,v 2.19 1994/11/16 17:39:16 roberto Exp $"; +char *rcs_table="$Id: table.c,v 2.20 1994/11/17 13:58:57 roberto Exp roberto $"; #include @@ -179,16 +179,6 @@ void lua_pack (void) } -/* -** If the string isn't allocated, allocate a new string at string tree. -*/ -char *lua_createstring (char *s) -{ - if (s == NULL) return NULL; - return lua_strcreate(s); -} - - /* ** Add a file name at file table, checking overflow. This function also set ** the external variable "lua_filename" with the function filename set. -- cgit v1.2.3-55-g6feb