GDScript: Fix test for read-only state of constants
This commit is contained in:
parent
d1e5903c67
commit
abe6d67232
14 changed files with 43 additions and 52 deletions
|
|
@ -2179,6 +2179,8 @@ static void _register_variant_builtin_methods() {
|
|||
bind_method(Dictionary, values, sarray(), varray());
|
||||
bind_method(Dictionary, duplicate, sarray("deep"), varray(false));
|
||||
bind_method(Dictionary, get, sarray("key", "default"), varray(Variant()));
|
||||
bind_method(Dictionary, make_read_only, sarray(), varray());
|
||||
bind_method(Dictionary, is_read_only, sarray(), varray());
|
||||
|
||||
/* Array */
|
||||
|
||||
|
|
@ -2226,7 +2228,7 @@ static void _register_variant_builtin_methods() {
|
|||
bind_method(Array, get_typed_builtin, sarray(), varray());
|
||||
bind_method(Array, get_typed_class_name, sarray(), varray());
|
||||
bind_method(Array, get_typed_script, sarray(), varray());
|
||||
bind_method(Array, set_read_only, sarray("enable"), varray());
|
||||
bind_method(Array, make_read_only, sarray(), varray());
|
||||
bind_method(Array, is_read_only, sarray(), varray());
|
||||
|
||||
/* Byte Array */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue