summaryrefslogtreecommitdiffstats
path: root/src/core/common.h
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-10-04 21:18:33 +0200
committerGitHub <noreply@github.com>2020-10-04 21:18:33 +0200
commitea4007a13c844007b5b5ad06b6e01941cbd66e10 (patch)
tree32195602f9ba72f90ff2dbe4a2a1447f339012e1 /src/core/common.h
parentsmall fix (diff)
parentMerge branch 'master' into master (diff)
downloadre3-ea4007a13c844007b5b5ad06b6e01941cbd66e10.tar
re3-ea4007a13c844007b5b5ad06b6e01941cbd66e10.tar.gz
re3-ea4007a13c844007b5b5ad06b6e01941cbd66e10.tar.bz2
re3-ea4007a13c844007b5b5ad06b6e01941cbd66e10.tar.lz
re3-ea4007a13c844007b5b5ad06b6e01941cbd66e10.tar.xz
re3-ea4007a13c844007b5b5ad06b6e01941cbd66e10.tar.zst
re3-ea4007a13c844007b5b5ad06b6e01941cbd66e10.zip
Diffstat (limited to 'src/core/common.h')
-rw-r--r--src/core/common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/common.h b/src/core/common.h
index 9b5c2369..ef3da265 100644
--- a/src/core/common.h
+++ b/src/core/common.h
@@ -219,6 +219,8 @@ public:
extern int strcasecmp(const char *str1, const char *str2);
#endif
+extern wchar *AllocUnicode(const char*src);
+
#define clamp(v, low, high) ((v)<(low) ? (low) : (v)>(high) ? (high) : (v))
inline float sq(float x) { return x*x; }
@@ -444,4 +446,4 @@ inline T *WriteSaveBuf(uint8 *&buf, const T &value)
assert(ReadSaveBuf<uint32>(buf) == size);
-void cprintf(char*, ...); \ No newline at end of file
+void cprintf(char*, ...);