projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Trac #2433 (deriving Typeable)
[ghc-hetmet.git]
/
includes
/
Linker.h
diff --git
a/includes/Linker.h
b/includes/Linker.h
index
bb1a4c2
..
053d411
100644
(file)
--- a/
includes/Linker.h
+++ b/
includes/Linker.h
@@
-12,6
+12,12
@@
/* initialize the object linker */
void initLinker( void );
/* 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 );
/* 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 */
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 */
#endif /* LINKER_H */