-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:mirage/ocaml-cstruct
- Loading branch information
Showing
9 changed files
with
1,938 additions
and
42 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 |
---|---|---|
@@ -1,11 +1,9 @@ | ||
(executables | ||
(executable | ||
(libraries cstruct alcotest) | ||
(names tests bounds)) | ||
(name tests)) | ||
|
||
(alias | ||
(name runtest) | ||
(package cstruct) | ||
(deps | ||
(:< tests.exe)) | ||
(action | ||
(run %{<} -e))) | ||
(run ./tests.exe -e))) |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
deadbeef deadbeef | ||
foo = { | ||
a = 0x7 | ||
b = 0x2c | ||
c = 0xbeef | ||
d = <buffer uint8_t[8] d> | ||
61 62 63 64 65 66 67 68 | ||
|
||
} | ||
"\007\000,\000\000\190\239abcdefgh" |
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,29 +1,6 @@ | ||
(executables | ||
(tests | ||
(names pcap basic enum) | ||
(deps http.cap) | ||
(libraries cstruct-unix) | ||
(preprocess | ||
(pps ppx_cstruct)) | ||
(names pcap basic enum)) | ||
|
||
(alias | ||
(name runtest) | ||
(package ppx_cstruct) | ||
(deps | ||
(:< pcap.exe)) | ||
(action | ||
(run %{<}))) | ||
|
||
(alias | ||
(name runtest) | ||
(package ppx_cstruct) | ||
(deps | ||
(:< basic.exe)) | ||
(action | ||
(run %{<}))) | ||
|
||
(alias | ||
(name runtest) | ||
(package ppx_cstruct) | ||
(deps | ||
(:< enum.exe)) | ||
(action | ||
(run %{<}))) | ||
(preprocess (pps ppx_cstruct)) | ||
(package ppx_cstruct)) |
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
Oops, something went wrong.