zephyr: replace zephyr integer types with C99 types
git grep -l 'u\(8\|16\|32\|64\)_t' | \ xargs sed -i "s/u\(8\|16\|32\|64\)_t/uint\1_t/g" git grep -l 's\(8\|16\|32\|64\)_t' | \ xargs sed -i "s/s\(8\|16\|32\|64\)_t/int\1_t/g" Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
ee6fa31af6
commit
a1b77fd589
2364 changed files with 32505 additions and 32505 deletions
|
@ -21,7 +21,7 @@ static void test_array(void)
|
|||
zassert_equal(array[0], 1, "array[0] wrong");
|
||||
zassert_equal(array[3], 4, "array[3] wrong");
|
||||
|
||||
std::array<u8_t, 2> local = {1, 2};
|
||||
std::array<uint8_t, 2> local = {1, 2};
|
||||
zassert_equal(local.size(), 2, "unexpected size");
|
||||
zassert_equal(local[0], 1, "local[0] wrong");
|
||||
zassert_equal(local[1], 2, "local[1] wrong");
|
||||
|
@ -69,7 +69,7 @@ static void test_make_unique(void)
|
|||
|
||||
void test_main(void)
|
||||
{
|
||||
TC_PRINT("version %u\n", (u32_t)__cplusplus);
|
||||
TC_PRINT("version %u\n", (uint32_t)__cplusplus);
|
||||
ztest_test_suite(libcxx_tests,
|
||||
ztest_unit_test(test_array),
|
||||
ztest_unit_test(test_vector),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue