Add core introspection

Use global ids in info messages to refer to global objects.
This commit is contained in:
Wim Taymans 2016-12-15 20:09:48 +01:00
parent 0d0385b881
commit 8ce3f949e2
10 changed files with 102 additions and 9 deletions

View file

@ -130,7 +130,7 @@ module_bind_func (PinosGlobal *global,
pinos_log_debug ("module %p: bound to %d", global->object, resource->id);
m.info = &info;
info.id = resource->id;
info.id = global->id;
info.change_mask = ~0;
info.name = this->name;
info.filename = this->filename;