From: Elias Fleckenstein Date: Tue, 15 Feb 2022 16:37:19 +0000 (+0100) Subject: Register boxes X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=252a08023070d0142d127b0a850b30880f29be74;p=protogen.git Register boxes --- diff --git a/typegen.lua b/typegen.lua index d80e213..173efed 100755 --- a/typegen.lua +++ b/typegen.lua @@ -128,6 +128,9 @@ local function emit_vector(type, l) existing_types[name] = true has_deallocator[name] = false + existing_types[box] = true + has_deallocator[box] = false + local typedef, equals, add, clamp, mix, write, read, send, recv = "", "", "", "", "", "", "", "", ""