}
#undef FUNC_NAME
-static void prep_hashsets (SCM);
-
SCM_DEFINE (scm_sys_inherit_magic_x, "%inherit-magic!", 2, 0, 0,
(SCM class, SCM dsupers),
"")
scm_i_struct_inherit_vtable_magic (SCM_CLASS_OF (class), class);
SCM_SET_CLASS_FLAGS (class, SCM_CLASSF_GOOPS_OR_VALID);
- prep_hashsets (class);
-
return SCM_UNSPECIFIED;
}
#undef FUNC_NAME
-static void
-prep_hashsets (SCM class)
-{
- unsigned int i;
-
- for (i = 0; i < 8; ++i)
- SCM_SET_HASHSET (class, i, scm_c_uniform32 (goops_rstate));
-}
-
/******************************************************************************/
SCM
SCM_SET_SLOT (z, scm_si_getters_n_setters, getters_n_setters); /* will be changed */
SCM_SET_SLOT (z, scm_si_redefined, SCM_BOOL_F);
- prep_hashsets (z);
-
return z;
}
#undef FUNC_NAME