mirror of
https://github.com/Relintai/gdnative.git
synced 2024-11-14 04:57:22 +01:00
Fix warning.
This commit is contained in:
parent
ba6d070503
commit
5ac196aca5
@ -59,10 +59,9 @@ char GDAPI pandemonium_char_16_string_get(const pandemonium_char_16_string *p_se
|
|||||||
*((char *)&dest) = self->get(p_index);
|
*((char *)&dest) = self->get(p_index);
|
||||||
return dest;
|
return dest;
|
||||||
}
|
}
|
||||||
void GDAPI pandemonium_char_16_string_set(pandemonium_char_16_string *p_self, pandemonium_int p_index, const char p_elem) {
|
void GDAPI pandemonium_char_16_string_set(pandemonium_char_16_string *p_self, pandemonium_int p_index, const char16_t p_elem) {
|
||||||
Char16String *self = (Char16String *)p_self;
|
Char16String *self = (Char16String *)p_self;
|
||||||
const char *elem = (const char *)p_elem;
|
self->set(p_index, p_elem);
|
||||||
self->set(p_index, *elem);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pandemonium_int GDAPI pandemonium_char_16_string_length(const pandemonium_char_16_string *p_cs) {
|
pandemonium_int GDAPI pandemonium_char_16_string_length(const pandemonium_char_16_string *p_cs) {
|
||||||
|
@ -85,7 +85,7 @@ pandemonium_int GDAPI pandemonium_char_16_string_size(const pandemonium_char_16_
|
|||||||
pandemonium_error GDAPI pandemonium_char_16_string_resize(pandemonium_char_16_string *p_self, pandemonium_int p_size);
|
pandemonium_error GDAPI pandemonium_char_16_string_resize(pandemonium_char_16_string *p_self, pandemonium_int p_size);
|
||||||
|
|
||||||
char GDAPI pandemonium_char_16_string_get(const pandemonium_char_16_string *p_self, pandemonium_int p_index);
|
char GDAPI pandemonium_char_16_string_get(const pandemonium_char_16_string *p_self, pandemonium_int p_index);
|
||||||
void GDAPI pandemonium_char_16_string_set(pandemonium_char_16_string *p_self, pandemonium_int p_index, const char p_elem);
|
void GDAPI pandemonium_char_16_string_set(pandemonium_char_16_string *p_self, pandemonium_int p_index, const char16_t p_elem);
|
||||||
|
|
||||||
//_FORCE_INLINE_ void operator=(const Char16String &p_str);
|
//_FORCE_INLINE_ void operator=(const Char16String &p_str);
|
||||||
//void operator=(const char *p_cstr);
|
//void operator=(const char *p_cstr);
|
||||||
|
Loading…
Reference in New Issue
Block a user