Skip to content

Commit

Permalink
Update AAGlobalMacro.h
Browse files Browse the repository at this point in the history
  • Loading branch information
AAChartModel committed Aug 27, 2024
1 parent b6b47e2 commit 8b2bd37
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions AAChartKit/AAChartCreator/AAGlobalMacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit 8b2bd37

Please sign in to comment.