summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/eiotas_spin.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/eiotas_spin.c b/src/lib/eiotas_spin.c
index 5d74378..783de18 100644
--- a/src/lib/eiotas_spin.c
+++ b/src/lib/eiotas_spin.c
@@ -73,3 +73,12 @@ EAPI void eiotas_spin_release_particle(Eiotas_Spin *spin, Eiotas_Particle *parti
eina_array_push(spin->free_particles,particle);
}
+EAPI void eiotas_spin_send_particle(Eiotas_Spin *spin, Eiotas_Particle *particle, Eina_Bool system)
+{
+ if(system) {
+ eina_array_push(spin->sys_fifo,particle);
+ } else {
+ eina_array_push(spin->app_fifo,particle);
+ }
+}
+