This is the mail archive of the guile@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] |
> > - What's the point in having gh_number_p but not gh_integer_p and the > > like, if people will need to mix the APIs anyway ? > > Arg! there IS a gh_number_p() -- but you have to look at the source code > to find it, this time I looked at the info files. He wasn't claiming that there was no gh_number_p. The problem is, that there is no gh_integer_p. From the gh_ API you can figure out whether a SCM represents a number, but you can't say whether it will fit into a C int type (or long, etc.). Best regards, Dirk Herrmann