fix cpp-lib

This commit is contained in:
pls.153 2022-02-13 22:36:42 +01:00
parent 5e9cd2875a
commit 822bbbfaa3
5 changed files with 3 additions and 36 deletions

View file

@ -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.