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_bits_t


Hi!

I suggest to use scm_t instead of scm_bits_t for guile's low leve data
type.  Currently, scm_t is already used, but this is only to hold the
symbol 't, which seems to be solely for the purpose of providing support
for other languages.  It may even be that this should be deprecated or
simply removed.

At the moment, this change can very easily be performed without fear of
backwards compatibilty problems (assuming that the current definition is
not widely used), since there is no external code that uses
scm_bits_t.  Later, this would be more problematic.

One could argue, that scm_bits_t is an internal type and should only be
used to implement guile, but this is not really true, since every code
that extends guile and adds smobs has to deal with this data type.  Thus I
would prefer to have a nice and clean name for it from the start.

Best regards
Dirk Herrmann


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