If using the C api, typedef everything to void
Explicitly number the object type enum