You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Style: Remove redundant DEBUG_METHODS_ENABLED
• Replaced with functionally identical and far more ubiquitous `DEBUG_ENABLED`
This commit is contained in:
@@ -1159,13 +1159,13 @@ String VariantUtilityFunctions::join_string(const Variant **p_args, int p_arg_co
|
||||
return s;
|
||||
}
|
||||
|
||||
#ifdef DEBUG_METHODS_ENABLED
|
||||
#ifdef DEBUG_ENABLED
|
||||
#define VCALLR *ret = p_func(VariantCasterAndValidate<P>::cast(p_args, Is, r_error)...)
|
||||
#define VCALL p_func(VariantCasterAndValidate<P>::cast(p_args, Is, r_error)...)
|
||||
#else
|
||||
#define VCALLR *ret = p_func(VariantCaster<P>::cast(*p_args[Is])...)
|
||||
#define VCALL p_func(VariantCaster<P>::cast(*p_args[Is])...)
|
||||
#endif
|
||||
#endif // DEBUG_ENABLED
|
||||
|
||||
template <typename R, typename... P, size_t... Is>
|
||||
static _FORCE_INLINE_ void call_helperpr(R (*p_func)(P...), Variant *ret, const Variant **p_args, Callable::CallError &r_error, IndexSequence<Is...>) {
|
||||
|
||||
Reference in New Issue
Block a user