From 56bc471865800895045c15cdc9b4fff3f1f37d18 Mon Sep 17 00:00:00 2001 From: Folling Date: Thu, 1 Feb 2024 11:15:32 +0100 Subject: [PATCH] rename project object_by_name_functions with ikarus_project prefix Signed-off-by: Folling --- include/ikarus/persistence/project.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/include/ikarus/persistence/project.h b/include/ikarus/persistence/project.h index d0116a4..acd113a 100644 --- a/include/ikarus/persistence/project.h +++ b/include/ikarus/persistence/project.h @@ -135,7 +135,7 @@ IKA_API size_t ikarus_project_get_blueprint_count(IkarusProject * project, Ikaru /// \pre \li Must not be empty. /// \param error_out \see errors.h /// \return The entity with the given name or null if none was found. -IKA_API struct IkarusEntity * get_entity_by_name(IkarusProject * project, char const * name, IkarusErrorData * error_out); +IKA_API struct IkarusEntity * ikarus_project_get_entity_by_name(IkarusProject * project, char const * name, IkarusErrorData * error_out); /// \brief Finds a property by a given name. /// \param project The project to search. @@ -150,8 +150,12 @@ IKA_API struct IkarusEntity * get_entity_by_name(IkarusProject * project, char c /// \pre \li Must not be empty. /// \param error_out \see errors.h /// \return The property with the given name or null if none was found. -IKA_API struct IkarusProperty * -get_property_by_name_and_scope(IkarusProject * project, struct IkarusPropertyScope * scope, char const * name, IkarusErrorData * error_out); +IKA_API struct IkarusProperty * ikarus_project_get_property_by_name_and_scope( + IkarusProject * project, + struct IkarusPropertyScope * scope, + char const * name, + IkarusErrorData * error_out +); /// \brief Finds a blueprint by a given name. /// \param project The project to search. @@ -162,7 +166,8 @@ get_property_by_name_and_scope(IkarusProject * project, struct IkarusPropertySco /// \pre \li Must not be empty. /// \param error_out \see errors.h /// \return The blueprint with the given name or null if none was found. -IKA_API struct IkarusBlueprint * get_blueprints_by_name(IkarusProject * project, char const * name, IkarusErrorData * error_out); +IKA_API struct IkarusBlueprint * +ikarus_project_get_blueprint_by_name(IkarusProject * project, char const * name, IkarusErrorData * error_out); IKARUS_END_HEADER