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
.h
.c
_az_cfg_preffix.h
_az_cfg_suffix.h
_az_cfg_warn.h
typedef void * az_context;
typedef my_result my_callback_f(az_context context, my_parameter a); typedef struct { az_context context; my_callback_f * f; } my_callback; #define MY_CALLBACK_CAST(CONTEXT, NAME) \ AZ_STATIC_ASSERT(sizeof(CONTEXT) == sizeof(az_context)); static my_callback NAME( \ CONTEXT const context, \ my_result (* const f)(CONTEXT, my_parameter)) { \ return (my_callback){ .context = (az_context)context, .f = (my_callback_f)f }; \ }
struct my_context { … }; int my_callback_implementation(my_context * const context, my_parameter m); MY_CALLBACK_CAST(my_context *, az_my_callback_implementation_cast);
az_result
char + EOF
The text was updated successfully, but these errors were encountered:
Guidelines are up to date. https://azure.github.io/azure-sdk/general_introduction.html
Sorry, something went wrong.
gilbertw
No branches or pull requests
.h
and.c
template with_az_cfg_preffix.h
,_az_cfg_suffix.h
and_az_cfg_warn.h
.az_result
,char + EOF
.The text was updated successfully, but these errors were encountered: