~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to include/qapi/visitor-impl.h

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
    /* Must be set */
62
62
    GenericList *(*next_list)(Visitor *v, GenericList *tail, size_t size);
63
63
 
 
64
    /* Optional; intended for input visitors */
 
65
    void (*check_list)(Visitor *v, Error **errp);
 
66
 
64
67
    /* Must be set */
65
68
    void (*end_list)(Visitor *v, void **list);
66
69
 
102
105
    /* Must be set to visit explicit null values.  */
103
106
    void (*type_null)(Visitor *v, const char *name, Error **errp);
104
107
 
105
 
    /* Must be set for input visitors, optional otherwise.  The core
106
 
     * takes care of the return type in the public interface. */
 
108
    /* Must be set for input visitors to visit structs, optional otherwise.
 
109
       The core takes care of the return type in the public interface. */
107
110
    void (*optional)(Visitor *v, const char *name, bool *present);
108
111
 
109
112
    /* Must be set */