From: sof Date: Mon, 18 Jan 1999 14:37:43 +0000 (+0000) Subject: [project @ 1999-01-18 14:37:43 by sof] X-Git-Tag: Approx_2487_patches~68 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=8846a7d80eb1c201e87afcc56a0c2705659871ad;p=ghc-hetmet.git [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.) --- diff --git a/ghc/includes/Stg.h b/ghc/includes/Stg.h index 9dd0620..12ccdbe 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 */