openxc / bitfield-c

Bit array parsing and encoding utility library in C
BSD 3-Clause "New" or "Revised" License
92 stars 51 forks source link

Fix issues of macro "PREPARE_FIRST_COPY" and bitmask #7

Closed zwxdlut closed 4 years ago

zwxdlut commented 4 years ago

1 Fix issue: Bug in macro "PREPARE_FIRST_COPY". 2 Fix function "bitmask" to support 64 bit count. 3 Fix parameter "source_length" type of function "get_bitfield" to uint16_t. 4 Add testcase.