libxl: Provide doc comments for AO_GC and STATE_AO_GC
PATCH 1/1 libxl: Provide doc comments for AO_GC and STATE_AO_GC
CC Andrew Cooper <[email protected]>
Signed-off-by Ian Jackson <[email protected]>
--- tools/libxl/libxl_internal.h | 13 +++++++++++++ 1 file changed, 13 insertions(+)
tools/libxl/libxl_internal.h +13 -0
@@ -2068,9 +2068,22 @@ _hidden void libxl__egc_cleanup(libxl__egc *egc); (rc); \ }) + +/* +* Given, in scope, +* libxl__ao *ao; +* produces, in scope, +* libxl__gc *gc; +*/ #define AO_GC \ libxl__gc *const gc __attribute__((unused)) = &ao->gc +/* +* void STATE_AO_GC(libxl__ao *ao_spec); +* // Produces, in scope: +* libxl__ao *ao; // set from ao_spec +* libxl__gc *gc; +*/ #define STATE_AO_GC (op_ao) \ libxl__ao *const ao = (op_ao); \ libxl__gc *const gc __attribute__((unused)) = libxl__ao_inprogress_gc(ao)
Signature · 1 line
1.7.10.4
Quoted 2 lines · Ian Jackson
CC Andrew Cooper <[email protected]>Signed-off-by Ian Jackson <[email protected]>
Acked-by Ian Campbell <[email protected]>
Ian Campbell
AppliedQuoted 5 lines · Ian Campbell
Quoted 2 lines · Ian Jackson
CC Andrew Cooper <[email protected]>Signed-off-by Ian Jackson <[email protected]>Acked-by Ian Campbell <[email protected]>
Applied.