Object.h 196 B

12345678910111213
  1. #ifndef OBJECT_H
  2. #define OBJECT_H
  3. typedef enum ObjectType { OT_INT } ObjectType;
  4. typedef struct Object {
  5. ObjectType type;
  6. union Data {
  7. int intValue;
  8. } data;
  9. } Object;
  10. #endif