From 2f5f77788fc96b4f729d4d1e1f1a37e8d9458456 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 19 Mar 2014 15:51:42 -0300 Subject: removed function 'luaS_eqstr' (not used anywhere) --- lstring.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'lstring.c') diff --git a/lstring.c b/lstring.c index 793e4880..32448ebf 100644 --- a/lstring.c +++ b/lstring.c @@ -1,5 +1,5 @@ /* -** $Id: lstring.c,v 2.36 2013/09/11 14:56:15 roberto Exp roberto $ +** $Id: lstring.c,v 2.37 2014/02/19 13:51:09 roberto Exp roberto $ ** String table (keeps all strings handled by Lua) ** See Copyright Notice in lua.h */ @@ -42,15 +42,6 @@ int luaS_eqlngstr (TString *a, TString *b) { } -/* -** equality for strings -*/ -int luaS_eqstr (TString *a, TString *b) { - return (a->tsv.tt == b->tsv.tt) && - (a->tsv.tt == LUA_TSHRSTR ? eqshrstr(a, b) : luaS_eqlngstr(a, b)); -} - - unsigned int luaS_hash (const char *str, size_t l, unsigned int seed) { unsigned int h = seed ^ cast(unsigned int, l); size_t l1; -- cgit v1.2.3-55-g6feb