mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-10-27 12:47:13 +00:00
visit_optional() is to be called only between visit_start_struct() and visit_end_struct(). Visitors that don't support struct visits, i.e. don't implement start_struct(), end_struct(), have no use for it. Clarify documentation. The string input visitor doesn't support struct visits. Its parse_optional() is therefore useless. Drop it. Backports commit a8aec6de2ac1a5e36989fdfba29067b361009b75 from qemu |
||
|---|---|---|
| .. | ||
| qmp | ||
| clone-visitor.h | ||
| dealloc-visitor.h | ||
| error.h | ||
| qobject-input-visitor.h | ||
| qobject-output-visitor.h | ||
| string-input-visitor.h | ||
| visitor-impl.h | ||
| visitor.h | ||