aboutsummaryrefslogtreecommitdiff
path: root/src/common.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.hh')
-rw-r--r--src/common.hh14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/common.hh b/src/common.hh
index 02cad88..219ff22 100644
--- a/src/common.hh
+++ b/src/common.hh
@@ -61,7 +61,7 @@ STATIC_ASSERT(sizeof(int) == 4);
#endif
#if COMPILER_MSVC
-# define TRAP() __debugbreak();
+# define TRAP() __debugbreak()
#elif COMPILER_GCC || COMPILER_CLANG
# define TRAP() __builtin_trap()
#else
@@ -137,6 +137,18 @@ void SetPrintFunction(TPrintFunction *Function);
void error(char *Text, ...) ATTR_PRINTF(1, 2);
void print(int Level, char *Text, ...) ATTR_PRINTF(1, 2);
+bool isSpace(int c);
+bool isAlpha(int c);
+bool isEngAlpha(int c);
+bool isDigit(int c);
+int toLower(int c);
+int toUpper(int c);
+char *strLower(char *s);
+char *strUpper(char *s);
+int stricmp(const char *s1, const char *s2, int Pos);
+char *findFirst(char *s, char c);
+char *findLast(char *s, char c);
+
struct TReadStream {
// VIRTUAL FUNCTIONS
// =========================================================================