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 f6e0543627
.
This commit is contained in:
parent
f6e0543627
commit
fca606c671
2 changed files with 4 additions and 5 deletions
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue