implement ikarus_project_get_*_by_name functions
Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
parent
0ace4243cf
commit
52dead0c06
6 changed files with 80 additions and 19 deletions
|
|
@ -17,7 +17,7 @@ IkarusBlueprint::IkarusBlueprint(IkarusProject * project, IkarusId id):
|
|||
|
||||
IkarusBlueprint * ikarus_blueprint_create(struct IkarusProject * project, char const * name, IkarusErrorData * error_out) {
|
||||
IKARUS_FAIL_IF_NULL(project, nullptr);
|
||||
IKARUS_FAIL_IF_NAME_INVALID(name, project, nullptr, nullptr);
|
||||
IKARUS_FAIL_IF_NAME_INVALID_OR_DUPLICATE(name, project, nullptr, nullptr);
|
||||
|
||||
IKARUS_VTRYRV_OR_FAIL(
|
||||
IkarusId const id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue