summaryrefslogtreecommitdiff
path: root/src/3rdparty/squirrel/include
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-09-07 06:46:03 +0000
committerrubidium <rubidium@openttd.org>2014-09-07 06:46:03 +0000
commitf41b4a8e1bc6176670cf31b06e90c14a93a378f7 (patch)
treeb67731aa5dd57be36a608ae88b998bccd219d3b9 /src/3rdparty/squirrel/include
parent6bf8a63ed99f17098f185b84886200af9afa6379 (diff)
downloadopenttd-f41b4a8e1bc6176670cf31b06e90c14a93a378f7.tar.xz
(svn r26784) -Codechange [Squirrel]: use WChar for the lexer
Diffstat (limited to 'src/3rdparty/squirrel/include')
-rw-r--r--src/3rdparty/squirrel/include/squirrel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/3rdparty/squirrel/include/squirrel.h b/src/3rdparty/squirrel/include/squirrel.h
index b71de1473..adb2390fc 100644
--- a/src/3rdparty/squirrel/include/squirrel.h
+++ b/src/3rdparty/squirrel/include/squirrel.h
@@ -31,6 +31,8 @@ to the following restrictions:
#ifndef _SQUIRREL_H_
#define _SQUIRREL_H_
+#include "../../../string_type.h"
+
typedef __int64 SQInteger;
typedef unsigned __int64 SQUnsignedInteger;
typedef unsigned __int64 SQHash; /*should be the same size of a pointer*/
@@ -178,7 +180,7 @@ typedef void (*SQPRINTFUNCTION)(HSQUIRRELVM,const SQChar * ,...);
typedef SQInteger (*SQWRITEFUNC)(SQUserPointer,SQUserPointer,SQInteger);
typedef SQInteger (*SQREADFUNC)(SQUserPointer,SQUserPointer,SQInteger);
-typedef SQInteger (*SQLEXREADFUNC)(SQUserPointer);
+typedef WChar (*SQLEXREADFUNC)(SQUserPointer);
typedef struct tagSQRegFunction{
const SQChar *name;