CAPI User Guide, Liquid Common Lisp Version 5.0
Before trying out the examples in this chapter, define the functionstest-callback
andhello
in your Listener. The first displays the list of arguments it is given, and returnsnil
. The second just displays a message.
(defun test-callback (data interface) (display-message "Data ~S in interface ~S" data interface))We will use these callbacks in future examples.(defun hello (data interface) (declare (ignore data interface)) (display-message "Hello World"))
Generated with Harlequin WebMaker