This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
scm_bits_t
- To: Guile Mailing List <guile at sourceware dot cygnus dot com>, Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Subject: scm_bits_t
- From: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Date: Tue, 14 Mar 2000 11:58:34 +0100 (MET)
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