mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
header: Define GUESTFS_HAVE_STRUCT_* for each struct defined in the header.
This commit is contained in:
@@ -603,6 +603,8 @@ extern GUESTFS_DLL_PUBLIC void *guestfs_next_private (guestfs_h *g, const char *
|
||||
(* Public structures. *)
|
||||
let generate_all_structs = List.iter (
|
||||
fun { s_name = typ; s_cols = cols } ->
|
||||
pr "#define GUESTFS_HAVE_STRUCT_%s 1\n" (String.uppercase typ);
|
||||
pr "\n";
|
||||
pr "struct guestfs_%s {\n" typ;
|
||||
List.iter (
|
||||
function
|
||||
|
||||
Reference in New Issue
Block a user