* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice. */
-/* Software engineering face-lift by Greg J. Badros, 11-Dec-1999,
- gjb@cs.washington.edu, http://www.cs.washington.edu/homes/gjb */
\f
static SCM
scm_smob_apply_1_001 (SCM smob, SCM a1)
{
- return SCM_SMOB_APPLY1 (smob, SCM_LIST1 (a1));
+ return SCM_SMOB_APPLY1 (smob, scm_list_1 (a1));
}
static SCM
static SCM
scm_smob_apply_2_001 (SCM smob, SCM a1, SCM a2)
{
- return SCM_SMOB_APPLY1 (smob, SCM_LIST2 (a1, a2));
+ return SCM_SMOB_APPLY1 (smob, scm_list_2 (a1, a2));
}
static SCM
scm_smob_apply_2_011 (SCM smob, SCM a1, SCM a2)
{
- return SCM_SMOB_APPLY2 (smob, a1, SCM_LIST1 (a2));
+ return SCM_SMOB_APPLY2 (smob, a1, scm_list_1 (a2));
}
static SCM
\f
-scm_bits_t
+scm_t_bits
scm_make_smob_type (char *name, size_t size)
#define FUNC_NAME "scm_make_smob_type"
{
void
-scm_set_smob_mark (scm_bits_t tc, SCM (*mark) (SCM))
+scm_set_smob_mark (scm_t_bits tc, SCM (*mark) (SCM))
{
scm_smobs[SCM_TC2SMOBNUM (tc)].mark = mark;
}
void
-scm_set_smob_free (scm_bits_t tc, size_t (*free) (SCM))
+scm_set_smob_free (scm_t_bits tc, size_t (*free) (SCM))
{
scm_smobs[SCM_TC2SMOBNUM (tc)].free = free;
}
void
-scm_set_smob_print (scm_bits_t tc, int (*print) (SCM, SCM, scm_print_state*))
+scm_set_smob_print (scm_t_bits tc, int (*print) (SCM, SCM, scm_print_state*))
{
scm_smobs[SCM_TC2SMOBNUM (tc)].print = print;
}
void
-scm_set_smob_equalp (scm_bits_t tc, SCM (*equalp) (SCM, SCM))
+scm_set_smob_equalp (scm_t_bits tc, SCM (*equalp) (SCM, SCM))
{
scm_smobs[SCM_TC2SMOBNUM (tc)].equalp = equalp;
}
void
-scm_set_smob_apply (scm_bits_t tc, SCM (*apply) (),
+scm_set_smob_apply (scm_t_bits tc, SCM (*apply) (),
unsigned int req, unsigned int opt, unsigned int rst)
{
SCM (*apply_0) (SCM);
}
SCM
-scm_make_smob (scm_bits_t tc)
+scm_make_smob (scm_t_bits tc)
{
long n = SCM_TC2SMOBNUM (tc);
size_t size = scm_smobs[n].size;
scm_smob_prehistory ()
{
long i;
- scm_bits_t tc;
+ scm_t_bits tc;
scm_numsmob = 0;
for (i = 0; i < MAX_SMOB_COUNT; ++i)