diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/eiotas_board.h | 2 | ||||
-rw-r--r-- | src/include/eiotas_door.h | 2 | ||||
-rw-r--r-- | src/include/eiotas_particle.h | 6 | ||||
-rw-r--r-- | src/include/eiotas_room.h | 2 | ||||
-rw-r--r-- | src/include/eiotas_spin.h | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/src/include/eiotas_board.h b/src/include/eiotas_board.h index 9f8d5ef..f12f8fc 100644 --- a/src/include/eiotas_board.h +++ b/src/include/eiotas_board.h @@ -71,7 +71,7 @@ void eiotas_board_free(Eiotas_Board *board); * * @see Eiotas_User_Bits */ -EAPI Eiotas_Board* eiotas_board_add(const char* name, Eiotas_Room *parent, Eiotas_User_Bits *user_bits); +EAPI Eiotas_Board* eiotas_board_add(const char* name, const Eiotas_Room *parent, Eiotas_User_Bits *user_bits); /** * @} diff --git a/src/include/eiotas_door.h b/src/include/eiotas_door.h index d136c1a..6d7e481 100644 --- a/src/include/eiotas_door.h +++ b/src/include/eiotas_door.h @@ -70,7 +70,7 @@ void eiotas_door_free(Eiotas_Door *door); * * @see Eiotas_User_Bits */ -EAPI Eiotas_Door* eiotas_door_add(const char* name, Eiotas_Room *parent, Eiotas_User_Bits *user_bits); +EAPI Eiotas_Door* eiotas_door_add(const char* name, const Eiotas_Room *parent, Eiotas_User_Bits *user_bits); /** * @} diff --git a/src/include/eiotas_particle.h b/src/include/eiotas_particle.h index 5ea2215..388ef66 100644 --- a/src/include/eiotas_particle.h +++ b/src/include/eiotas_particle.h @@ -89,12 +89,12 @@ EAPI void eiotas_particle_reset(Eiotas_Particle *particle); EAPI void eiotas_particle_init(Eiotas_Particle *particle, Eiotas_Iota *iota); /** - * @brief Merge a particle into the other. + * @brief Merge a @ref Eiotas_Particle into the other. * * @param particle The @ref Eiotas_Particle to hold @p p * @param p The @ref Eiotas_Particle to be merged into @p particle */ -EAPI void eiotas_particle_merge(Eiotas_Particle *particle, Eiotas_Particle *p); +EAPI void eiotas_particle_merge(Eiotas_Particle *particle, const Eiotas_Particle *p); /** * @brief Add destinations to the @ref Eiotas_Particle @@ -104,7 +104,7 @@ EAPI void eiotas_particle_merge(Eiotas_Particle *particle, Eiotas_Particle *p); * * This function will append each destination found to the destination list of the @ref Eiotas_Particle. */ -EAPI void eiotas_particle_add_destinations(Eiotas_Particle *particle, char* destinations); +EAPI void eiotas_particle_add_destinations(Eiotas_Particle *particle, const char* destinations); /** * @} diff --git a/src/include/eiotas_room.h b/src/include/eiotas_room.h index c265344..53b035a 100644 --- a/src/include/eiotas_room.h +++ b/src/include/eiotas_room.h @@ -66,7 +66,7 @@ void eiotas_room_free(Eiotas_Room *room); * * This function will register the new room as a child of it's parent @ref Eiotas_Room. */ -EAPI Eiotas_Room* eiotas_room_add(const char* name, Eiotas_Room *parent); +EAPI Eiotas_Room* eiotas_room_add(const char* name, const Eiotas_Room *parent); /** * @} diff --git a/src/include/eiotas_spin.h b/src/include/eiotas_spin.h index 08742e4..fbe5440 100644 --- a/src/include/eiotas_spin.h +++ b/src/include/eiotas_spin.h @@ -106,7 +106,7 @@ EAPI void eiotas_spin_release_particle(Eiotas_Spin *spin, Eiotas_P * @param system Post to the system fifo us true, otherwise to the application fifo. * */ -EAPI void eiotas_spin_send_particle(Eiotas_Spin *spin, Eiotas_Particle *particle, Eina_Bool system); +EAPI void eiotas_spin_send_particle(Eiotas_Spin *spin, const Eiotas_Particle *particle, Eina_Bool system); /** * @brief Require a @ref Eiotas_Particle from the free list. |