/* -----------------------------------------------------------------------------
- * $Id: StoragePriv.h,v 1.12 2000/11/13 14:40:37 simonmar Exp $
+ * $Id: StoragePriv.h,v 1.14 2001/01/24 15:39:50 simonmar Exp $
*
* (c) The GHC Team, 1998-1999
*
extern void checkSanity(nat N);
#endif
+/*
+ * These three are used by the garbage collector when we have
+ * dynamically-linked object modules. (see ClosureMacros.h,
+ * IS_CODE_PTR etc.).
+ * Defined in Linker.c.
+ */
+int is_dynamically_loaded_code_or_rodata_ptr ( void* p );
+int is_dynamically_loaded_rwdata_ptr ( void* p );
+int is_not_dynamically_loaded_ptr ( void* p );
+
#endif /* STORAGEPRIV_H */