summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/eiotas_particle.h3
-rw-r--r--src/include/eiotas_spin.h6
2 files changed, 5 insertions, 4 deletions
diff --git a/src/include/eiotas_particle.h b/src/include/eiotas_particle.h
index a34fbe4..e376e8f 100644
--- a/src/include/eiotas_particle.h
+++ b/src/include/eiotas_particle.h
@@ -20,12 +20,13 @@
#define __EIOTAS_PARTICLE_H__
#include <eina_types.h>
+#include <eina_inlist.h>
#include <eina_stringshare.h>
typedef struct _Eiotas_Particle Eiotas_Particle;
struct _Eiotas_Particle {
- Eina_Stringshare *src; /* TODO */
+ EINA_INLIST;
};
void eiotas_particle_free(Eiotas_Particle *particle);
diff --git a/src/include/eiotas_spin.h b/src/include/eiotas_spin.h
index 009b7c7..5f7470b 100644
--- a/src/include/eiotas_spin.h
+++ b/src/include/eiotas_spin.h
@@ -23,7 +23,7 @@
#include "eiotas_iota.h"
#include "eiotas_particle.h"
-#include <eina_list.h>
+#include <eina_inlist.h>
#include <eina_array.h>
typedef struct _Eiotas_Spin Eiotas_Spin;
@@ -31,8 +31,8 @@ typedef struct _Eiotas_Spin Eiotas_Spin;
struct _Eiotas_Spin {
Eiotas_Room room; /* higher level Room */
Eina_Array *free_particles; /* lifo of free to reuse Particles TODO support different particle types, use an Eina_Hash */
- Eina_List *app_fifo; /* fifo of application priority particles */
- Eina_List *sys_fifo; /* fifo of system priority particles */
+ Eina_Inlist *app_fifo; /* fifo of application priority particles */
+ Eina_Inlist *sys_fifo; /* fifo of system priority particles */
};
EAPI void eiotas_spin_free(Eiotas_Spin *spin);