[project @ 1999-01-18 14:37:43 by sof]
authorsof <unknown>
Mon, 18 Jan 1999 14:37:43 +0000 (14:37 +0000)
committersof <unknown>
Mon, 18 Jan 1999 14:37:43 +0000 (14:37 +0000)
Added protos for freeHaskellFunctionPtr() and createAdjustor()
(suggestions as to what might be a more appropriate home for these
are welcome.)

ghc/includes/Stg.h

index 9dd0620..12ccdbe 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: Stg.h,v 1.2 1998/12/02 13:21:33 simonm Exp $
+ * $Id: Stg.h,v 1.3 1999/01/18 14:37:43 sof Exp $
  *
  * Top-level include file for everything STG-ish.  
  *
@@ -105,4 +105,11 @@ extern int    prog_argc;
 
 extern char **environ;
 
+/* Creating and destroying an adjustor thunk.
+   I cannot make myself creating a separate .h file
+   for these two (sof.)
+*/
+extern void* createAdjustor(int cconv, StgStablePtr hptr, StgFunPtr wptr);
+extern void  freeHaskellFunctionPtr(void* ptr);
+
 #endif /* STG_H */