summaryrefslogtreecommitdiffstats
path: root/src/include/eiotas_particle.h
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-31 10:11:28 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-31 10:11:28 +0200
commit156d23df6d0414c254b9f6e7ce18052ac3e71658 (patch)
treecf68b89c3cff52b8882329e16f68e2fcd7d69885 /src/include/eiotas_particle.h
parentea2f90e7d0e3a0bda886eeccb11b8d7dbbf0250e (diff)
downloadedoors-156d23df6d0414c254b9f6e7ce18052ac3e71658.zip
edoors-156d23df6d0414c254b9f6e7ce18052ac3e71658.tar.gz
add const to some function parameters
Diffstat (limited to 'src/include/eiotas_particle.h')
-rw-r--r--src/include/eiotas_particle.h6
1 files changed, 3 insertions, 3 deletions
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);
/**
* @}