Registry / utility / jnr-ffi

jnr-ffi

JSON →
library2.2.19javamavenunverified

A library for invoking native functions from Java using JNR.

<dependency> <groupId>com.github.jnr</groupId> <artifactId>jnr-ffi</artifactId> <version>2.2.19</version> </dependency>
INSTALL
IMPORT
SIG · JNR-FFI
J
jnr-ffi
utilityjavav2.2.19
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Library
jnr.ffi.Library

Load a native C library and call puts.

import jnr.ffi.Library; public class Example { public interface LibC { int puts(String str); } public static void main(String[] args) { LibC libc = Library.loadLibrary("c", LibC.class); libc.puts("Hello from JNR!"); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.2.19latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
jnr-ffi — mvn dependency:get jnr-ffi · libregistry