mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Core: Fix JSON.{from,to}_native() issues
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user