add cpp-lib example; some fixes

This commit is contained in:
pls.153 2022-01-22 17:49:00 +01:00
parent 7a4bff3c20
commit eb54b6fd41
12 changed files with 144 additions and 11 deletions

View file

@ -179,7 +179,8 @@
"args: (method-name item/name &rest arguments
Fast and convenient way to call JS functions defined in QML. You may pass
up to 10 arguments of the following types:
T, NIL, INTEGER, FLOAT, STRING, and (nested) lists of mentioned arguments.
T, NIL, INTEGER, FLOAT, STRING, VECTOR of octets, and (nested) lists of
mentioned arguments.
N.B: Does not work with JS default arguments."
`(qrun* (qfun (quick-item ,item/name)
,(if (symbolp method-name)