When working with the C library, these two functions are pretty desirable.
For initializing an assist_ephem, the only option currently is assist_ephem_create, which prints to stderr and returns a null pointer. Returning an error code lets the caller decide how to present the error in a broader application context where stderr might not be the right venue.
assist_get_particle_with_error is similar, providing an alternative to assist_get_particle.
When working with the C library, these two functions are pretty desirable.
For initializing an
assist_ephem
, the only option currently isassist_ephem_create
, which prints to stderr and returns a null pointer. Returning an error code lets the caller decide how to present the error in a broader application context where stderr might not be the right venue.assist_get_particle_with_error
is similar, providing an alternative toassist_get_particle
.