git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89136
13f79535-47bb-0310-9956-
ffa450edef68
int nOrder;
} hook_struct_t;
-typedef apr_array_header_t * (*hook_get_t)(void);
+/*
+ * hook_get_t is a pointer to a function that takes void as an argument and
+ * returns a pointer to an apr_array_header_t. The nasty WIN32 ifdef
+ * is required to account for the fact that the ap_hook* calls all use
+ * STDCALL calling convention.
+ */
+typedef apr_array_header_t * (
+#ifdef WIN32
+__stdcall
+#endif
+* hook_get_t)(void);
typedef struct {
const char *name;