sodium: import FFI stub

factor-shell
Alexander Iljin 2017-03-01 19:54:05 +03:00 committed by John Benediktsson
parent e49ec97043
commit 868e718b66
3 changed files with 14 additions and 0 deletions

1
extra/sodium/authors.txt Normal file
View File

@ -0,0 +1 @@
Alexander Ilin

View File

@ -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

1
extra/sodium/summary.txt Normal file
View File

@ -0,0 +1 @@
The Sodium crypto library