projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2001-10-29 11:33:37 by simonmar]
[ghc-hetmet.git]
/
ghc
/
includes
/
RtsAPI.h
diff --git
a/ghc/includes/RtsAPI.h
b/ghc/includes/RtsAPI.h
index
0cb351d
..
ae6c5c0
100644
(file)
--- a/
ghc/includes/RtsAPI.h
+++ b/
ghc/includes/RtsAPI.h
@@
-1,5
+1,5
@@
/* ----------------------------------------------------------------------------
/* ----------------------------------------------------------------------------
- * $Id: RtsAPI.h,v 1.23 2001/10/23 11:30:07 simonmar Exp $
+ * $Id: RtsAPI.h,v 1.24 2001/10/29 11:33:37 simonmar Exp $
*
* (c) The GHC Team, 1998-1999
*
*
* (c) The GHC Team, 1998-1999
*
@@
-10,6
+10,10
@@
#ifndef RTSAPI_H
#define RTSAPI_H
#ifndef RTSAPI_H
#define RTSAPI_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include "HsFFI.h"
/*
#include "HsFFI.h"
/*
@@
-107,4
+111,10
@@
rts_evalLazyIO ( HaskellObj p, unsigned int stack_size, /*out*/HaskellObj *ret )
void
rts_checkSchedStatus ( char* site, SchedulerStatus rc);
void
rts_checkSchedStatus ( char* site, SchedulerStatus rc);
+/* -------------------------------------------------------------------------- */
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* RTSAPI_H */
#endif /* RTSAPI_H */