#define RTS_OK 0 #define RTS_ERROR 99 #define RTS_EMPTY 1 //an element can't be deleted if it contains no data #define RTS_INVALID_ID 2 //an object with this identifier does not exist #define RTS_INVALID_CONSTANT 3 //an invalid constant passed as a parameter //objects #define RTS_END_OBJECT 4 //reached the end of an object's elements //utility constants #define RTS_NULL 0 #define RTS_NO_INTERSECTION 1 //there is no intersection in intersection calculations