Unified Error Codes for libdfi #724
Labels
component/dfi
Categorizes an issue or PR relevant to the DFI implementation.
kind/improvement
Categorizes issue or PR as related to improvements.
Intro
Currently each component (by component we mean .h/.c pair, which is borrowed from Lakos' Large Scale C++) in libdfi has its own error code definition:
In
dyn_function.c
, we have:In
dyn_type.c
, there is:Unified Error Codes
Given that celix_status_t now support a custom facility error part, I think the int return can be upgraded to a celix_status_t. And because celix_status_t is a typedef to int, this maybe is even backwards compatible.
But this would be nice as a future enhancement and port of this pull request.
Originally posted by @pnoltes in #699 (comment)
The text was updated successfully, but these errors were encountered: