libr3 is a high-performance path dispatching library. It compiles your route paths into a prefix tree (trie). By using the constructed prefix trie in the start-up time, you may dispatch your routes with efficiency
This PR addresses a couple of issues found in str_array:
Update the faulty access macros for str_array.
Adds a testcase for the usage of the access macros, and also updates the testsuite to only include what str_array requires.
This shows that str_array can be used separately by users, which was possible in version 1.3.4 as well.
Remove declarations for nonexisting functions in str_array.h
Remove cyclic dependency between str_array.h and r3.h.
This also makes sure we don't get warnings when building with clang.
Check for existence of stdbool.h during CMake builds.
The headerfile is searched for during autogen/autoconf builds to determine when to include stdbool.h.
This let CMake builds have the same behavior.
This PR addresses a couple of issues found in
str_array
:str_array
. Adds a testcase for the usage of the access macros, and also updates the testsuite to only include whatstr_array
requires. This shows thatstr_array
can be used separately by users, which was possible in version 1.3.4 as well.str_array.h
str_array.h
andr3.h
. This also makes sure we don't get warnings when building with clang.stdbool.h
during CMake builds. The headerfile is searched for during autogen/autoconf builds to determine when to includestdbool.h
. This let CMake builds have the same behavior.