void CFCDocument_destroy(CFCDocument *self) { FREEMEM(self->path); FREEMEM(self->path_part); FREEMEM(self->name); CFCBase_destroy((CFCBase*)self); }
static void S_destroy(CFCPython *self) { CFCBase_decref((CFCBase*)self->hierarchy); FREEMEM(self->header); FREEMEM(self->footer); CFCBase_destroy((CFCBase*)self); }
void CFCBindCore_destroy(CFCBindCore *self) { CFCBase_decref((CFCBase*)self->hierarchy); FREEMEM(self->c_header); FREEMEM(self->c_footer); CFCBase_destroy((CFCBase*)self); }
void CFCPerlSub_destroy(CFCPerlSub *self) { CFCBase_decref((CFCBase*)self->param_list); FREEMEM(self->class_name); FREEMEM(self->alias); FREEMEM(self->perl_name); FREEMEM(self->c_name); CFCBase_destroy((CFCBase*)self); }
void CFCBindSpecs_destroy(CFCBindSpecs *self) { FREEMEM(self->novel_specs); FREEMEM(self->overridden_specs); FREEMEM(self->inherited_specs); FREEMEM(self->class_specs); FREEMEM(self->init_code); CFCBase_destroy((CFCBase*)self); }
void CFCC_destroy(CFCC *self) { CFCBase_decref((CFCBase*)self->hierarchy); CFCBase_decref((CFCBase*)self->html_gen); FREEMEM(self->c_header); FREEMEM(self->c_footer); FREEMEM(self->man_header); FREEMEM(self->man_footer); CFCBase_destroy((CFCBase*)self); }
void CFCUri_destroy(CFCUri *self) { FREEMEM(self->string); FREEMEM(self->callable); FREEMEM(self->error); CFCBase_decref((CFCBase*)self->doc_class); CFCBase_decref((CFCBase*)self->klass); CFCBase_decref((CFCBase*)self->document); CFCBase_destroy((CFCBase*)self); }
void CFCParcel_destroy(CFCParcel *self) { FREEMEM(self->name); FREEMEM(self->cnick); CFCBase_decref((CFCBase*)self->version); FREEMEM(self->prefix); FREEMEM(self->Prefix); FREEMEM(self->PREFIX); CFCBase_destroy((CFCBase*)self); }
void CFCSymbol_destroy(CFCSymbol *self) { CFCBase_decref((CFCBase*)self->parcel); FREEMEM(self->exposure); FREEMEM(self->class_name); FREEMEM(self->class_cnick); FREEMEM(self->micro_sym); FREEMEM(self->short_sym); FREEMEM(self->full_sym); CFCBase_destroy((CFCBase*)self); }
void CFCPerl_destroy(CFCPerl *self) { CFCBase_decref((CFCBase*)self->hierarchy); FREEMEM(self->lib_dir); FREEMEM(self->boot_class); FREEMEM(self->header); FREEMEM(self->footer); FREEMEM(self->xs_path); FREEMEM(self->boot_func); CFCBase_destroy((CFCBase*)self); }
static void S_CFCGoClass_destroy(CFCGoClass *self) { CFCBase_decref((CFCBase*)self->parcel); CFCBase_decref((CFCBase*)self->client); FREEMEM(self->class_name); for (int i = 0; self->method_bindings[i] != NULL; i++) { CFCBase_decref((CFCBase*)self->method_bindings[i]); } FREEMEM(self->method_bindings); CFCBase_destroy((CFCBase*)self); }
void CFCPerl_destroy(CFCPerl *self) { CFCBase_decref((CFCBase*)self->hierarchy); FREEMEM(self->lib_dir); FREEMEM(self->header); FREEMEM(self->footer); FREEMEM(self->c_header); FREEMEM(self->c_footer); FREEMEM(self->pod_header); FREEMEM(self->pod_footer); CFCBase_destroy((CFCBase*)self); }
void CFCType_destroy(CFCType *self) { if (self->child) { CFCBase_decref((CFCBase*)self->child); } CFCBase_decref((CFCBase*)self->parcel); FREEMEM(self->specifier); FREEMEM(self->c_string); FREEMEM(self->array); FREEMEM(self->vtable_var); CFCBase_destroy((CFCBase*)self); }
void CFCHierarchy_destroy(CFCHierarchy *self) { for (size_t i = 0; self->trees[i] != NULL; i++) { CFCBase_decref((CFCBase*)self->trees[i]); } for (size_t i = 0; self->files[i] != NULL; i++) { CFCBase_decref((CFCBase*)self->files[i]); } CFCUtil_free_string_array(self->sources); CFCUtil_free_string_array(self->includes); CFCUtil_free_string_array(self->prereqs); FREEMEM(self->trees); FREEMEM(self->files); FREEMEM(self->dest); FREEMEM(self->inc_dest); FREEMEM(self->src_dest); CFCBase_decref((CFCBase*)self->parser); CFCBase_destroy((CFCBase*)self); }
void CFCPerlClass_destroy(CFCPerlClass *self) { CFCBase_decref((CFCBase*)self->parcel); CFCBase_decref((CFCBase*)self->client); CFCBase_decref((CFCBase*)self->pod_spec); FREEMEM(self->class_name); FREEMEM(self->xs_code); for (size_t i = 0; i < self->num_cons; i++) { FREEMEM(self->cons_aliases[i]); FREEMEM(self->cons_inits[i]); } FREEMEM(self->cons_aliases); FREEMEM(self->cons_inits); for (size_t i = 0; i < self->num_class_aliases; i++) { FREEMEM(self->class_aliases[i]); } FREEMEM(self->class_aliases); CFCBase_destroy((CFCBase*)self); }
void CFCPerlPod_destroy(CFCPerlPod *self) { FREEMEM(self->synopsis); FREEMEM(self->description); for (size_t i = 0; i < self->num_methods; i++) { FREEMEM(self->methods[i].alias); FREEMEM(self->methods[i].pod); FREEMEM(self->methods[i].func); FREEMEM(self->methods[i].sample); } FREEMEM(self->methods); for (size_t i = 0; i < self->num_constructors; i++) { FREEMEM(self->constructors[i].alias); FREEMEM(self->constructors[i].pod); FREEMEM(self->constructors[i].func); FREEMEM(self->constructors[i].sample); } FREEMEM(self->constructors); CFCBase_destroy((CFCBase*)self); }
void CFCParcel_destroy(CFCParcel *self) { FREEMEM(self->name); FREEMEM(self->nickname); FREEMEM(self->host_module_name); CFCBase_decref((CFCBase*)self->version); CFCBase_decref((CFCBase*)self->major_version); CFCBase_decref((CFCBase*)self->file_spec); FREEMEM(self->prefix); FREEMEM(self->Prefix); FREEMEM(self->PREFIX); FREEMEM(self->privacy_sym); for (size_t i = 0; self->classes[i]; ++i) { CFCBase_decref((CFCBase*)self->classes[i]); } FREEMEM(self->classes); for (size_t i = 0; self->prereqs[i]; ++i) { CFCBase_decref((CFCBase*)self->prereqs[i]); } FREEMEM(self->prereqs); CFCBase_destroy((CFCBase*)self); }
void CFCDumpable_destroy(CFCDumpable *self) { CFCBase_destroy((CFCBase*)self); }
void CFCTest_destroy(CFCTest *self) { CFCBase_destroy((CFCBase*)self); }
void CFCPrereq_destroy(CFCPrereq *self) { FREEMEM(self->name); CFCBase_decref((CFCBase*)self->version); CFCBase_destroy((CFCBase*)self); }