godot/tests/core/object
TechnoPorg 051ef479c9 Allow method binds to take Object subclasses as arguments
This commit adds a condition to VariantCaster that casts Variants of type OBJECT to any type T, if T is derived from Object.
This change enables a fair bit of code cleanup. First, the Variant implicit cast operators for Node and Control can be removed, which allows for some invalid includes to be removed. Second, helper methods in Tree whose sole purpose was to cast arguments to TreeItem * are no longer necessary.
A few small changes also had to be made to other files, due to the changes cascading down all the includes.
2022-01-25 09:03:36 -07:00
..
test_class_db.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
test_method_bind.h Allow method binds to take Object subclasses as arguments 2022-01-25 09:03:36 -07:00
test_object.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00