aboutsummaryrefslogtreecommitdiff
path: root/src/compile/pointers.h
blob: 49e73c1cf0cee4e7f06b96e27f27d1d4ec8485c3 (plain)
1
2
3
4
5
6
7
8
9
#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);