On 03/25/2011 05:36 PM, Michael Roth wrote:
Basically just need a way to pull whatever is stored in the response
qdict's "return" field out without specifying the QTYPE in advance...
which exists in qdict.c:qdict_get_obj(), it's just not currently
exposed to outside callers.
Just use qdict_get()--but I still don't understand what the problem is.
Argh! So that solves the "problem" completely. Thanks :)
Yeah, the asymmetry is confusing. qdict_put() takes anything but a
QObject yet qdict_get() returns a QObject. qdict_put_obj() takes a
QObject and qdict_get_obj() is static.
Regards,
Anthony Liguori
Regards,
Anthony Liguori