[Libguestfs] [PATCH libnbd 0/4] Add free function to callbacks.

Richard W.M. Jones rjones at redhat.com
Tue Aug 13 22:36:57 UTC 2019


Patches 1 & 2 are rather complex, but the end result is that we pass
closures + user_data + free function in single struct parameters as I
described previously in this email:

https://www.redhat.com/archives/libguestfs/2019-August/msg00210.html

Patch 3 adds a convenient FREE_CALLBACK macro which seems a worthwhile
simplification if you buy into 1 & 2.

Patch 4 adds another macro which is less obviously useful.

Rich.






More information about the Libguestfs mailing list