-
See https://www.codeproject.com/articles/118921/c-properties @halx99 what are you mean? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
No idea. |
Beta Was this translation helpful? Give feedback.
-
Adding something like this would cause a lot more problems than it solves. It would also make debugging harder, as macros always do. It's been done before in Cocos2d-x, and eventually their usage was removed. Just look at
If you search for Please don't complicate the engine code by using macros like that. |
Beta Was this translation helpful? Give feedback.
Adding something like this would cause a lot more problems than it solves. It would also make debugging harder, as macros always do.
It's been done before in Cocos2d-x, and eventually their usage was removed. Just look at
CCPlatformMacros.h
, with an example beingCC_PROPERTY
:If you search for
CC_PROPERTY
in the platform, you won't find any usage of it.Pl…