/* This is a generated file */ #ifndef SEEN_CLASSES_H #define SEEN_CLASSES_H /* The Object class */ struct Object_i { /* --- Object --- */ /* Standard instance variables */ struct Object_c* __class__; }; struct Object_c { /* --- Object --- */ /* Standard class variables */ int id; size_t instance_size; size_t class_size; char* name; struct Object_c* super; /* Standard class methods */ struct Object_i* (*__create__)(struct Object_c* self); struct Object_i* (*__alloc__)(struct Object_c* self); /* Standard instance methods */ void (*__init__)(struct Object_i* self, struct Object_c* cls); void (*__del__)(struct Object_i* self, struct Object_c* cls); }; extern struct Object_c _Object_class; /* The Animal class */ struct Animal_i { /* --- Object --- */ /* Standard instance variables */ struct Animal_c* __class__; }; struct Animal_c { /* --- Object --- */ /* Standard class variables */ int id; size_t instance_size; size_t class_size; char* name; struct Object_c* super; /* Standard class methods */ struct Animal_i* (*__create__)(struct Animal_c* self); struct Animal_i* (*__alloc__)(struct Animal_c* self); /* Standard instance methods */ void (*__init__)(struct Animal_i* self, struct Animal_c* cls); void (*__del__)(struct Animal_i* self, struct Animal_c* cls); /* --- Animal --- */ /* Custom instance methods */ void (*noise)(struct Animal_i* self); }; extern struct Animal_c _Animal_class; /* The Doggy class */ struct Doggy_i { /* --- Object --- */ /* Standard instance variables */ struct Doggy_c* __class__; }; struct Doggy_c { /* --- Object --- */ /* Standard class variables */ int id; size_t instance_size; size_t class_size; char* name; struct Object_c* super; /* Standard class methods */ struct Doggy_i* (*__create__)(struct Doggy_c* self); struct Doggy_i* (*__alloc__)(struct Doggy_c* self); /* Standard instance methods */ void (*__init__)(struct Doggy_i* self, struct Doggy_c* cls); void (*__del__)(struct Doggy_i* self, struct Doggy_c* cls); /* --- Animal --- */ /* Custom instance methods */ void (*noise)(struct Doggy_i* self); }; extern struct Doggy_c _Doggy_class; /* The Kitty class */ struct Kitty_i { /* --- Object --- */ /* Standard instance variables */ struct Kitty_c* __class__; /* --- Kitty --- */ /* Custom instance variables */ int num; }; struct Kitty_c { /* --- Object --- */ /* Class variables */ int id; size_t instance_size; size_t class_size; char* name; struct Object_c* super; /* Class methods */ struct Kitty_i* (*__create__)(struct Kitty_c* self); struct Kitty_i* (*__alloc__)(struct Kitty_c* self); /* Instance methods */ void (*__init__)(struct Kitty_i* self, struct Kitty_c* cls); void (*__del__)(struct Kitty_i* self, struct Kitty_c* cls); /* --- Animal --- */ /* Instance methods */ void (*noise)(struct Kitty_i* self); /* --- Kitty --- */ /* Class variables */ int count; }; extern struct Kitty_c _Kitty_class; #endif