diff options
Diffstat (limited to 'libcnary/include/object.h')
| -rw-r--r-- | libcnary/include/object.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/libcnary/include/object.h b/libcnary/include/object.h new file mode 100644 index 0000000..adf1891 --- /dev/null +++ b/libcnary/include/object.h | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | /* | ||
| 2 | * object.h | ||
| 3 | * | ||
| 4 | * Created on: Mar 8, 2011 | ||
| 5 | * Author: posixninja | ||
| 6 | */ | ||
| 7 | |||
| 8 | #ifndef OBJECT_H_ | ||
| 9 | #define OBJECT_H_ | ||
| 10 | |||
| 11 | #ifndef TRUE | ||
| 12 | #define TRUE 1 | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #ifndef FALSE | ||
| 16 | #define FALSE 0 | ||
| 17 | #endif | ||
| 18 | |||
| 19 | typedef struct object_t { | ||
| 20 | void* value; | ||
| 21 | unsigned int type; | ||
| 22 | unsigned int size; | ||
| 23 | } object_t; | ||
| 24 | |||
| 25 | #endif /* OBJECT_H_ */ | ||
