diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-22 10:59:26 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-22 10:59:26 +0200 |
commit | e35105c0be65f834b0623392b6f8af47e3238799 (patch) | |
tree | acd96822603bc1ebc557dbfb3a0dcfdd1750b907 | |
parent | fd32591d1fb417046e7c4e12ba2be70e6ba7df84 (diff) | |
download | edoors-e35105c0be65f834b0623392b6f8af47e3238799.zip edoors-e35105c0be65f834b0623392b6f8af47e3238799.tar.gz |
provide minimal implementation of eiotas_particle_alloc and eiotas_particle_free
-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); } |