I have the following object array:
typedef struct MyStack { size_t size; // current size of stack size_t max; // max size of stack