From fca606c67172a6c57deef0f65cc5e98fbb9f4df6 Mon Sep 17 00:00:00 2001 From: Andy Killorin <37423245+Speedy6451@users.noreply.github.com> Date: Sat, 19 Jul 2025 20:06:35 -0500 Subject: [PATCH] Revert "use unsigned types in header" the dll import wizard does not appear to support unsigned types in headers (tested "unsigned long long") This reverts commit f6e05436275499ed48654602144ab2002039855c. --- decoder/WIZ.txt | 1 - decoder/justfile | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 decoder/WIZ.txt diff --git a/decoder/WIZ.txt b/decoder/WIZ.txt deleted file mode 100644 index 3e74eca..0000000 --- a/decoder/WIZ.txt +++ /dev/null @@ -1 +0,0 @@ -uint8_t=unsigned __int8;uint16_t=unsigned __int16;uint32_t=unsigned __int32;uint64_t=unsigned __int64;int8_t=__int8;int16_t=__int16;int32_t=__int32;int64_t=__int64 diff --git a/decoder/justfile b/decoder/justfile index 733dcd2..a41c89c 100644 --- a/decoder/justfile +++ b/decoder/justfile @@ -6,10 +6,10 @@ build-win: build-lvheader build-lvheader: cbindgen --crate decoder --lang c --output decoderlib.h - sed -i 's/uint64_t/unsigned __int64/g' decoderlib.h - sed -i 's/uint32_t/unsigned __int32/g' decoderlib.h - sed -i 's/uint16_t/unsigned __int16/g' decoderlib.h - sed -i 's/uint8_t/unsigned __int8/g' decoderlib.h + sed -i 's/uint64_t/__int64/g' decoderlib.h + sed -i 's/uint32_t/__int32/g' decoderlib.h + sed -i 's/uint16_t/__int16/g' decoderlib.h + sed -i 's/uint8_t/__int8/g' decoderlib.h upload: build-win scp decoderlib.h hz:site/lvrs