fixup constness of IkarusProject in ikarus_project_get_entity_count

Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
Folling 2024-02-11 15:23:18 +01:00
parent 15ce4b7951
commit 83445b3d94
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -124,7 +124,7 @@ IKA_API void ikarus_project_get_blueprints(
/// \pre \li Must exist.
/// \param error_out \see errors.h
/// \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.
/// \param project The project to search.

View file

@ -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_VTRYRV_OR_FAIL(