summaryrefslogtreecommitdiffstats
path: root/core/variant/variant_setget.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix object check on Variant key checkerGeorge Marques2020-12-101-1/+1
|
* Use pointer parameters in Variant function pointersGeorge Marques2020-12-101-115/+107
| | | | | | Instead of references. This is needed because those function pointers are used in GDNative which needs to work with plain C, which doesn't support passing parameters by reference.
* Variant: Merge get() and validated_get()George Marques2020-11-201-92/+2
| | | | | Since they do pretty much the same thing. The validated_get() was renamed to get() since that is more performant.
* Fix variant getters not setting return typeGeorge Marques2020-11-201-0/+12
| | | | | | The validated getters were only setting the value without changing the type, leading to wrong results. This uses the same path used for methods to the same purpose.
* Variant: Rename Type::_RID to Type::RIDRémi Verschelde2020-11-091-1/+1
| | | | | | | | The underscore prefix was used to avoid the conflict between the `RID` class name and the matching enum value in `Variant::Type`. This can be fixed differently by prefixing uses of the `RID` class in `Variant` with the scope resolution operator, as done already for `AABB`.
* Refactored variant constructor logicreduz2020-11-091-2/+2
|
* Reorganized core/ directory, it was too fatty alreadyreduz2020-11-071-0/+2587
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code