virtualx-engine/core
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
..
config Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
crypto Merge pull request #56130 from Faless/mbedtls/2.28.0 2022-01-11 15:03:28 +01:00
debugger Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
error Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
extension Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
input Merge pull request #56322 from madmiraal/fix-42450 2022-01-11 11:33:59 +01:00
io Allow method binds to take Object subclasses as arguments 2022-01-25 09:03:36 -07:00
math Merge pull request #56492 from akien-mga/remove-author-docstrings 2022-01-12 15:24:17 +01:00
multiplayer Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
object Merge pull request #56492 from akien-mga/remove-author-docstrings 2022-01-12 15:24:17 +01:00
os Merge pull request #56492 from akien-mga/remove-author-docstrings 2022-01-12 15:24:17 +01:00
string Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
templates Merge pull request #56492 from akien-mga/remove-author-docstrings 2022-01-12 15:24:17 +01:00
variant Allow method binds to take Object subclasses as arguments 2022-01-25 09:03:36 -07:00
core_bind.cpp Use List Initializations for Vectors. 2022-01-12 10:15:12 +05:45
core_bind.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
core_builders.py Use maximum zlib compression when generating editor translation headers 2021-10-29 19:07:48 +02:00
core_constants.cpp Merge pull request #56224 from Calinou/variant-rename-packed-array-constants 2022-01-06 17:08:36 +01:00
core_constants.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
core_string_names.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
core_string_names.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
doc_data.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
doc_data.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
register_core_types.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
register_core_types.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
SCsub SCons: List .gen.cpp sources explicitly to avoid globbing errors 2021-10-15 22:14:11 +02:00
typedefs.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
version.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00