Tidy up file headers and copyrights; point to the wiki for docs
[ghc-hetmet.git] / includes / rts / Adjustor.h
1 /* -----------------------------------------------------------------------------
2  *
3  * (c) The GHC Team, 1998-2009
4  *
5  * Adjustor API
6  *
7  * Do not #include this file directly: #include "Rts.h" instead.
8  *
9  * To understand the structure of the RTS headers, see the wiki:
10  *   http://hackage.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
11  *
12  * -------------------------------------------------------------------------- */
13
14 #ifndef RTS_ADJUSTOR_H
15 #define RTS_ADJUSTOR_H
16
17 /* Creating and destroying an adjustor thunk */
18 void* createAdjustor (int cconv, 
19                       StgStablePtr hptr,
20                       StgFunPtr wptr,
21                       char *typeString);
22
23 void freeHaskellFunctionPtr (void* ptr);
24
25 #endif /* RTS_ADJUSTOR_H */