diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-11-10 09:40:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 09:40:26 +0100 |
commit | b51dca64a6f8700cdbcc07aa8940ed847316d4d8 (patch) | |
tree | f1f3dbb851d05931e232e418f595565af5748e69 /modules/gdnative | |
parent | 5d89b1ad434827169c9d8e221f1da6eac7de7ba8 (diff) | |
parent | 82576371efd101a2ad07284dd338b5e5813a5a45 (diff) |
Merge pull request #43383 from vnen/gdnative-string-header
GDNative: Define special char types in string.h
Diffstat (limited to 'modules/gdnative')
-rw-r--r-- | modules/gdnative/include/gdnative/string.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/gdnative/include/gdnative/string.h b/modules/gdnative/include/gdnative/string.h index 0582d95f63..6043351e84 100644 --- a/modules/gdnative/include/gdnative/string.h +++ b/modules/gdnative/include/gdnative/string.h @@ -35,8 +35,13 @@ extern "C" { #endif +#include <stddef.h> #include <stdint.h> -#include <wchar.h> + +#ifndef __cplusplus +typedef uint32_t char32_t; +typedef uint16_t char16_t; +#endif typedef char32_t godot_char_type; |