From f5659de0f0d4810d8b763ffe4fd6e40982260ac7 Mon Sep 17 00:00:00 2001 From: Nadav Wiener Date: Sun, 23 Apr 2017 13:44:01 +0300 Subject: [PATCH] v0.3.1 --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 1682353..956e014 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ this library is published, and add a `%%%` dependency: ```scala resolvers += Resolver.bintrayRepo("nadavwr", "maven"), -libraryDependencies += "com.github.nadavwr" %%% "libffi-scala-native" % "0.3.0" +libraryDependencies += "com.github.nadavwr" %%% "libffi-scala-native" % "0.3.1" ``` Every parameter type must have an instance of `FfiType[_]` @@ -70,9 +70,6 @@ val result2 = div(num, denom)(stackalloc[DivT]) * The return value and all arguments must be preallocated, and provided to bound functions as pointers. -* Only functions with up to 5 parameters are supported at this time. This -is not a technical limitation—just looking for a more elegant solution -before going forward with some more boilerplate. * There is no facility to unload shared libraries once they've been loaded. * Expect a performance drop typical of `libffi`. Depending on your needs, this may be negligible.