Commit aa956786 authored by panne's avatar panne
Browse files

[project @ 2003-12-28 13:09:43 by panne]

Added prototype for initAdjustor
parent e2c936e2
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* $Id: Stg.h,v 1.59 2003/11/14 14:28:08 stolz Exp $ * $Id: Stg.h,v 1.60 2003/12/28 13:09:43 panne Exp $
* *
* (c) The GHC Team, 1998-1999 * (c) The GHC Team, 1998-1999
* *
...@@ -275,12 +275,13 @@ extern void stackOverflow(void); ...@@ -275,12 +275,13 @@ extern void stackOverflow(void);
#include "DNInvoke.h" #include "DNInvoke.h"
#endif #endif
/* Creating and destroying an adjustor thunk. /* Creating and destroying an adjustor thunk and initialising the whole
I cannot make myself create a separate .h file adjustor thunk machinery. I cannot make myself create a separate .h file
for these two (sof.) for these three (sof.)
*/ */
extern void* createAdjustor(int cconv, StgStablePtr hptr, StgFunPtr wptr); extern void* createAdjustor(int cconv, StgStablePtr hptr, StgFunPtr wptr);
extern void freeHaskellFunctionPtr(void* ptr); extern void freeHaskellFunctionPtr(void* ptr);
extern rtsBool initAdjustor(void);
#endif /* STG_H */ #endif /* STG_H */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment