wip: working on generator

- Feat: add typedefs' branches
This commit is contained in:
samsonium
2026-11-04 19:33:17 +03:00
parent 731b662cfc
commit 7fe3fe3ff3
7 changed files with 228 additions and 4 deletions
+13
View File
@@ -0,0 +1,13 @@
#include <common/fzl_extern.h>
#include <compiler/internals/gen.h>
#include <stdbool.h>
// Opaque pointer
bool gen_handle(fzl_gen_t *gen, fzl_node_t *node)
{
if (!gen || !node)
return false;
type_buf.kind = FZL_EXTERN_KIND_HANDLE;
return true;
}