oop_in_c/Object.h

12 lines
185 B
C

#ifndef __OBJECT_H__
#define __OBJECT_H__
typedef struct Object_interface
{
void* (*clone) (void *this);
void (*destroy) (void *this);
} Object_interface;
#endif // __OBJECT_H__