Skip to content

Instantly share code, notes, and snippets.

@BitPuffin
Created March 20, 2014 19:19
Show Gist options
  • Save BitPuffin/9671711 to your computer and use it in GitHub Desktop.
Save BitPuffin/9671711 to your computer and use it in GitHub Desktop.
proc alGetClippingRectangle*(): tuple[x, y, width, height: cint] =
var x, y, w, h: ptr cint
alGetClippingRectangle(x, y, w, h)
result = (x[] y[], w[], h[])
free(x)
free(y)
free(w)
free(h)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment