mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 03:29:43 +00:00
a130728554
The generated visitor functions call visit_deprecated_accept() and visit_deprecated() when visiting a struct member with special feature flag 'deprecated'. This makes the feature flag visible to the actual visitors. I want to make feature flag 'unstable' visible there as well, so I can add policy for it. To let me make it visible, replace these functions by visit_policy_reject() and visit_policy_skip(), which take the member's special features as an argument. Note that the new functions have the opposite sense, i.e. the return value flips. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20211028102520.747396-6-armbru@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> [Unbreak forward visitor]
39 lines
2.2 KiB
Plaintext
39 lines
2.2 KiB
Plaintext
# See docs/devel/tracing.rst for syntax documentation.
|
|
|
|
# qapi-visit-core.c
|
|
visit_free(void *v) "v=%p"
|
|
visit_complete(void *v, void *opaque) "v=%p opaque=%p"
|
|
|
|
visit_start_struct(void *v, const char *name, void *obj, size_t size) "v=%p name=%s obj=%p size=%zu"
|
|
visit_check_struct(void *v) "v=%p"
|
|
visit_end_struct(void *v, void *obj) "v=%p obj=%p"
|
|
|
|
visit_start_list(void *v, const char *name, void *obj, size_t size) "v=%p name=%s obj=%p size=%zu"
|
|
visit_next_list(void *v, void *tail, size_t size) "v=%p tail=%p size=%zu"
|
|
visit_check_list(void *v) "v=%p"
|
|
visit_end_list(void *v, void *obj) "v=%p obj=%p"
|
|
|
|
visit_start_alternate(void *v, const char *name, void *obj, size_t size) "v=%p name=%s obj=%p size=%zu"
|
|
visit_end_alternate(void *v, void *obj) "v=%p obj=%p"
|
|
|
|
visit_optional(void *v, const char *name, bool *present) "v=%p name=%s present=%p"
|
|
visit_policy_reject(void *v, const char *name) "v=%p name=%s"
|
|
visit_policy_skip(void *v, const char *name) "v=%p name=%s"
|
|
|
|
visit_type_enum(void *v, const char *name, int *obj) "v=%p name=%s obj=%p"
|
|
visit_type_int(void *v, const char *name, int64_t *obj) "v=%p name=%s obj=%p"
|
|
visit_type_uint8(void *v, const char *name, uint8_t *obj) "v=%p name=%s obj=%p"
|
|
visit_type_uint16(void *v, const char *name, uint16_t *obj) "v=%p name=%s obj=%p"
|
|
visit_type_uint32(void *v, const char *name, uint32_t *obj) "v=%p name=%s obj=%p"
|
|
visit_type_uint64(void *v, const char *name, uint64_t *obj) "v=%p name=%s obj=%p"
|
|
visit_type_int8(void *v, const char *name, int8_t *obj) "v=%p name=%s obj=%p"
|
|
visit_type_int16(void *v, const char *name, int16_t *obj) "v=%p name=%s obj=%p"
|
|
visit_type_int32(void *v, const char *name, int32_t *obj) "v=%p name=%s obj=%p"
|
|
visit_type_int64(void *v, const char *name, int64_t *obj) "v=%p name=%s obj=%p"
|
|
visit_type_size(void *v, const char *name, uint64_t *obj) "v=%p name=%s obj=%p"
|
|
visit_type_bool(void *v, const char *name, bool *obj) "v=%p name=%s obj=%p"
|
|
visit_type_str(void *v, const char *name, char **obj) "v=%p name=%s obj=%p"
|
|
visit_type_number(void *v, const char *name, void *obj) "v=%p name=%s obj=%p"
|
|
visit_type_any(void *v, const char *name, void *obj) "v=%p name=%s obj=%p"
|
|
visit_type_null(void *v, const char *name, void *obj) "v=%p name=%s obj=%p"
|