Cthulhu  0.2.10
Cthulhu compiler collection
builtin.h File Reference
#include <ctu_tree_api.h>
Include dependency graph for builtin.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

CT_BEGIN_API CT_TREE_API tree_ttree_builtin_sizeof (const node_t *node, const tree_t *type, const tree_t *size_type)
 
CT_TREE_API tree_ttree_builtin_alignof (const node_t *node, const tree_t *type, const tree_t *align_type)
 
CT_TREE_API tree_ttree_builtin_offsetof (const node_t *node, const tree_t *type, const tree_t *field, const tree_t *offset_type)
 

Function Documentation

◆ tree_builtin_alignof()

CT_TREE_API tree_t* tree_builtin_alignof ( const node_t node,
const tree_t type,
const tree_t align_type 
)

Definition at line 13 of file builtin.c.

◆ tree_builtin_offsetof()

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 at line 20 of file builtin.c.

◆ tree_builtin_sizeof()

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 at line 6 of file builtin.c.