blob: 8a4c921a7369055356cf115f3e7475fabc77020b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// This file defines how to compile pointers and allocated memory
#pragma once
#include <stdbool.h>
#include "../ast.h"
#include "../environment.h"
#include "../stdlib/datatypes.h"
#include "../types.h"
Text_t compile_to_pointer_depth(env_t *env, ast_t *ast, int64_t target_depth, bool needs_incref);
Text_t compile_typed_allocation(env_t *env, ast_t *ast, type_t *pointer_type);
|