diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-31 23:45:36 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-31 23:45:36 +0200 |
commit | c7b2ae9a97612e3ee32ae0837a6da9d091c5487c (patch) | |
tree | b82d42c68fa274aaf4d836810ecb63dcb203c03e /src/lib | |
parent | 94c19497f4d163f86e20dbce9e6a03d62a576c23 (diff) | |
download | edoors-c7b2ae9a97612e3ee32ae0837a6da9d091c5487c.zip edoors-c7b2ae9a97612e3ee32ae0837a6da9d091c5487c.tar.gz |
add eiotas_particle_match
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/eiotas_particle.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/eiotas_particle.c b/src/lib/eiotas_particle.c index be453e6..74e1d23 100644 --- a/src/lib/eiotas_particle.c +++ b/src/lib/eiotas_particle.c @@ -177,6 +177,11 @@ EAPI Eina_Bool eiotas_particle_data_del(Eiotas_Particle *particle, const char* k return EINA_TRUE; } +EAPI Eina_Bool eiotas_particle_match(Eiotas_Particle *particle, const Eiotas_Particle *p) +{ + return ( (particle->link_value==p->link_value) ? EINA_TRUE : EINA_FALSE ); +} + static void update_link_value(Eiotas_Particle *particle, const char *field) { unsigned int i; |