Renamed from SCMWORD.
static void
read_frame (scm_debug_frame *dframe,long offset,scm_info_frame *iframe)
{
- SCMWORD flags = SCM_BITS (SCM_INUM0); /* UGh. */
+ scm_bits_t flags = SCM_BITS (SCM_INUM0); /* UGh. */
int size;
scm_debug_info *info;
if (SCM_EVALFRAMEP (*dframe))
typedef struct scm_info_frame {
//SCM flags;
- SCMWORD flags;
+ scm_bits_t flags;
SCM source;
SCM proc;
SCM args;
SCM *p = block + n_extra;
/* Adjust it even further so it's aligned on an eight-byte boundary. */
- p = (SCM *) (((SCMWORD) SCM_BITS (p) + 7) & ~7);
+ p = (SCM *) (((scm_bits_t) SCM_BITS (p) + 7) & ~7);
/* Initialize a few fields as described above. */
p[scm_struct_i_free] = (SCM) scm_struct_free_standard;
SCM * data;
SCM layout;
int p;
- SCMWORD n_fields;
+ scm_bits_t n_fields;
unsigned char * fields_desc;
unsigned char field_type = 0;
/* In the beginning was the Word:
*/
-typedef long SCMWORD;
+typedef long scm_bits_t;
/*
But as external interface, we use void*, which will be checked more strictly for
dubious conversions.
*/
#define SCM_VOIDP_TEST
#ifndef SCM_VOIDP_TEST
-typedef SCMWORD SCM;
+typedef scm_bits_t SCM;
#define SCM_BITS(x) (x)
#define SCM_SCM(x) (x)
#else
typedef void * SCM;
-#define SCM_BITS(x) ((SCMWORD) (x))
+#define SCM_BITS(x) ((scm_bits_t) (x))
#define SCM_SCM(x) ((SCM) (x))
#endif
\f
#define SCM_CELLP(x) (!SCM_NCELLP (x))
-#define SCM_NCELLP(x) ((sizeof (scm_cell) - 1) & (SCMWORD) SCM_BITS (x))
+#define SCM_NCELLP(x) ((sizeof (scm_cell) - 1) & SCM_BITS (x))
/* See numbers.h for macros relating to immediate integers.
*/
scm_putc ('*', port);
for (i = 0; i < (SCM_LENGTH (exp)) / SCM_LONG_BIT; i++)
{
- SCMWORD w = SCM_BITS (SCM_VELTS (exp)[i]);
+ scm_bits_t w = SCM_BITS (SCM_VELTS (exp)[i]);
for (j = SCM_LONG_BIT; j; j--)
{
scm_putc (w & 1 ? '1' : '0', port);