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

Re: Yet another newbie

From: Greg Stein <gstein_at_lyra.org>
Date: 2000-08-09 14:58:34 CEST

We don't plan to use any leading underscores. External/visible symbols will
have one of two forms:

rettype svn_public_function(...)
rettype svn__private_function(...)

And we'll use static functions whereever possible:

static rettype some_function(...)

Cheers,
-g

On Wed, Aug 09, 2000 at 07:57:46AM -0400, Jonathan S. Shapiro wrote:
> The ANSI C and C++ specifications both reserve names beginning with
> underscores for the exclusive use of the runtime system. Such names should
> definitely be avoided.
>
> > According to this snippet from the C++ spec., it's *possible* that names
> > with double underscores may conflict with symbols that are part of a C++
> > compiler's implementation. Different syntactic sugar should probably be
> > adopted for distinguishing between the SVN internal and external API to
> > avoid the possibility of this compiler symbol name conflict.
>

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:06 2006

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.