From 077ff168797372806491b9913d5114873820f35e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 31 May 2012 16:32:49 +0200 Subject: eiotas_particle_add_destinations->eiotas_particle_destinations_add --- src/include/eiotas_particle.h | 2 +- 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; -- cgit v1.1-2-g2b99