aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/memory.h')
-rw-r--r--src/stdlib/memory.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/stdlib/memory.h b/src/stdlib/memory.h
new file mode 100644
index 00000000..e03d5931
--- /dev/null
+++ b/src/stdlib/memory.h
@@ -0,0 +1,13 @@
+#pragma once
+
+// Type info and methods for "Memory" opaque type
+
+#include <stdbool.h>
+#include <stdint.h>
+
+#include "types.h"
+
+extern const TypeInfo_t Memory$info;
+Text_t Memory$as_text(const void *p, bool colorize, const TypeInfo_t *type);
+
+// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0