> -----Original Message----- > From: lng-odp [mailto:[email protected]] On Behalf Of > Github ODP bot > Sent: Monday, May 29, 2017 7:00 PM > To: [email protected] > Subject: [lng-odp] [PATCH API-NEXT v3 0/1] api: crypto: make > odp_crypto_session_create return odp_crypto_session_t > > Currently odp_crypto_session_create() (unlike other creation functions) > returns int result with session being returned through pointer argument. > Instead it is simpler to directly return a session (or > ODP_CRYPTO_SESSION_INVALID in case of an error). > Signed-off-by: Dmitry Eremin-Solenikov [email protected]
We should not do this API change, since it's non-backwards compatible and merely a matter of taste. Agree that it would be nice if APIs have the same design, but a non-backward compatible change causes also harm (discontinuity between API versions). -Petri
