From 9df83e399d7691bb20cc9d42ddb70619908aeeca Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Sat, 25 Jan 2020 15:33:13 -0500 Subject: passing structs to foreign functions --- toc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'toc.c') 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" -- cgit v1.2.3