diff options
| author | Andreas Grois <andi@grois.info> | 2022-10-10 21:30:02 +0200 |
|---|---|---|
| committer | Andreas Grois <andi@grois.info> | 2022-10-10 21:37:15 +0200 |
| commit | e4ad766315879e1ff05bb111229f073f8f0ed68e (patch) | |
| tree | 4b043ff47c78b2c00c80c94ebda622c32c8b6d3d /rust_testhelper/src | |
PassFish: Initial Commit
Well, that's a lie. But nobody needs to see all the iterations I decided
to sweep under the rug.
That said, I think the repo is, while not clean, clean enough now, to
not be embarrassed by uploading it to github.
Diffstat (limited to 'rust_testhelper/src')
| -rw-r--r-- | rust_testhelper/src/lib.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rust_testhelper/src/lib.rs b/rust_testhelper/src/lib.rs new file mode 100644 index 0000000..a3c5db5 --- /dev/null +++ b/rust_testhelper/src/lib.rs @@ -0,0 +1,6 @@ +extern crate libc; +use libc::size_t; + +extern "C"{ + pub fn pwm_qhash(algorithm : size_t, input : *const u8, input_length : size_t, output : *mut u8, output_capacity : size_t) -> size_t; +} |
