prima
prima copied to clipboard
Should `prima_get_rc_string` be exposed in the C public API?
Hi @nbelakovski ,
Why do we need prima_get_rc_string in the C public API? Shouldn't it be hidden from the users? We expect the users to get the string from result.message, no?
https://github.com/libprima/prima/blob/da25bfdd47e9c98b7c7f21336a49cfce16f9e038/c/include/prima/prima.h#L77-L79
Thank you for taking a look.
Best regards, Zaikun
I think the point was to hide the implementation of the result struct which could be an opaque struct at some point