NodePath initial cleanup.

This commit is contained in:
Relintai 2023-05-26 19:27:12 +02:00
parent 3b9021453f
commit 9ff7392610

View File

@ -58,29 +58,37 @@ typedef struct {
extern "C" {
#endif
void GDAPI pandemonium_node_path_new(pandemonium_node_path *r_dest, const pandemonium_string *p_from);
void GDAPI pandemonium_node_path_new_copy(pandemonium_node_path *r_dest, const pandemonium_node_path *p_src);
void GDAPI pandemonium_node_path_destroy(pandemonium_node_path *p_self);
pandemonium_string GDAPI pandemonium_node_path_as_string(const pandemonium_node_path *p_self);
//_FORCE_INLINE_ StringName get_sname() const {
pandemonium_bool GDAPI pandemonium_node_path_is_absolute(const pandemonium_node_path *p_self);
pandemonium_int GDAPI pandemonium_node_path_get_name_count(const pandemonium_node_path *p_self);
pandemonium_string GDAPI pandemonium_node_path_get_name(const pandemonium_node_path *p_self, const pandemonium_int p_idx);
pandemonium_int GDAPI pandemonium_node_path_get_subname_count(const pandemonium_node_path *p_self);
pandemonium_string GDAPI pandemonium_node_path_get_subname(const pandemonium_node_path *p_self, const pandemonium_int p_idx);
//Vector<StringName> get_names() const;
//Vector<StringName> get_subnames() const;
pandemonium_string GDAPI pandemonium_node_path_get_concatenated_subnames(const pandemonium_node_path *p_self);
//NodePath rel_path_to(const NodePath &p_np) const;
pandemonium_node_path pandemonium_node_path_get_as_property_path(const pandemonium_node_path *p_self);
//void prepend_period();
//_FORCE_INLINE_ uint32_t hash() const {
pandemonium_string GDAPI pandemonium_node_path_as_string(const pandemonium_node_path *p_self);
pandemonium_bool GDAPI pandemonium_node_path_is_empty(const pandemonium_node_path *p_self);
pandemonium_bool GDAPI pandemonium_node_path_operator_equal(const pandemonium_node_path *p_self, const pandemonium_node_path *p_b);
pandemonium_node_path pandemonium_node_path_get_as_property_path(const pandemonium_node_path *p_self);
//void simplify();
//NodePath simplified() const;
//NodePath(const Vector<StringName> &p_path, bool p_absolute);
//NodePath(const Vector<StringName> &p_path, const Vector<StringName> &p_subpath, bool p_absolute);
void GDAPI pandemonium_node_path_new(pandemonium_node_path *r_dest, const pandemonium_string *p_from);
void GDAPI pandemonium_node_path_new_copy(pandemonium_node_path *r_dest, const pandemonium_node_path *p_src);
void GDAPI pandemonium_node_path_destroy(pandemonium_node_path *p_self);
#ifdef __cplusplus
}