QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
struct.c File Reference

Functions

void add_enum (symbol_t *enm, symbol_t *name, expr_t *val)
 
symbol_tbuild_struct (int su, symbol_t *tag, symtab_t *symtab, type_t *type)
 
def_temit_structure (const char *name, int su, struct_def_t *defs, type_t *type, void *data, storage_class_t storage)
 
int enum_as_bool (type_t *enm, expr_t **zero, expr_t **one)
 
symbol_tfind_enum (symbol_t *tag)
 
symbol_tfind_struct (int su, symbol_t *tag, type_t *type)
 
symbol_tfinish_enum (symbol_t *sym)
 
symbol_tmake_structure (const char *name, int su, struct_def_t *defs, type_t *type)
 
symtab_tstart_enum (symbol_t *sym)
 

Function Documentation

void add_enum ( symbol_t enm,
symbol_t name,
expr_t val 
)
symbol_t* build_struct ( int  su,
symbol_t tag,
symtab_t symtab,
type_t type 
)
def_t* emit_structure ( const char *  name,
int  su,
struct_def_t defs,
type_t type,
void *  data,
storage_class_t  storage 
)
int enum_as_bool ( type_t enm,
expr_t **  zero,
expr_t **  one 
)
symbol_t* find_enum ( symbol_t tag)
symbol_t* find_struct ( int  su,
symbol_t tag,
type_t type 
)
symbol_t* finish_enum ( symbol_t sym)
symbol_t* make_structure ( const char *  name,
int  su,
struct_def_t defs,
type_t type 
)
symtab_t* start_enum ( symbol_t sym)