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]

Removing things from numbers.h


Hi!

Due to recent patches or even for some time, the following definitions
from numbers.h are not used throughout guile:

* SCM_SINGP
* SCM_REAL
* SCM_IMAG
* SCM_NUM2DBL
* scm_dblproc
* SCM_INEXP
* SCM_CPLXP
* SCM_REALPART
* scm_makdbl

The following definitions are only used within numbers.c and could be
moved from numbers.h to numbers.c.  (SCM_NEWCOMPLEX and SCM_NEWREAL are
even only used at one place and could be completely eliminated.)

* SCM_POSFIXABLE
* SCM_NEGFIXABLE
* SCM_UNEGFIXABLE
* SCM_FIXABLE
* SCM_FLOBUFLEN
* SCM_NEWREAL
* SCM_NEWCOMPLEX

Is it OK to just remove these from numbers.h, or do we have to assume that
people have used these definitions in their own code?

Best regards
Dirk Herrmann


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