# define ENABLE_SIGNALS()
# else
# define DISABLE_SIGNALS() GC_disable_signals()
- void GC_disable_signals();
+ void GC_disable_signals(void);
# define ENABLE_SIGNALS() GC_enable_signals()
- void GC_enable_signals();
+ void GC_enable_signals(void);
# endif
# endif
extern GC_bool GC_world_stopped;
#endif
+extern void (*GC_notify_event) GC_PROTO((GC_EventType));
+
/* Operations */
# ifndef abs
# define abs(x) ((x) < 0? (-(x)) : (x))
void GC_register_dynamic_libraries GC_PROTO((void));
/* Add dynamic library data sections to the root set. */
+void GC_cond_register_dynamic_libraries GC_PROTO((void));
+ /* Remove and reregister dynamic libraries if we're */
+ /* configured to do that at each GC. */
+
GC_bool GC_register_main_static_data GC_PROTO((void));
/* We need to register the main data segment. Returns */
/* TRUE unless this is done implicitly as part of */
/* for processing by GC_invoke_finalizers. */
/* Invoked with lock. */
+void GC_process_togglerefs (void);
+ /*Process the togglerefs before GC starts */
+
void GC_notify_or_invoke_finalizers GC_PROTO((void));
/* If GC_finalize_on_demand is not set, invoke */
/* eligible finalizers. Otherwise: */