Lines Matching refs:typdatum
310 type_datum_t *typdatum; in declare_type() local
326 typdatum = (type_datum_t *) malloc(sizeof(type_datum_t)); in declare_type()
327 if (!typdatum) { in declare_type()
332 type_datum_init(typdatum); in declare_type()
333 typdatum->primary = primary; in declare_type()
334 typdatum->flavor = isattr ? TYPE_ATTRIB : TYPE_TYPE; in declare_type()
336 retval = declare_symbol(SYM_TYPES, id, typdatum, &value, &value); in declare_type()
338 if (typdatum->primary) { in declare_type()
339 typdatum->s.value = value; in declare_type()
344 type_datum_destroy(typdatum); in declare_type()
345 free(typdatum); in declare_type()
362 return typdatum; in declare_type()