From 8b2bd3718b7eeb9afe233ec37f35921249e0d1de Mon Sep 17 00:00:00 2001 From: AAChartModel <2236368544@qq.com> Date: Tue, 27 Aug 2024 19:21:05 +0800 Subject: [PATCH] Update AAGlobalMacro.h --- AAChartKit/AAChartCreator/AAGlobalMacro.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/AAChartKit/AAChartCreator/AAGlobalMacro.h b/AAChartKit/AAChartCreator/AAGlobalMacro.h index 526596b49..59c79364b 100644 --- a/AAChartKit/AAChartCreator/AAGlobalMacro.h +++ b/AAChartKit/AAChartCreator/AAGlobalMacro.h @@ -44,12 +44,12 @@ @property(nonatomic, propertyModifier) propertyPointerType propertyName; \ - (className * (^)(propertyPointerType propertyName))propertyName##Set; -#define AAPropSetFuncImplementation(className, propertyPointerType, propertyName) \ -- (className * (^)(propertyPointerType propertyName))propertyName##Set { \ - return ^(propertyPointerType propertyName) { \ - self->_##propertyName = propertyName; \ - return self; \ - }; \ +#define AAPropSetFuncImplementation(className, propertyPointerType, propertyName) \ +- (className * (^)(propertyPointerType propertyName))propertyName##Set { \ + return ^(propertyPointerType propertyName) { \ + self->_##propertyName = propertyName; \ + return self; \ + }; \ } #define AAJSFuncTypePropSetFuncImplementation(className, propertyPointerType, propertyName) \