We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This would require wrapping things in try/catch blocks and return structs.
try/catch
The easiest and cleanest way to implement this might be through macros.
#define ERR_T(T) err_ ## T ##_t #define NEW_ERR_T(T) new ERR_T(T)(); #define ERR_DEF(T) typedef struct {T *val; const char *err;} ERR_T(T);
The text was updated successfully, but these errors were encountered:
ear7h
No branches or pull requests
This would require wrapping things in
try/catch
blocks and return structs.The easiest and cleanest way to implement this might be through macros.
The text was updated successfully, but these errors were encountered: