diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2020-01-10 19:30:31 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-24 20:59:14 +0100 |
commit | b77ade9bb37b2e9813a42008cb21d0c743aa50a1 (patch) | |
tree | 97de7f3a5680ce1d1759ac72eee970690cc52bf7 /hw/char | |
parent | 9859facc0487b248217f7fe10aad8680be86b19f (diff) |
object: return self in object_ref()
This allow for simpler assignment with ref: foo = object_ref(bar)
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200110153039.1379601-19-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/char')
0 files changed, 0 insertions, 0 deletions