/** * lt_region_unref: * @region: a #lt_region_t. * * Decreases the reference count of @region. when its reference count * drops to 0, the object is finalized (i.e. its memory is freed). */ void lt_region_unref(lt_region_t *region) { if (region) lt_mem_unref(®ion->parent); }
/** * lt_list_unref: * @list: a #lt_list_t. * * Decreases the reference count of @list. when its reference count * drops to 0, the object is finalized (i.e. its memory is freed). */ void lt_list_unref(lt_list_t *list) { if (list) lt_mem_unref(&list->parent); }
void lt_xml_unref(lt_xml_t *xml) { if (xml) lt_mem_unref(&xml->parent); }
/** * lt_ext_module_unref: * @module: a #lt_ext_module_t. * * Decreases the reference count of @module. when its reference count * drops to 0, the object is finalized (i.e. its memory is freed). */ void lt_ext_module_unref(lt_ext_module_t *module) { if (module) lt_mem_unref(&module->parent); }
/** * lt_grandfathered_unref: * @grandfathered: a #lt_grandfathered_t. * * Decreases the reference count of @grandfathered. when its reference count * drops to 0, the object is finalized (i.e. its memory is freed). */ void lt_grandfathered_unref(lt_grandfathered_t *grandfathered) { if (grandfathered) lt_mem_unref(&grandfathered->parent); }
/** * lt_region_db_unref: * @regiondb: a #lt_region_db_t. * * Decreases the reference count of @regiondb. when its reference count * drops to 0, the object is finalized (i.e. its memory is freed). */ void lt_region_db_unref(lt_region_db_t *regiondb) { if (regiondb) lt_mem_unref(®iondb->parent); }
/** * lt_redundant_unref: * @redundant: a #lt_redundant_t. * * Decreases the reference count of @redundant. when its reference count * drops to 0, the object is finalized (i.e. its memory is freed). */ void lt_redundant_unref(lt_redundant_t *redundant) { if (redundant) lt_mem_unref(&redundant->parent); }
/** * lt_script_db_unref: * @scriptdb: a #lt_script_db_t. * * Decreases the reference count of @scriptdb. when its reference count * drops to 0, the object is finalized (i.e. its memory is freed). */ void lt_script_db_unref(lt_script_db_t *scriptdb) { if (scriptdb) lt_mem_unref((lt_mem_t *)scriptdb); }
/** * lt_extlang_db_unref: * @extlangdb: a #lt_extlang_db_t. * * Decreases the reference count of @extlangdb. when its reference count * drops to 0, the object is finalized (i.e. its memory is freed). */ void lt_extlang_db_unref(lt_extlang_db_t *extlangdb) { if (extlangdb) lt_mem_unref(&extlangdb->parent); }