From 360695bdbc4cf36d0c47d4236b15b6ad72891d72 Mon Sep 17 00:00:00 2001 From: alex-s168 <63254202+alex-s168@users.noreply.github.com> Date: Mon, 13 May 2024 22:28:27 +0200 Subject: [PATCH] c --- ir/ir.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ir/ir.h b/ir/ir.h index 6df5f49..089ceb0 100644 --- a/ir/ir.h +++ b/ir/ir.h @@ -4,6 +4,7 @@ #include #include #include +#include #include "../common.h" @@ -65,6 +66,10 @@ struct vx_IrType_s { }; }; +static vx_IrType* vx_IrType_heap(void) { + return (vx_IrType*) malloc(sizeof(vx_IrType)); +} + struct vx_IrBlock_s; typedef struct vx_IrBlock_s vx_IrBlock;