EngineAPI: Expose strings as UTF8 instead of UTF16

This commit is contained in:
Lukas Joergensen 2019-08-03 15:03:20 +02:00 committed by Lukas Aldershaab
parent 0b5fd8db6e
commit 68b6884665
2 changed files with 18 additions and 10 deletions

View file

@ -34,6 +34,7 @@ IMPLEMENT_PRIMITIVE( U32, uint,, "32bit unsigned integer." );
IMPLEMENT_PRIMITIVE( F32, float,, "32bit single-precision floating-point." );
IMPLEMENT_PRIMITIVE( F64, double,, "64bit double-precision floating-point." );
IMPLEMENT_PRIMITIVE( String, string,, "Null-terminated UTF-16 Unicode string." );
IMPLEMENT_PRIMITIVE( const UTF8*, cstring,, "Null-terminated UTF-8 Unicode string.");
IMPLEMENT_PRIMITIVE( void*, ptr,, "Opaque pointer." );
// Define pointer types for vectors.