Displaying 3 results from an estimated 3 matches for "context_callback".
2008 Jun 24
4
Problem Compiling 1.1.1 on AIX
...array.c
"macros.h", line 149.68: 1506-211 (S) Parameter list must be empty, or consist o
f one or more identifiers separated by commas.
make: 1254-004 The error code from the last command is 1.
Looking at macros.h, the section it is erroring on is:
#ifdef CONTEXT_TYPE_SAFETY
# define CONTEXT_CALLBACK(name, callback_type, callback, context, ...) \
({(void)(1 ? 0 : callback(context)); \
name(__VA_ARGS__, (callback_type *)callback, context); })
#else
# define CONTEXT_CALLBACK(name, callback_type, callback, context, ...) \
name(__VA_ARGS__, (callback_type *)callback, contex...
2023 May 02
1
[libnbd PATCH v2 2/2] generator/C: lib/api.c: indent arg list 2 spaces relative to function name
...quot;lib/api.c".
The most impactful resultant change is [lib/api.c]:
> @@ -5378,9 +5577,11 @@ aio_opt_list_meta_context_queries_in_per
> }
>
> int
> -nbd_aio_opt_list_meta_context_queries (struct nbd_handle *h, char **queries,
> - nbd_context_callback context_callback,
> - nbd_completion_callback completion_callback)
> +nbd_aio_opt_list_meta_context_queries (
> + struct nbd_handle *h, char **queries,
> + nbd_context_callback context_callback,
> + nbd_completion_callback completion_callback...
2023 May 02
4
[libnbd PATCH v2 0/2] continue wrapping generated C code harder
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2172516
v1: https://listman.redhat.com/archives/libguestfs/2023-April/031375.html
In v2, move the declaration of the "p" helper variable next to the top
of the function.
Thanks!
Laszlo
Laszlo Ersek (2):
generator/C: print_wrapper: use helper variable for permitted state
check
generator/C: lib/api.c: indent arg list 2