Lines Matching refs:Name
65 #define WIN_WEAK_ALIAS(Name, Default) \
66 __pragma(comment(linker, "/alternatename:" WIN_SYM_PREFIX STRINGIFY(Name) "="\
69 #define WIN_FORCE_LINK(Name) \
70 __pragma(comment(linker, "/include:" WIN_SYM_PREFIX STRINGIFY(Name)))
72 #define WIN_EXPORT(ExportedName, Name) \
74 "=" WIN_EXPORT_PREFIX STRINGIFY(Name)))
86 # define WEAK_DEFAULT_NAME(Name) Name##__def
87 // Name for exported implementation of weak function.
88 # define WEAK_EXPORT_NAME(Name) Name##__dll
93 # define WIN_WEAK_EXPORT_DEF(ReturnType, Name, ...) \
94 WIN_WEAK_ALIAS(Name, WEAK_DEFAULT_NAME(Name)) \
95 WIN_EXPORT(WEAK_EXPORT_NAME(Name), Name) \
96 extern "C" ReturnType Name(__VA_ARGS__); \
97 extern "C" ReturnType WEAK_DEFAULT_NAME(Name)(__VA_ARGS__)
102 # define WIN_WEAK_IMPORT_DEF(Name) \
103 WIN_WEAK_ALIAS(Name, WEAK_EXPORT_NAME(Name))