Exemplo n.º 1
0
/**
 * 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(&region->parent);
}
Exemplo n.º 2
0
/**
 * 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);
}
Exemplo n.º 3
0
void
lt_xml_unref(lt_xml_t *xml)
{
	if (xml)
		lt_mem_unref(&xml->parent);
}
Exemplo n.º 4
0
/**
 * 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);
}
Exemplo n.º 5
0
/**
 * 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);
}
Exemplo n.º 6
0
/**
 * 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(&regiondb->parent);
}
Exemplo n.º 7
0
/**
 * 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);
}
Exemplo n.º 8
0
/**
 * 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);
}
Exemplo n.º 9
0
/**
 * 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);
}