]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/qapi/visitor.h
qapi: Change data type of the FOO_lookup generated for enum FOO
[mirror_qemu.git] / include / qapi / visitor.h
index 0f3b8cb459fcdf46fa1c82644b30e0d3433dc379..62a51a54cb3c9af50536db1079abba2582a28659 100644 (file)
@@ -469,7 +469,7 @@ bool visit_optional(Visitor *v, const char *name, bool *present);
  * that visit_type_str() must have no unwelcome side effects.
  */
 void visit_type_enum(Visitor *v, const char *name, int *obj,
-                     const char *const strings[], Error **errp);
+                     const QEnumLookup *lookup, Error **errp);
 
 /*
  * Check if visitor is an input visitor.