aboutsummaryrefslogtreecommitdiff
path: root/qobject/qint.c
AgeCommit message (Collapse)AuthorFilesLines
2015-10-29qfloat qint: Make conversion from QObject * accept nullMarkus Armbruster1-2/+2
qobject_to_qfloat() and qobject_to_qint() crash on null, which is a trap for the unwary. Return null instead, and simplify a few callers. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1444918537-18107-5-git-send-email-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
2013-01-12build: move qobject files to qobject/ and libqemuutil.aPaolo Bonzini1-0/+67
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>