123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- #ifndef SCM_FINALIZERS_H
- #define SCM_FINALIZERS_H
- #include "libguile/__scm.h"
- typedef void (*scm_t_finalizer_proc) (void *obj, void *data);
- SCM_INTERNAL void scm_i_set_finalizer (void *obj, scm_t_finalizer_proc,
- void *data);
- SCM_INTERNAL void scm_i_add_finalizer (void *obj, scm_t_finalizer_proc,
- void *data);
- SCM_INTERNAL void scm_i_add_resuscitator (void *obj, scm_t_finalizer_proc,
- void *data);
- SCM_INTERNAL void scm_i_finalizer_pre_fork (void);
- SCM_INTERNAL void scm_i_register_weak_gc_callback (SCM obj, void (*callback) (SCM));
- SCM_API int scm_set_automatic_finalization_enabled (int enabled_p);
- SCM_API int scm_run_finalizers (void);
- SCM_INTERNAL void scm_init_finalizers (void);
- SCM_INTERNAL void scm_init_finalizer_thread (void);
- #endif /* SCM_FINALIZERS_H */
|