Created
March 14, 2009 04:57
-
-
Save stephenroller/78950 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
sr ~/Wo/compojuretest $ cljr | |
Clojure | |
1:1 user=> (set! *compile-path* "./") | |
"./" | |
1:2 user=> (compile 'jnatest) | |
jnatest | |
1:3 user=> (import 'com.sun.jna.Library 'com.sun.jna.Native) | |
nil | |
1:4 user=> (import 'JnaTest) | |
nil | |
1:5 user=> (def glibc (Native/loadLibrary "c" JnaTest)) | |
#'user/glibc | |
1:6 user=> (.getpid glibc) | |
java.lang.IllegalArgumentException: No matching field found: getpid for class $Proxy0 (repl-1:6) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment