diff --git a/include/godot_cpp/variant/char_string.hpp b/include/godot_cpp/variant/char_string.hpp index f8f51696..fef6a718 100644 --- a/include/godot_cpp/variant/char_string.hpp +++ b/include/godot_cpp/variant/char_string.hpp @@ -120,6 +120,18 @@ protected: void copy_from(const T *p_cstr); }; +template <> +const char *CharStringT::get_data() const; + +template <> +const char16_t *CharStringT::get_data() const; + +template <> +const char32_t *CharStringT::get_data() const; + +template <> +const wchar_t *CharStringT::get_data() const; + typedef CharStringT CharString; typedef CharStringT Char16String; typedef CharStringT Char32String;