expose id getters
Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
parent
31e8432ccf
commit
9299c85d65
7 changed files with 55 additions and 0 deletions
|
|
@ -45,6 +45,10 @@ void ikarus_entity_delete(IkarusEntity * entity, IkarusErrorData * error_out) {
|
|||
entity->project->uncache(entity);
|
||||
}
|
||||
|
||||
IkarusId ikarus_entity_get_id(IkarusEntity const * entity, IkarusErrorData * error_out) {
|
||||
return ikarus::util::object_get_id(entity, error_out);
|
||||
}
|
||||
|
||||
IkarusProject * ikarus_entity_get_project(IkarusEntity const * entity, IkarusErrorData * error_out) {
|
||||
return ikarus::util::object_get_project(entity, error_out);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue