Cthulhu  0.2.10
Cthulhu compiler collection
builtin.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <ctu_tree_api.h>
4 
5 typedef struct tree_t tree_t;
6 typedef struct node_t node_t;
7 
9 
10 CT_TREE_API tree_t *tree_builtin_sizeof(const node_t *node, const tree_t *type, const tree_t *size_type);
11 CT_TREE_API tree_t *tree_builtin_alignof(const node_t *node, const tree_t *type, const tree_t *align_type);
12 CT_TREE_API tree_t *tree_builtin_offsetof(const node_t *node, const tree_t *type, const tree_t *field, const tree_t *offset_type);
13 
CT_TREE_API tree_t * tree_builtin_alignof(const node_t *node, const tree_t *type, const tree_t *align_type)
Definition: builtin.c:13
CT_TREE_API tree_t * tree_builtin_offsetof(const node_t *node, const tree_t *type, const tree_t *field, const tree_t *offset_type)
Definition: builtin.c:20
CT_BEGIN_API CT_TREE_API tree_t * tree_builtin_sizeof(const node_t *node, const tree_t *type, const tree_t *size_type)
Definition: builtin.c:6
#define CT_BEGIN_API
Definition: compiler.h:129
#define CT_END_API
Definition: compiler.h:130
a position in a source file
Definition: node.h:23
Definition: tree.h:67