clojure-jna icon indicating copy to clipboard operation
clojure-jna copied to clipboard

Dynamically load and use native C libs from Clojure using JNA

Results 4 clojure-jna issues
Sort by recently updated
recently updated
newest added

How would you call a native function that that's a native struct or a pointer as its parameter?

Pretty simple test just to get some coverage of `libc-utils/select`. Working on figuring out how to generate file system events so I can test the non-timeout behavior.

The code in the example does not return the output string "My number: 5\n", only the return code 13 (number of bytes?): Clojure 1.6.0, Java HotSpot 64-bit 1.8.0_20-b26 (require '[net.n01se.clojure-jna...

The example in the readme doesn't deal with the common C case of mutable input parameters. Documenting how to handle this would obviously be useful.