Core: Fix JSON.{from,to}_native() issues

This commit is contained in:
Danil Alexeev
2024-11-27 18:15:49 +03:00
parent bbc54692c0
commit bd1a35ce9e
15 changed files with 1237 additions and 874 deletions

View File

@@ -35,11 +35,13 @@
#include <climits>
class Variant;
class ArrayPrivate;
class Callable;
class Object;
class StringName;
class Callable;
class Variant;
struct ArrayPrivate;
struct ContainerType;
class Array {
mutable ArrayPrivate *_p;
@@ -185,10 +187,14 @@ public:
const void *id() const;
void set_typed(const ContainerType &p_element_type);
void set_typed(uint32_t p_type, const StringName &p_class_name, const Variant &p_script);
bool is_typed() const;
bool is_same_typed(const Array &p_other) const;
bool is_same_instance(const Array &p_other) const;
ContainerType get_element_type() const;
uint32_t get_typed_builtin() const;
StringName get_typed_class_name() const;
Variant get_typed_script() const;