* gc-mark.c (scm_mark_all): Do not rely on hooks to run the weak
[bpt/guile.git] / libguile / guardians.h
index 7ba9380..7f88e58 100644 (file)
 
 #include "libguile/__scm.h"
 
-SCM_API SCM scm_make_guardian (SCM greedy_p);
-SCM_API SCM scm_destroy_guardian_x (SCM guardian);
+SCM_API SCM scm_make_guardian (void);
 
-SCM_API SCM scm_guardian_greedy_p (SCM guardian);
-SCM_API SCM scm_guardian_destroyed_p (SCM guardian);
-
-/* these are to be called from C: */
-SCM_API SCM scm_guard (SCM guardian, SCM obj, int throw_p);
-SCM_API SCM scm_get_one_zombie (SCM guardian);
+SCM_API void scm_i_init_guardians_for_gc (void);
+SCM_API void scm_i_identify_inaccessible_guardeds (void);
+SCM_API int scm_i_mark_inaccessible_guardeds (void);
 
 SCM_API void scm_init_guardians (void);