File tree 1 file changed +1
-4
lines changed 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:
17
17
18
18
``` scala
19
19
resolvers += 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 "
21
21
```
22
22
23
23
Every parameter type must have an instance of ` FfiType[_] `
@@ -70,9 +70,6 @@ val result2 = div(num, denom)(stackalloc[DivT])
70
70
71
71
* The return value and all arguments must be preallocated, and
72
72
provided 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.
76
73
* There is no facility to unload shared libraries once they've been loaded.
77
74
* Expect a performance drop typical of ` libffi ` .
78
75
Depending on your needs, this may be negligible.
You can’t perform that action at this time.
0 commit comments