CFCType* CFCType_new(int flags, struct CFCParcel *parcel, const char *specifier, int indirection, const char *c_string) { CFCType *self = (CFCType*)CFCBase_allocate(&CFCTYPE_META); return CFCType_init(self, flags, parcel, specifier, indirection, c_string); }
CFCPerlConstructor* CFCPerlConstructor_new(CFCClass *klass, const char *alias, const char *initializer) { CFCPerlConstructor *self = (CFCPerlConstructor*)CFCBase_allocate(&CFCPERLCONSTRUCTOR_META); return CFCPerlConstructor_init(self, klass, alias, initializer); }
CFCParcel* CFCParcel_new(const char *name, const char *nickname, CFCVersion *version, CFCVersion *major_version, CFCFileSpec *file_spec) { CFCParcel *self = (CFCParcel*)CFCBase_allocate(&CFCPARCEL_META); return CFCParcel_init(self, name, nickname, version, major_version, file_spec); }
CFCSymbol* CFCSymbol_new(struct CFCParcel *parcel, const char *exposure, const char *class_name, const char *class_cnick, const char *micro_sym) { CFCSymbol *self = (CFCSymbol*)CFCBase_allocate(&CFCSYMBOL_META); return CFCSymbol_init(self, parcel, exposure, class_name, class_cnick, micro_sym); }
CFCPython* CFCPython_new(CFCHierarchy *hierarchy) { CFCUTIL_NULL_CHECK(hierarchy); CFCPython *self = (CFCPython*)CFCBase_allocate(&CFCPYTHON_META); self->hierarchy = (CFCHierarchy*)CFCBase_incref((CFCBase*)hierarchy); self->header = CFCUtil_strdup(""); self->footer = CFCUtil_strdup(""); return self; }
CFCMethod* CFCMethod_new(CFCParcel *parcel, const char *exposure, const char *class_name, const char *class_cnick, const char *macro_sym, CFCType *return_type, CFCParamList *param_list, CFCDocuComment *docucomment, int is_final, int is_abstract) { CFCMethod *self = (CFCMethod*)CFCBase_allocate(&CFCMETHOD_META); return CFCMethod_init(self, parcel, exposure, class_name, class_cnick, macro_sym, return_type, param_list, docucomment, is_final, is_abstract); }
CFCClass* CFCClass_create(struct CFCParcel *parcel, const char *exposure, const char *class_name, const char *cnick, const char *micro_sym, CFCDocuComment *docucomment, CFCFileSpec *file_spec, const char *parent_class_name, int is_final, int is_inert) { CFCClass *self = (CFCClass*)CFCBase_allocate(&CFCCLASS_META); return CFCClass_do_create(self, parcel, exposure, class_name, cnick, micro_sym, docucomment, file_spec, parent_class_name, is_final, is_inert); }
CFCGoClass* CFCGoClass_new(CFCParcel *parcel, const char *class_name) { CFCUTIL_NULL_CHECK(parcel); CFCUTIL_NULL_CHECK(class_name); CFCGoClass *self = (CFCGoClass*)CFCBase_allocate(&CFCGOCLASS_META); self->parcel = (CFCParcel*)CFCBase_incref((CFCBase*)parcel); self->class_name = CFCUtil_strdup(class_name); // Client may be NULL, since fetch_singleton() does not always succeed. CFCClass *client = CFCClass_fetch_singleton(parcel, class_name); self->client = (CFCClass*)CFCBase_incref((CFCBase*)client); return self; }
CFCDumpable* CFCDumpable_new(void) { CFCDumpable *self = (CFCDumpable*)CFCBase_allocate(&CFCDUMPABLE_META); return CFCDumpable_init(self); }
CFCPerl* CFCPerl_new(CFCHierarchy *hierarchy, const char *lib_dir, const char *header, const char *footer) { CFCPerl *self = (CFCPerl*)CFCBase_allocate(&CFCPERL_META); return CFCPerl_init(self, hierarchy, lib_dir, header, footer); }
CFCBindCore* CFCBindCore_new(CFCHierarchy *hierarchy, const char *header, const char *footer) { CFCBindCore *self = (CFCBindCore*)CFCBase_allocate(&CFCBINDCORE_META); return CFCBindCore_init(self, hierarchy, header, footer); }
CFCTest* CFCTest_new(const char *formatter_name) { CFCTest *self = (CFCTest*)CFCBase_allocate(&CFCTEST_META); return CFCTest_init(self, formatter_name); }
CFCDocument* CFCDocument_create(const char *path, const char *path_part) { CFCDocument *self = (CFCDocument*)CFCBase_allocate(&CFCDOCUMENT_META); return CFCDocument_do_create(self, path, path_part); }
CFCPerlClass* CFCPerlClass_new(CFCParcel *parcel, const char *class_name) { CFCPerlClass *self = (CFCPerlClass*)CFCBase_allocate(&CFCPERLCLASS_META); return CFCPerlClass_init(self, parcel, class_name); }
CFCBindSpecs* CFCBindSpecs_new() { CFCBindSpecs *self = (CFCBindSpecs*)CFCBase_allocate(&CFCBINDSPECS_META); return CFCBindSpecs_init(self); }
CFCC* CFCC_new(CFCHierarchy *hierarchy, const char *header, const char *footer) { CFCC *self = (CFCC*)CFCBase_allocate(&CFCC_META); return CFCC_init(self, hierarchy, header, footer); }
CFCHierarchy* CFCHierarchy_new(const char *dest) { CFCHierarchy *self = (CFCHierarchy*)CFCBase_allocate(&CFCHIERARCHY_META); return CFCHierarchy_init(self, dest); }
CFCVariable* CFCVariable_new(const char *exposure, const char *name, struct CFCType *type, int inert) { CFCVariable *self = (CFCVariable*)CFCBase_allocate(&CFCVARIABLE_META); return CFCVariable_init(self, exposure, name, type, inert); }
CFCPerlMethod* CFCPerlMethod_new(CFCMethod *method, const char *alias) { CFCPerlMethod *self = (CFCPerlMethod*)CFCBase_allocate(&CFCPERLMETHOD_META); return CFCPerlMethod_init(self, method, alias); }
CFCPrereq* CFCPrereq_new(const char *name, CFCVersion *version) { CFCPrereq *self = (CFCPrereq*)CFCBase_allocate(&CFCPREREQ_META); return CFCPrereq_init(self, name, version); }
CFCPerlPod* CFCPerlPod_new(void) { CFCPerlPod *self = (CFCPerlPod*)CFCBase_allocate(&CFCPERLPOD_META); return CFCPerlPod_init(self); }
CFCUri* CFCUri_new(const char *uri, CFCClass *doc_class) { CFCUri *self = (CFCUri*)CFCBase_allocate(&CFCURI_META); return CFCUri_init(self, uri, doc_class); }
CFCParcel* CFCParcel_new(const char *name, const char *cnick, CFCVersion *version) { CFCParcel *self = (CFCParcel*)CFCBase_allocate(&CFCPARCEL_META); return CFCParcel_init(self, name, cnick, version); }