Created
December 25, 2019 17:21
-
-
Save sogaiu/86a45df65b75521e344e5e0ef2b7f515 to your computer and use it in GitHub Desktop.
how to do java annotations in clojure via interop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 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