[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: build error on win32

From: Cliff Woolley <jwoolley_at_virginia.edu>
Date: 2002-05-29 22:13:10 CEST

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 1 14:23:38 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.