Commit 9642473c authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: src/lsh_types.h:1.20
parent f69c75d6
......@@ -95,8 +95,8 @@ struct lsh_class
struct lsh_class *super_class;
size_t size;
struct lsh_object *(*mark_instance)(struct lsh_object *instance,
void (*mark)(struct lsh_object *o));
void (*mark_instance)(struct lsh_object *instance,
void (*mark)(struct lsh_object *o));
void (*free_instance)(struct lsh_object *instance);
/* Particular classes may add their own methods here */
......@@ -105,6 +105,8 @@ struct lsh_class
#define MARK_INSTANCE(c, i, f) ((c)->mark_instance((i), (f)))
#define FREE_INSTANCE(c, i) ((c)->free_instance((i)))
#define CLASS(c) (c##_class)
#ifdef DEBUG_ALLOC
#if 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment