Commit c320276c authored by panne's avatar panne
Browse files

[project @ 2004-08-21 12:47:17 by panne]

Moved createAdjustor and freeHaskellFunctionPtr to a header visible in
*.hc code.  The whole header layout is a little bit baroque, IMHO...
parent fcbc4b62
/* -----------------------------------------------------------------------------
* $Id: Rts.h,v 1.24 2004/08/13 13:09:27 simonmar Exp $
* $Id: Rts.h,v 1.25 2004/08/21 12:47:17 panne Exp $
*
* (c) The GHC Team, 1998-1999
*
......@@ -173,13 +173,7 @@ extern void __decodeFloat (MP_INT *man, I_ *_exp, StgFloat flt);
#include "DNInvoke.h"
#endif
/* Creating and destroying an adjustor thunk and initialising the whole
adjustor thunk machinery. I cannot make myself create a separate .h file
for these three (sof.)
*/
extern void* createAdjustor(int cconv, StgStablePtr hptr, StgFunPtr wptr);
extern void freeHaskellFunctionPtr(void* ptr);
/* Initialising the whole adjustor thunk machinery. */
extern rtsBool initAdjustor(void);
extern void stg_exit(int n) GNU_ATTRIBUTE(__noreturn__);
......
/* -----------------------------------------------------------------------------
* $Id: RtsExternal.h,v 1.2 2004/08/13 13:09:29 simonmar Exp $
* $Id: RtsExternal.h,v 1.3 2004/08/21 12:47:17 panne Exp $
*
* (c) The GHC Team, 1998-2004
*
......@@ -53,6 +53,10 @@ extern StgInt isFloatNegativeZero(StgFloat f);
extern StgInt suspendThread ( StgRegTable * );
extern StgRegTable * resumeThread ( StgInt );
/* Creating and destroying an adjustor thunk */
extern void* createAdjustor(int cconv, StgStablePtr hptr, StgFunPtr wptr);
extern void freeHaskellFunctionPtr(void* ptr);
/* -----------------------------------------------------------------------------
Storage manager stuff exported
-------------------------------------------------------------------------- */
......
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