This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Names in libguile
- To: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Subject: Re: Names in libguile
- From: "Greg J. Badros" <gjb at cs dot washington dot edu>
- Date: 17 Mar 2000 08:31:47 -0800
- Cc: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>, Guile Mailing List <guile at sourceware dot cygnus dot com>
- References: <Pine.LNX.4.21.0003170856100.1999-100000@marvin.ida.ing.tu-bs.de>
Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:
> On 16 Mar 2000, Mikael Djurfeldt wrote:
>
> > Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:
> >
> > > String literals with global scope has the prefix scm_s_. (Greg
> > > introduced the prefix s_scm_ but this has to change to scm_s_ since
> > > s_scm_ trespasses the user's namespace.)
> >
> > Not correct: Those names have module-local scope and does not trespass
> > user name space.
>
> Which does not mean that it wouldn`t be better to have these named
> consistently, too.
Well you could rename them to scm_xxxx_s (i.e., append _s), but you
aren't going to be able to make them scm_s_xxxx because I create then
name using cpp pasting in snarf.h. see, e.g., the SCM_INIT macro
there.
Greg