jweinst1
3/20/2018 - 8:01 PM

sample cook objects

sample cook objects

// Enum that represents cook types and data types
typedef enum
{
        CookElem_stop,
        CookElem_add,
        CookElem_add_int,
        CookElem_int
} CookElem;

// Main object structure that houses binary elements.
typedef struct
{
        size_t len;
        size_t cap;
        unsigned char items[0];
} CookObject;