|
@@ -473,7 +473,7 @@ protected:
|
|
|
initialize_class(); \
|
|
|
} \
|
|
|
_FORCE_INLINE_ bool (Object::*_get_get() const)(const StringName &p_name, Variant &) const { \
|
|
|
- return (bool(Object::*)(const StringName &, Variant &) const) & m_class::_get; \
|
|
|
+ return (bool (Object::*)(const StringName &, Variant &) const) & m_class::_get; \
|
|
|
} \
|
|
|
virtual bool _getv(const StringName &p_name, Variant &r_ret) const override { \
|
|
|
if (m_class::_get_get() != m_inherits::_get_get()) { \
|
|
@@ -484,7 +484,7 @@ protected:
|
|
|
return m_inherits::_getv(p_name, r_ret); \
|
|
|
} \
|
|
|
_FORCE_INLINE_ bool (Object::*_get_set() const)(const StringName &p_name, const Variant &p_property) { \
|
|
|
- return (bool(Object::*)(const StringName &, const Variant &)) & m_class::_set; \
|
|
|
+ return (bool (Object::*)(const StringName &, const Variant &)) & m_class::_set; \
|
|
|
} \
|
|
|
virtual bool _setv(const StringName &p_name, const Variant &p_property) override { \
|
|
|
if (m_inherits::_setv(p_name, p_property)) { \
|
|
@@ -496,7 +496,7 @@ protected:
|
|
|
return false; \
|
|
|
} \
|
|
|
_FORCE_INLINE_ void (Object::*_get_get_property_list() const)(List<PropertyInfo> * p_list) const { \
|
|
|
- return (void(Object::*)(List<PropertyInfo> *) const) & m_class::_get_property_list; \
|
|
|
+ return (void (Object::*)(List<PropertyInfo> *) const) & m_class::_get_property_list; \
|
|
|
} \
|
|
|
virtual void _get_property_listv(List<PropertyInfo> *p_list, bool p_reversed) const override { \
|
|
|
if (!p_reversed) { \
|
|
@@ -512,7 +512,7 @@ protected:
|
|
|
} \
|
|
|
} \
|
|
|
_FORCE_INLINE_ void (Object::*_get_validate_property() const)(PropertyInfo & p_property) const { \
|
|
|
- return (void(Object::*)(PropertyInfo &) const) & m_class::_validate_property; \
|
|
|
+ return (void (Object::*)(PropertyInfo &) const) & m_class::_validate_property; \
|
|
|
} \
|
|
|
virtual void _validate_propertyv(PropertyInfo &p_property) const override { \
|
|
|
m_inherits::_validate_propertyv(p_property); \
|
|
@@ -521,7 +521,7 @@ protected:
|
|
|
} \
|
|
|
} \
|
|
|
_FORCE_INLINE_ bool (Object::*_get_property_can_revert() const)(const StringName &p_name) const { \
|
|
|
- return (bool(Object::*)(const StringName &) const) & m_class::_property_can_revert; \
|
|
|
+ return (bool (Object::*)(const StringName &) const) & m_class::_property_can_revert; \
|
|
|
} \
|
|
|
virtual bool _property_can_revertv(const StringName &p_name) const override { \
|
|
|
if (m_class::_get_property_can_revert() != m_inherits::_get_property_can_revert()) { \
|
|
@@ -532,7 +532,7 @@ protected:
|
|
|
return m_inherits::_property_can_revertv(p_name); \
|
|
|
} \
|
|
|
_FORCE_INLINE_ bool (Object::*_get_property_get_revert() const)(const StringName &p_name, Variant &) const { \
|
|
|
- return (bool(Object::*)(const StringName &, Variant &) const) & m_class::_property_get_revert; \
|
|
|
+ return (bool (Object::*)(const StringName &, Variant &) const) & m_class::_property_get_revert; \
|
|
|
} \
|
|
|
virtual bool _property_get_revertv(const StringName &p_name, Variant &r_ret) const override { \
|
|
|
if (m_class::_get_property_get_revert() != m_inherits::_get_property_get_revert()) { \
|
|
@@ -543,7 +543,7 @@ protected:
|
|
|
return m_inherits::_property_get_revertv(p_name, r_ret); \
|
|
|
} \
|
|
|
_FORCE_INLINE_ void (Object::*_get_notification() const)(int) { \
|
|
|
- return (void(Object::*)(int)) & m_class::_notification; \
|
|
|
+ return (void (Object::*)(int)) & m_class::_notification; \
|
|
|
} \
|
|
|
virtual void _notification_forwardv(int p_notification) override { \
|
|
|
m_inherits::_notification_forwardv(p_notification); \
|