- memory allocation now works with allocator-functions...

This commit is contained in:
Jan Hutter
2005-11-09 09:35:06 +00:00
parent 7953866962
commit 6c4b815f22
25 changed files with 57 additions and 37 deletions
+2 -1
View File
@@ -25,6 +25,7 @@
#include <pluto/constants.h>
#include <pluto/defs.h>
#include "allocator.h"
#include "job.h"
/**
@@ -41,7 +42,7 @@ static status_t job_destroy(job_t *job)
*/
job_t *job_create(job_type_t type, void *assigned_data)
{
job_t *this = allocator_alloc_thing(job_t, "job_t");
job_t *this = allocator_alloc_thing(job_t);
this->destroy = job_destroy;