AlexCharlton / cl-glfw3

Common Lisp bindings to GLFW version 3.x
BSD 2-Clause "Simplified" License
89 stars 32 forks source link

def-key-callback mod-keys, et al #1

Closed jimrthy closed 11 years ago

jimrthy commented 11 years ago

The body of the def-key-callback macro does not unquote the mod-keys parameter to defcallback.

One of the monitor functions (I think it was get-window-monitor) has an empty let followed by an unless that uses the variables declared in the let...it just needs a parenthesis moved.

glfw:get-clipboard-string has what looks like a copy/paste error so it's calling set-clipboard-string. This was erroring out for me because it had the wrong parameter count.

Plus there are a few compiler warnings in a very recent CCL about unused parameters.

I'll have a pull request that fixes these shortly.

AlexCharlton commented 11 years ago

Fixed, with help from #2.