[Libguestfs] [libnbd PATCH v2 0/2] continue wrapping generated C code harder

Laszlo Ersek lersek at redhat.com
Tue May 2 17:04:24 UTC 2023


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 spaces relative to function
    name

 generator/C.ml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)


base-commit: 2fa6198f61d4e84a228155c973cdf1a2b581b705


More information about the Libguestfs mailing list