diff options
Diffstat (limited to 'qobject/qnum.c')
-rw-r--r-- | qobject/qnum.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/qobject/qnum.c b/qobject/qnum.c index ea091cfaa4..1501c82832 100644 --- a/qobject/qnum.c +++ b/qobject/qnum.c @@ -200,17 +200,6 @@ char *qnum_to_string(QNum *qn) } /** - * qobject_to_qnum(): Convert a QObject into a QNum - */ -QNum *qobject_to_qnum(const QObject *obj) -{ - if (!obj || qobject_type(obj) != QTYPE_QNUM) { - return NULL; - } - return container_of(obj, QNum, base); -} - -/** * qnum_is_equal(): Test whether the two QNums are equal * * Negative integers are never considered equal to unsigned integers, |