add Outputable instance for OccIfaceEq
[ghc-hetmet.git] / includes / Linker.h
index bb1a4c2..053d411 100644 (file)
 /* initialize the object linker */
 void initLinker( void );
 
+/* insert a stable symbol in the hash table */
+void insertStableSymbol(char* obj_name, char* key, StgPtr data);
+
+/* insert a symbol in the hash table */
+void insertSymbol(char* obj_name, char* key, void* data);
+
 /* lookup a symbol in the hash table */
 void *lookupSymbol( char *lbl );
 
@@ -25,6 +31,8 @@ HsInt loadObj( char *path );
 HsInt resolveObjs( void );
 
 /* load a dynamic library */
-char *addDLL( char* dll_name );
+const char *addDLL( char* dll_name );
+
+extern void markRootPtrTable(void (*)(StgClosure **));
 
 #endif /* LINKER_H */