/* Parse an IDL file */ int idl_loadFile(cx_string file, int argc, char* argv[], void* udata) { idl_Parser p; CX_UNUSED(udata); CX_UNUSED(argc); CX_UNUSED(argv); /* Parse IDL */ p = idl_ParserCreate(file, NULL); if (!p) { goto error; } idl_Parser_parse(p); cx_release(p); return 0; error: return -1; }
void tag_dtor(void *obj) { tag_ptr this = (tag_ptr)obj; cx_release(this->key); cx_release(this->value); }