oop_in_c/Object.h

12 lines
185 B
C
Raw Normal View History

2012-04-30 18:59:30 +04:00
#ifndef __OBJECT_H__
#define __OBJECT_H__
typedef struct Object_interface
{
void* (*clone) (void *this);
void (*destroy) (void *this);
} Object_interface;
#endif // __OBJECT_H__