diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/eiotas_spin.h | 2 | ||||
-rw-r--r-- | src/lib/eiotas_spin.c | 2 |
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); |