This repository has been archived by the owner on Nov 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
memcpy
to blit between storage types.
- Loading branch information
Showing
7 changed files
with
49 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ PKG bytes | |
PKG ctypes.stubs | ||
PKG ocamlbuild | ||
PKG oUnit | ||
PKG memcpy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
version = "0.5.0" | ||
description = "Binding to libsodium, a shared library wrapper for djb's NaCl" | ||
requires = "bigarray bytes ctypes.stubs" | ||
requires = "bigarray bytes ctypes.stubs memcpy" | ||
archive(byte) = "sodium.cma" | ||
archive(native) = "sodium.cmxa" | ||
exists_if = "sodium.cma" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<*.{ml,mli}>: package(bytes), package(bigarray), package(ctypes.stubs) | ||
<*.{ml,mli}>: package(bytes), package(bigarray), package(ctypes.stubs), package(memcpy) | ||
<*.{cma,cmxa}>: use_sodium_stubs | ||
<libsodium_stubs.*>: use_sodium | ||
<*.c>: use_ctypes, use_sodium |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<*.{ml,byte,native}>: package(ctypes.stubs) | ||
<*.{ml,byte,native}>: package(ctypes.stubs), package(memcpy) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<*.{ml,byte,native}>: debug, package(bigarray), package(bytes), package(ctypes.stubs), package(oUnit), use_sodium_stubs | ||
<*.{ml,byte,native}>: debug, package(bigarray), package(bytes), package(ctypes.stubs), package(oUnit), use_sodium_stubs, package(memcpy) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters