We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@BeeHiveService(UserTrackServiceProtocol,BHUserTrackViewController)
#define BeeHiveService(servicename,impl) class BeeHive; char * k##servicename##_service BeeHiveDATA(BeehiveServices) = "{ ""#servicename"" : ""#impl""}";
The text was updated successfully, but these errors were encountered:
@BeeHiveService(UserTrackServiceProtocol,BHUserTrackViewController) #define BeeHiveService(servicename,impl) class BeeHive; char * k##servicename##_service BeeHiveDATA(BeehiveServices) = "{ ""#servicename"" : ""#impl""}";
不是的 实际上是 @ 和 宏里面的 class BeeHive 字符串拼接成 一个 forward class 类的声明 @class BeeHive
@
class BeeHive
@class BeeHive
Sorry, something went wrong.
哦 , 那 ## 是什么意思呢
## 是宏字符串连接
##
哦 , 那 ## 是什么意思呢 ## 是宏字符串连接
其实不能叫字符串连接,应该算是字面量连接,毕竟是不带引号的
No branches or pull requests
@BeeHiveService(UserTrackServiceProtocol,BHUserTrackViewController)
#define BeeHiveService(servicename,impl)
class BeeHive; char * k##servicename##_service BeeHiveDATA(BeehiveServices) = "{ ""#servicename"" : ""#impl""}";
The text was updated successfully, but these errors were encountered: