aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/unicode.h
diff options
context:
space:
mode:
authorPaul Gilbert2018-12-09 11:36:20 -0800
committerPaul Gilbert2018-12-09 11:36:20 -0800
commit7637edb5a2e84c0abbf1c1aa156772ce1f7906c3 (patch)
tree4c35ef8cf96ffd4148a19dafaf082a0209d0416a /engines/glk/unicode.h
parent9809e19f48f750c79068baf3a0681c6a0233a083 (diff)
downloadscummvm-rg350-7637edb5a2e84c0abbf1c1aa156772ce1f7906c3.tar.gz
scummvm-rg350-7637edb5a2e84c0abbf1c1aa156772ce1f7906c3.tar.bz2
scummvm-rg350-7637edb5a2e84c0abbf1c1aa156772ce1f7906c3.zip
GLK: Change all references to glui32 and glsi32 to uint and int
This should finally fix compilation for the Amiga, which had difference sized types. And the renamed types are clearer for ScummVM anyway
Diffstat (limited to 'engines/glk/unicode.h')
-rw-r--r--engines/glk/unicode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/glk/unicode.h b/engines/glk/unicode.h
index f49a841616..07a3e0ac7e 100644
--- a/engines/glk/unicode.h
+++ b/engines/glk/unicode.h
@@ -27,7 +27,7 @@
namespace Glk {
-typedef glui32 gli_case_block_t[2]; // upper, lower
+typedef uint gli_case_block_t[2]; // upper, lower
enum BufferChangeCase { CASE_UPPER = 0, CASE_LOWER = 1, CASE_TITLE = 2, CASE_IDENT = 3 };
enum BufferChangeCond { COND_ALL = 0, COND_LINESTART = 1 };
@@ -43,8 +43,8 @@ size_t strlen_uni(const uint32 *s);
* the return value will be the full number of characters that the
*converted string should have contained.
*/
-extern glui32 bufferChangeCase(glui32 *buf, glui32 len,
- glui32 numchars, BufferChangeCase destcase, BufferChangeCond cond, int changerest);
+extern uint bufferChangeCase(uint *buf, uint len,
+ uint numchars, BufferChangeCase destcase, BufferChangeCond cond, int changerest);
} // End of namespace Glk