Cthulhu  0.2.10
Cthulhu compiler collection
target.c File Reference
Include dependency graph for target.c:

Go to the source code of this file.

Variables

CT_DRIVER_API const target_t kTargetC
 

Variable Documentation

◆ kTargetC

CT_DRIVER_API const target_t kTargetC
Initial value:
= {
.info = {
.id = "target/cfamily",
.name = "C",
.version = {
.license = "LGPLv3",
.author = "Elliot Haisley",
.desc = "C89 output target",
.version = CT_NEW_VERSION(0, 0, 1)
}
},
.fn_tree = cfamily_tree,
.fn_ssa = cfamily_ssa
}
CT_BEGIN_API CT_LOCAL void cfamily_tree(target_runtime_t *runtime, const tree_t *tree, target_emit_t *emit)
Definition: tree.c:100
CT_LOCAL emit_result_t cfamily_ssa(target_runtime_t *runtime, const ssa_result_t *ssa, target_emit_t *emit)
Definition: emit.c:1140
#define CT_NEW_VERSION(major, minor, patch)
creates a new ctu_version_t from major, minor and patch
Definition: version_def.h:20

Definition at line 7 of file target.c.