On Wed, 29 May 2002, Sander Striker wrote: > > While we're at it, apr_allocator_alloc and apr_allocator_free are also > > defined inline. I don't think that makes much sense, given the size of > > those functions. > > Hmm, so windows isn't smart enough to do both inlining and exporting? > I'd like the stuff inlined in apr_pools.c (for performance), but need > them exported for other callers than apr_pools.c. > > Suggestions?
Do the actual work in an APR_INLINE static function and have apr_allocator_set/get_mutex be exported wrapper functions? PS: The names should be apr_allocator_mutex_set/get and not apr_allocator_set/get_mutex for consistency with APR's naming convention. --Cliff
