code / tomo

Lines41.3K C23.7K Markdown9.7K YAML5.0K Tomo2.3K
7 others 763
Python231 Shell230 make212 INI47 Text21 SVG16 Lua6
(13 lines)
1 // This file defines how to compile pointers and allocated memory
3 #pragma once
5 #include <stdbool.h>
7 #include "../ast.h"
8 #include "../environment.h"
9 #include "../stdlib/datatypes.h"
10 #include "../types.h"
12 Text_t compile_to_pointer_depth(env_t *env, ast_t *ast, int64_t target_depth, bool needs_incref);
13 Text_t compile_typed_allocation(env_t *env, ast_t *ast, type_t *pointer_type);