added StrBreak from AMX Mod X, with various improvements
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40637
This commit is contained in:
@@ -25,6 +25,11 @@ TextParsers g_TextParser;
|
||||
static int g_ini_chartable1[255] = {0};
|
||||
static int g_ws_chartable[255] = {0};
|
||||
|
||||
bool IsWhitespace(const char *stream)
|
||||
{
|
||||
return g_ws_chartable[(unsigned)*stream] == 1;
|
||||
}
|
||||
|
||||
TextParsers::TextParsers()
|
||||
{
|
||||
g_ini_chartable1[(unsigned)'_'] = 1;
|
||||
|
||||
Reference in New Issue
Block a user