summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2016-09-16 11:04:44 +0100
committerSimon Marlow <marlowsd@gmail.com>2016-09-23 13:39:31 +0900
commit74c4ca02df1f7099420eedf32ab4fabc0fd8cb8c (patch)
tree4235028fba3a7938e86c291e391fed892a49c439 /includes
parent9cbcdb4863064753df0fff9054b7b7c6b3188b64 (diff)
downloadhaskell-74c4ca02df1f7099420eedf32ab4fabc0fd8cb8c.tar.gz
Expose hs_exit_(rtsFalse) as hs_exit_nowait()
Summary: And document it. See the docmentation for the reason I want this. Test Plan: It's an existing API, just exposing it. Reviewers: bgamari, niteria, austin, erikd Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2531
Diffstat (limited to 'includes')
-rw-r--r--includes/HsFFI.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/HsFFI.h b/includes/HsFFI.h
index cdf451037c..8e9ff40a2e 100644
--- a/includes/HsFFI.h
+++ b/includes/HsFFI.h
@@ -96,6 +96,7 @@ typedef void* HsStablePtr;
extern void hs_init (int *argc, char **argv[]);
extern void hs_exit (void);
+extern void hs_exit_nowait(void);
extern void hs_set_argv (int argc, char *argv[]);
extern void hs_add_root (void (*init_root)(void));
extern void hs_thread_done (void);