summaryrefslogtreecommitdiff
path: root/rts/sm/NonMovingAllocate.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/sm/NonMovingAllocate.h')
-rw-r--r--rts/sm/NonMovingAllocate.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/rts/sm/NonMovingAllocate.h b/rts/sm/NonMovingAllocate.h
new file mode 100644
index 0000000000..68fcdaded1
--- /dev/null
+++ b/rts/sm/NonMovingAllocate.h
@@ -0,0 +1,18 @@
+/* -----------------------------------------------------------------------------
+ *
+ * (c) The GHC Team, 1998-2018
+ *
+ * Non-moving garbage collector and allocator
+ *
+ * ---------------------------------------------------------------------------*/
+
+#pragma once
+
+#include "NonMoving.h"
+
+#include "BeginPrivate.h"
+
+void *nonmovingAllocate(Capability *cap, StgWord sz);
+void nonmovingInitCapability(Capability *cap);
+
+#include "EndPrivate.h"