apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: [PATCH] WIN32 allow destructors for apr_threadkey_private
Date Wed, 23 Aug 2006 15:09:33 GMT
Garrett Rooney wrote:
>> It is not shared except between two files inside the APR,
>> and as such is library local variable.
> That doesn't mean it shouldn't be prefixed.  The prefix is there to
> ensure that our public symbols don't conflict with symbols defined by
> users of the library.  If it's non-static then it should be prefixed.

But it is not public symbol, and if its is not public,
then no one can guarantee a duplicate symbol linker error
will never happen, unless you say:
"You must not use anything prefixed with apr_ inside
your program, because we might already defined that
symbol locally", and that user complies with that
rule of thumb.


View raw message