Use mapper to make object id

Reuse object ids by using a mapper
Simpify the uri struct a little.
This commit is contained in:
Wim Taymans 2016-11-21 16:29:15 +01:00
parent f42268b9a5
commit e7cae649aa
14 changed files with 61 additions and 64 deletions

View file

@ -463,7 +463,7 @@ pinos_node_new (PinosCore *core,
spa_list_insert (core->node_list.prev, &this->link);
this->global = pinos_core_add_global (core,
core->registry.uri.node,
core->uri.node,
this);
return this;
}