lqml/cpp-lib/run.lisp
2022-01-29 09:37:19 +01:00

10 lines
216 B
Common Lisp

(defvar *cpp* (qload-c++ "cpp"))
(define-qt-wrappers *cpp*)
;; qrun* needed in Slime (not running on UI thread)
(qrun* (print (hello *cpp* '(1 "two" (1.25 #(50 -50 75))))))
(qrun* (print (call-lisp *cpp* 125)))