Nucleus
Barry Global object lists 5be6a64 (3 years, 3 months ago)
diff --git a/include/nucleus/object.h b/include/nucleus/object.h
index 7386984..63ac2ac 100644
--- a/include/nucleus/object.h
+++ b/include/nucleus/object.h
@@ -29,6 +29,7 @@ struct ObjectType {
unsigned int count;
refcount_t usage;
size_t size;
+ ObjectList *objects;
void *(*alloc)(void);
void (*free)(Object *);
void (*new)(Object *);
@@ -42,8 +43,6 @@ struct Object {
Spinlock lock;
};
-extern ObjectType listType;
-
void *get(void *addr);
void put(void *addr);
void *new(ObjectType *type);