I'm writing my first major C API, and I want to get things right. The library allocates and frees memory for an internal struct - which is hidden from the client using a typedef. The rough structure of the data I'm providing access to is this:I'm writing my first major C API, and I want to