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: guile bugs



> > Hmmm... yea, it sure would've saved a lot of bugs in Scwm (especially
> > early on) if Scheme booleans could be treated as C booleans.  I
> > hypothesize that three changes would find a ton of bugs in Guile and Scwm:
> > 
> > 1) SCM_BOOL_F should be 0 so it is false in C
> 
> As Jim Blandy wrote, 0 is used for the (), ie the null pointer. 

Did I say that?

#define SCM_EOL			SCM_MAKIFLAG(20)
#define SCM_MAKIFLAG(n) 	(((n)<<9)+0x174L)

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