From 8846a7d80eb1c201e87afcc56a0c2705659871ad Mon Sep 17 00:00:00 2001
From: sof <unknown>
Date: Mon, 18 Jan 1999 14:37:43 +0000
Subject: [PATCH] [project @ 1999-01-18 14:37:43 by sof] Added protos for
 freeHaskellFunctionPtr() and createAdjustor() (suggestions as to what might
 be a more appropriate home for these are welcome.)

---
 ghc/includes/Stg.h | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/ghc/includes/Stg.h b/ghc/includes/Stg.h
index 9dd0620ed2d3..12ccdbe3a944 100644
--- a/ghc/includes/Stg.h
+++ b/ghc/includes/Stg.h
@@ -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 */
-- 
GitLab