Skip to content

Commit

Permalink
define-marshalling-test :|QVariant|: objects of type QVariant can be …
Browse files Browse the repository at this point in the history
…marshalled too.
  • Loading branch information
stassats committed Jan 4, 2011
1 parent 3567633 commit 96daa68
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions qvariant.lisp
Expand Up @@ -43,6 +43,7 @@
(typecase value
((or string integer single-float double-float) t)
(qobject
(iter (for (code . type) in (qvariant-ptr-types))
(thereis (qtypep value type))))
(t nil)))
(or (qtypep value "QVariant")
(iter (for (code . type) in (qvariant-ptr-types))
(thereis (qtypep value type)))))
(t nil)))

0 comments on commit 96daa68

Please sign in to comment.