This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Names in libguile


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]