sodium: import FFI stub
parent
e49ec97043
commit
868e718b66
|
@ -0,0 +1 @@
|
|||
Alexander Ilin
|
|
@ -0,0 +1,12 @@
|
|||
! Copyright (C) 2017 Alexander Ilin.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: alien alien.libraries alien.syntax combinators system ;
|
||||
IN: sodium.ffi
|
||||
|
||||
<< "sodium" {
|
||||
{ [ os windows? ] [ "libsodium.dll" ] }
|
||||
{ [ os macosx? ] [ "libsodium.dylib" ] }
|
||||
{ [ os unix? ] [ "libsodium.so" ] }
|
||||
} cond cdecl add-library >>
|
||||
|
||||
LIBRARY: sodium
|
|
@ -0,0 +1 @@
|
|||
The Sodium crypto library
|
Loading…
Reference in New Issue