Lines Matching refs:Name
67 #define WIN_WEAK_ALIAS(Name, Default) \
68 __pragma(comment(linker, "/alternatename:" WIN_SYM_PREFIX STRINGIFY(Name) "="\
71 #define WIN_FORCE_LINK(Name) \
72 __pragma(comment(linker, "/include:" WIN_SYM_PREFIX STRINGIFY(Name)))
74 #define WIN_EXPORT(ExportedName, Name) \
76 "=" WIN_EXPORT_PREFIX STRINGIFY(Name)))
88 # define WEAK_DEFAULT_NAME(Name) Name##__def
89 // Name for exported implementation of weak function.
90 # define WEAK_EXPORT_NAME(Name) Name##__dll
95 # define WIN_WEAK_EXPORT_DEF(ReturnType, Name, ...) \
96 WIN_WEAK_ALIAS(Name, WEAK_DEFAULT_NAME(Name)) \
97 WIN_EXPORT(WEAK_EXPORT_NAME(Name), Name) \
98 extern "C" ReturnType Name(__VA_ARGS__); \
99 extern "C" ReturnType WEAK_DEFAULT_NAME(Name)(__VA_ARGS__)
104 # define WIN_WEAK_IMPORT_DEF(Name) \
105 WIN_WEAK_ALIAS(Name, WEAK_EXPORT_NAME(Name))