summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-22 15:18:03 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-22 15:18:03 +0200
commitf1d4895a3efafca4df365b9534f7375acb917832 (patch)
treebaf67e8627b446ba9000bccab5fba9fd40098a32 /src
parent707e7e20e0f1299db9169ed8b34255362c5f155d (diff)
downloadedoors-f1d4895a3efafca4df365b9534f7375acb917832.zip
edoors-f1d4895a3efafca4df365b9534f7375acb917832.tar.gz
eiotas_spin_release_particle return value type is void
Diffstat (limited to 'src')
-rw-r--r--src/include/eiotas_spin.h2
-rw-r--r--src/lib/eiotas_spin.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/eiotas_spin.h b/src/include/eiotas_spin.h
index e8d7319..7b5b2d3 100644
--- a/src/include/eiotas_spin.h
+++ b/src/include/eiotas_spin.h
@@ -40,7 +40,7 @@ EAPI Eiotas_Spin* eiotas_spin_add(const char* name, unsigned int step);
EAPI Eiotas_Particle* eiotas_spin_require_particle(Eiotas_Spin *spin);
-EAPI Eiotas_Particle* eiotas_spin_release_particle(Eiotas_Spin *spin, Eiotas_Particle *particle);
+EAPI void eiotas_spin_release_particle(Eiotas_Spin *spin, Eiotas_Particle *particle);
EAPI void eiotas_spin_send_particle(Eiotas_Spin *spin, Eiotas_Particle *particle, Eina_Bool system);
diff --git a/src/lib/eiotas_spin.c b/src/lib/eiotas_spin.c
index 1891877..54a9c7e 100644
--- a/src/lib/eiotas_spin.c
+++ b/src/lib/eiotas_spin.c
@@ -67,7 +67,7 @@ EAPI Eiotas_Particle* eiotas_spin_require_particle(Eiotas_Spin *spin)
return particle;
}
-EAPI Eiotas_Particle* eiotas_spin_release_particle(Eiotas_Spin *spin, Eiotas_Particle *particle)
+EAPI void eiotas_spin_release_particle(Eiotas_Spin *spin, Eiotas_Particle *particle)
{
// TODO particle->reset();
eina_array_push(spin->free_particles,particle);