mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 02:30:38 -08:00
fix cpp-lib
This commit is contained in:
parent
5e9cd2875a
commit
822bbbfaa3
5 changed files with 3 additions and 36 deletions
|
|
@ -27,14 +27,3 @@ So, we pass a nested Lisp list, and it gets converted and shown on Qt side with
|
|||
the respective types. Then the `QVariantList` is returned to Lisp, where it is
|
||||
automatically converted back to a nested Lisp list.
|
||||
|
||||
Really convenient!
|
||||
|
||||
From the second function -- which calls back to Lisp -- we can see that it
|
||||
suffices to simply pass some intuitive, primitive C++ values to `ecl_fun`,
|
||||
which will be converted automatically (using `QVariant`) to the appropriate
|
||||
Lisp values.
|
||||
|
||||
**Conclusion**: by only allowing `QVariant` arguments for calls between Lisp
|
||||
and C++/Qt, we simplify things to a point where it becomes trivial, especially
|
||||
considering nested lists on both sides.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue