Skip to content

Instantly share code, notes, and snippets.

@sogaiu
Created December 25, 2019 17:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sogaiu/86a45df65b75521e344e5e0ef2b7f515 to your computer and use it in GitHub Desktop.
Save sogaiu/86a45df65b75521e344e5e0ef2b7f515 to your computer and use it in GitHub Desktop.
how to do java annotations in clojure via interop
;; thanks to lvh -- https://github.com/lvh/CCryptoClojure
(definterface LibC
(^int gettimeofday
[^Timeval ^{Out {} Transient {}} tv
^Pointer unused]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment