Skip to content

Commit

Permalink
Determine if a utility function is pure
Browse files Browse the repository at this point in the history
  • Loading branch information
garychia committed Jan 18, 2024
1 parent 96296e4 commit bf4c90c
Show file tree
Hide file tree
Showing 5 changed files with 184 additions and 123 deletions.
1 change: 1 addition & 0 deletions core/variant/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,7 @@ class Variant {
static bool has_utility_function_return_value(const StringName &p_name);
static Variant::Type get_utility_function_return_type(const StringName &p_name);
static bool is_utility_function_vararg(const StringName &p_name);
static bool is_utility_function_const(const StringName &p_name); // For GDScript. Compile time constant. This is **not** `const` qualifier.
static uint32_t get_utility_function_hash(const StringName &p_name);

static void get_utility_function_list(List<StringName> *r_functions);
Expand Down
Loading

0 comments on commit bf4c90c

Please sign in to comment.