fixup constness of IkarusProject in ikarus_project_get_entity_count
Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
parent
75b7524eb3
commit
66cfd10507
2 changed files with 2 additions and 2 deletions
|
|
@ -124,7 +124,7 @@ IKA_API void ikarus_project_get_blueprints(
|
||||||
/// \pre \li Must exist.
|
/// \pre \li Must exist.
|
||||||
/// \param error_out \see errors.h
|
/// \param error_out \see errors.h
|
||||||
/// \return The number of blueprints or undefined if an error occurs.
|
/// \return The number of blueprints or undefined if an error occurs.
|
||||||
IKA_API size_t ikarus_project_get_blueprint_count(IkarusProject * project, IkarusErrorData * error_out);
|
IKA_API size_t ikarus_project_get_blueprint_count(IkarusProject const * project, IkarusErrorData * error_out);
|
||||||
|
|
||||||
/// \brief Finds an entity by a given name.
|
/// \brief Finds an entity by a given name.
|
||||||
/// \param project The project to search.
|
/// \param project The project to search.
|
||||||
|
|
|
||||||
|
|
@ -263,7 +263,7 @@ void ikarus_project_get_entities(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t ikarus_project_get_entity_count(IkarusProject * project, IkarusErrorData * error_out) {
|
size_t ikarus_project_get_entity_count(IkarusProject const * project, IkarusErrorData * error_out) {
|
||||||
IKARUS_FAIL_IF_NULL(project, 0);
|
IKARUS_FAIL_IF_NULL(project, 0);
|
||||||
|
|
||||||
IKARUS_VTRYRV_OR_FAIL(
|
IKARUS_VTRYRV_OR_FAIL(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue