@weakify and @strongify Macros
Arkadiusz Holko: Original implementation of @weakify and @strongify macros is complex because they accept more than one parameter. To make the analysis simpler, we’ll introduce our own versions, accepting only one parameter each: #define weakify(var) __weak typeof(var) AHKWeak_##var = var; #define strongify(var) \ _Pragma(“clang diagnostic push”) \ _Pragma(“clang diagnostic ignored \”-Wshadow\””) \ __strong typeof(var) var … Continue reading @weakify and @strongify Macros
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed