-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactoring in return codes #140
Conversation
dariusz-f
commented
Aug 12, 2024
- Use xeve defined return codes in xeve_app
- Fix return on success in xeve_app
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason why the application return code need to use XEVE library return code?
We can think the application code is one of example how to use XEVE library.
It might not need to use XEVE's error definitions in there.
Currently in xeve_app code is a mix of return codes. Some are from library and some are not. So we need to decide which is preferred way and make whole implementation consistent. |
@dariusz-f , Again,
|
Ok I will refactor whole app to return 0 and -1 instead of XEVE_OK and XEVE_ERR. |
@dariusz-f |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM