You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Merge pull request #43383 from vnen/gdnative-string-header
GDNative: Define special char types in string.h
This commit is contained in:
@@ -35,8 +35,13 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
#include <stdint.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;
|
typedef char32_t godot_char_type;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user