diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-31 16:32:49 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-31 16:32:49 +0200 |
commit | 077ff168797372806491b9913d5114873820f35e (patch) | |
tree | 5701958a90827164faf5c8926558771c53c8bcdf | |
parent | 156d23df6d0414c254b9f6e7ce18052ac3e71658 (diff) | |
download | edoors-077ff168797372806491b9913d5114873820f35e.zip edoors-077ff168797372806491b9913d5114873820f35e.tar.gz |
eiotas_particle_add_destinations->eiotas_particle_destinations_add
-rw-r--r-- | src/include/eiotas_particle.h | 2 | ||||
-rw-r--r-- | src/lib/eiotas_particle.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/include/eiotas_particle.h b/src/include/eiotas_particle.h index 388ef66..e6fdedf 100644 --- a/src/include/eiotas_particle.h +++ b/src/include/eiotas_particle.h @@ -104,7 +104,7 @@ EAPI void eiotas_particle_merge(Eiotas_Particle *particle, const Eiotas_Particle * * 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, const char* destinations); +EAPI void eiotas_particle_destinations_add(Eiotas_Particle *particle, const char *destinations); /** * @} diff --git a/src/lib/eiotas_particle.c b/src/lib/eiotas_particle.c index 6597e5d..2cf1f47 100644 --- a/src/lib/eiotas_particle.c +++ b/src/lib/eiotas_particle.c @@ -89,11 +89,11 @@ EAPI void eiotas_particle_merge(Eiotas_Particle *particle, const Eiotas_Particle particle->merged = eina_inlist_append(particle->merged, EINA_INLIST_GET((Eiotas_Particle*)p)); } -EAPI void eiotas_particle_add_destinations(Eiotas_Particle *particle, const char* destinations) +EAPI void eiotas_particle_destinations_add(Eiotas_Particle *particle, const char* destinations) { int n; char *dst, *sep; - Eina_Stringshare *shared; + Eina_Stringshare *s; dst = (char*)destinations; for(; *dst;) { @@ -104,9 +104,9 @@ EAPI void eiotas_particle_add_destinations(Eiotas_Particle *particle, const char if(n==0) { ERR("ignore empty destination"); } else { - shared = eina_stringshare_add_length(dst,n); - eina_array_push(particle->dsts,shared); - DBG("add dst >%s<",shared); + s = eina_stringshare_add_length(dst,n); + eina_array_push(particle->dsts,s); + DBG("add dst >%s<",s); } for(; (*sep && *sep!=EIOTAS_FIELDS_SEP); sep++) /* eat whatever following */; if(!*sep) return; |