diff options
-rw-r--r-- | src/lib/eiotas_particle.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/eiotas_particle.c b/src/lib/eiotas_particle.c index 28ff6c0..d18163c 100644 --- a/src/lib/eiotas_particle.c +++ b/src/lib/eiotas_particle.c @@ -23,9 +23,17 @@ #include "eiotas_particle.h" #include "eiotas_private.h" +Eiotas_Particle* eiotas_particle_alloc() +{ + Eiotas_Particle *particle = (Eiotas_Particle*)malloc(sizeof(Eiotas_Particle)); + + return particle; +} + void eiotas_particle_free(Eiotas_Particle *particle) { DBG("Particle free 0x%X",particle); - // TODO + + free(particle); } |