Lines Matching refs:fn
189 #define APR_DECLARE_LATE_DLL_FUNC(lib, rettype, calltype, fn, ord, args, names) \
190 typedef rettype (calltype *apr_winapi_fpt_##fn) args; \
191 static apr_winapi_fpt_##fn apr_winapi_pfn_##fn = NULL; \
192 static int apr_winapi_chk_##fn = 0; \
193 static APR_INLINE int apr_winapi_ld_##fn(void) \
194 { if (apr_winapi_pfn_##fn) return 1; \
195 if (apr_winapi_chk_##fn ++) return 0; \
196 if (!apr_winapi_pfn_##fn) \
197 apr_winapi_pfn_##fn = (apr_winapi_fpt_##fn) \
198 apr_load_dll_func(lib, #fn, ord); \
199 if (apr_winapi_pfn_##fn) return 1; else return 0; }; \
200 static APR_INLINE rettype apr_winapi_##fn args \
201 { if (apr_winapi_ld_##fn()) \
202 return (*(apr_winapi_pfn_##fn)) names; \
205 #define APR_HAVE_LATE_DLL_FUNC(fn) apr_winapi_ld_##fn()
217 * fn is the true function name - beware Ansi/Unicode #defined macros