apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr-util/include apr_optional_hooks.h
Date Tue, 16 Oct 2001 21:34:29 GMT
wrowe       01/10/16 14:34:29

  Modified:    include  apr_optional_hooks.h
  Log:
    Ugly, yes.  This eliminates the gpfault on win32 when invoking
    APR_OPTIONAL_HOOK.  The APR_THREAD_FUNC really could be promoted to
    simply APR_STD_FUNC or APR_CALLBACK ... it basically wraps the win32
    __stdcall convention we require, since apr_optional_hook_add was
    declared APU_DECLARE() rather than APU_DECLARE_NONSTD().
  
    Bill
  
  Revision  Changes    Path
  1.5       +1 -1      apr-util/include/apr_optional_hooks.h
  
  Index: apr_optional_hooks.h
  ===================================================================
  RCS file: /home/cvs/apr-util/include/apr_optional_hooks.h,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- apr_optional_hooks.h	2001/09/09 05:54:35	1.4
  +++ apr_optional_hooks.h	2001/10/16 21:34:29	1.5
  @@ -99,7 +99,7 @@
    */
   
   #define APR_OPTIONAL_HOOK(ns,name,pfn,aszPre,aszSucc,nOrder) \
  -    ((void (*)(const char *,ns##_HOOK_##name##_t *,const char * const *, \
  +    ((void (APR_THREAD_FUNC *)(const char *,ns##_HOOK_##name##_t *,const char * const *,
\
   	       const char * const *,int))&apr_optional_hook_add)(#name,pfn,aszPre, \
   							   aszSucc, nOrder)
   
  
  
  

Mime
View raw message