File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ this library is published, and add a `%%%` dependency:
1717
1818``` scala
1919resolvers += Resolver .bintrayRepo(" nadavwr" , " maven" ),
20- libraryDependencies += " com.github.nadavwr" %%% " libffi-scala-native" % " 0.3.0 "
20+ libraryDependencies += " com.github.nadavwr" %%% " libffi-scala-native" % " 0.3.1 "
2121```
2222
2323Every parameter type must have an instance of ` FfiType[_] `
@@ -70,9 +70,6 @@ val result2 = div(num, denom)(stackalloc[DivT])
7070
7171* The return value and all arguments must be preallocated, and
7272provided to bound functions as pointers.
73- * Only functions with up to 5 parameters are supported at this time. This
74- is not a technical limitation—just looking for a more elegant solution
75- before going forward with some more boilerplate.
7673* There is no facility to unload shared libraries once they've been loaded.
7774* Expect a performance drop typical of ` libffi ` .
7875Depending on your needs, this may be negligible.
You can’t perform that action at this time.
0 commit comments