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]

SCM_NUM2LONG_DEF fix?


Hello!

I'm posting to this list first time although I've been following it for
some time already. I hope to join the developement team of guile
sometimes but until then I have one question:

Should the following line in scm_validate.h:

#define SCM_NUM2LONG_DEF(pos,arg,def) (SCM_UNBNDP(arg)?SCM_MAKINUM(def):(scm_num2long(arg, (char *) pos, FUNC_NAME)))
                                                       ^^^^^^^^^^^^^^^^
be like this:

#define SCM_NUM2LONG_DEF(pos,arg,def) (SCM_UNBNDP(arg)?(def):(scm_num2long(arg, (char *) pos, FUNC_NAME)))
                                                       ^^^^^
?

--
jonis

"Good health" is merely the slowest rate at which one can die.


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