aboutsummaryrefslogtreecommitdiff
path: root/builtins/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'builtins/macros.h')
-rw-r--r--builtins/macros.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/builtins/macros.h b/builtins/macros.h
index 09896b0d..6128480a 100644
--- a/builtins/macros.h
+++ b/builtins/macros.h
@@ -1,14 +1,9 @@
#pragma once
+// A few helper macros
+
#include <gc.h>
-#include <gc/cord.h>
-#include <signal.h>
-#include <stdbool.h>
-#include <stdint.h>
-#include <stdio.h>
-#include <stdlib.h>
#include <string.h>
-#include <unistd.h>
#define $heap(x) (__typeof(x)*)memcpy(GC_MALLOC(sizeof(x)), (__typeof(x)[1]){x}, sizeof(x))
#define $stack(x) (__typeof(x)*)((__typeof(x)[1]){x})