Commit 4078a5cf authored by simonmar's avatar simonmar
Browse files

[project @ 2005-01-31 12:55:50 by simonmar]

Move signal prototypes into RtsExternal.h
parent c560ae86
/* -----------------------------------------------------------------------------
* $Id: RtsExternal.h,v 1.7 2005/01/10 18:44:40 wolfgang Exp $
* $Id: RtsExternal.h,v 1.8 2005/01/31 12:55:50 simonmar Exp $
*
* (c) The GHC Team, 1998-2004
*
......@@ -63,6 +63,12 @@ extern void* createAdjustor(int cconv, StgStablePtr hptr, StgFunPtr wptr,
char *typeString);
extern void freeHaskellFunctionPtr(void* ptr);
#if defined(mingw32_HOST_OS)
extern int stg_InstallConsoleEvent(int action, StgStablePtr *handler);
#else
extern int stg_sig_install (int, int, StgStablePtr *, void *);
#endif
/* -----------------------------------------------------------------------------
Storage manager stuff exported
-------------------------------------------------------------------------- */
......
/* -----------------------------------------------------------------------------
*
* (c) The GHC Team, 1998-2002
* (c) The GHC Team, 1998-2005
*
* RTS signal handling
*
......@@ -9,17 +9,10 @@
#ifndef SIGNALS_H
#define SIGNALS_H
#define STG_SIG_DFL (-1)
#define STG_SIG_IGN (-2)
#define STG_SIG_ERR (-3)
#define STG_SIG_HAN (-4)
#define STG_SIG_RST (-5)
#if defined(mingw32_HOST_OS)
extern int stg_InstallConsoleEvent(int action, StgStablePtr *handler);
#else
extern int stg_sig_install (int, int, StgStablePtr *, void *);
#endif
#define STG_SIG_DFL (-1)
#define STG_SIG_IGN (-2)
#define STG_SIG_ERR (-3)
#define STG_SIG_HAN (-4)
#define STG_SIG_RST (-5)
#endif // SIGNALS_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