summaryrefslogtreecommitdiff
path: root/includes/Linker.h
diff options
context:
space:
mode:
authorLemmih <lemmih@gmail.com>2006-04-18 02:18:06 +0000
committerLemmih <lemmih@gmail.com>2006-04-18 02:18:06 +0000
commit53e5ed273237468ed64ee30caf7a82e2678c4669 (patch)
tree9d56d9408a8435866425f34d4c6e587e7565a9e9 /includes/Linker.h
parent6b2cf62bbab9beaff3c1996ef370ed04c9a8cd49 (diff)
downloadhaskell-53e5ed273237468ed64ee30caf7a82e2678c4669.tar.gz
Export 'insertSymbol' and 'insertStableSymbol'.
'insertStableSymbol' is used for exporting closures that are affected by the GC.
Diffstat (limited to 'includes/Linker.h')
-rw-r--r--includes/Linker.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/includes/Linker.h b/includes/Linker.h
index bb1a4c251f..948745be89 100644
--- a/includes/Linker.h
+++ b/includes/Linker.h
@@ -12,6 +12,12 @@
/* 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 );
@@ -27,4 +33,7 @@ HsInt resolveObjs( void );
/* load a dynamic library */
char *addDLL( char* dll_name );
+extern void markRootPtrTable(evac_fn evac);
+
+
#endif /* LINKER_H */