summaryrefslogtreecommitdiff
path: root/toc.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-01-25 15:33:13 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-01-25 15:33:13 -0500
commit9df83e399d7691bb20cc9d42ddb70619908aeeca (patch)
tree1a31320443ff024d14e401656f4f90ca747b7e41 /toc.c
parent27acf3754529988de9d43ba0abb8e5b3bbb3da31 (diff)
passing structs to foreign functions
Diffstat (limited to 'toc.c')
-rw-r--r--toc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/toc.c b/toc.c
index fc5945f..57c67b5 100644
--- a/toc.c
+++ b/toc.c
@@ -78,6 +78,8 @@ static inline bool type_is_slicechar(Type *t) {
#include "location.c"
#include "err.c"
#include "blockarr.c"
+static size_t compiler_alignof(Type *t);
+static size_t compiler_sizeof(Type *t);
#include "instance_table.c"
#include "copy.c"
#include "binfile.c"