Peter's gears translation.
[cl-glfw/jecs.git] / examples / mthello.lisp
blobaf51d699724e206340fb0da95fd821e155be16bf
1 (require '#:asdf)
2 (asdf:oos 'asdf:load-op '#:cl-glfw)
4 (cffi:defcallback hello-fun :void ((arg :pointer))
5 (format t "Hello "))
7 (glfw:init)
8 (let ((thread (glfw:create-thread (cffi:callback hello-fun) (cffi:null-pointer))))
9 (glfw:wait-thread thread glfw:+wait+)
10 (format t "world~%"))
12 (glfw:terminate)