diff options
-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; |