String table (keep all strings handled by Lua)

This commit is contained in:
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
parent ea169d2083
commit daa858ef27
4 changed files with 207 additions and 249 deletions

21
lstring.h Normal file
View File

@@ -0,0 +1,21 @@
/*
** $Id: lstring.h,v 1.1 1997/08/14 20:23:40 roberto Exp roberto $
** String table (keep all strings handled by Lua)
** See Copyright Notice in lua.h
*/
#ifndef lstring_h
#define lstring_h
#include "lobject.h"
TaggedString *luaS_createudata (void *udata, int tag);
TaggedString *luaS_collector (void);
void luaS_free (TaggedString *l);
void luaS_callIM (TaggedString *l);
TaggedString *luaS_new (char *str);
TaggedString *luaS_newfixedstring (char *str);
#endif