diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-08-11 23:40:13 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-08-11 23:40:13 +1000 |
commit | 272cc9563315566061bbbd7078f76c76a3484e4b (patch) | |
tree | 3264c6acef2e3d3a7dab1c806233062395a5b5f3 /tests | |
parent | 3a151b1d1f99b59dfd6d98c1e7520b48b57d6f5e (diff) |
removing example targets from xmake.lua and fix identation
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pool_tests.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/pool_tests.c b/tests/pool_tests.c index 10a4bed..a268a61 100644 --- a/tests/pool_tests.c +++ b/tests/pool_tests.c @@ -38,9 +38,9 @@ typedef struct foo { } foo; CORE_DEFINE_HANDLE(bar); -typedef struct bar_handle { +typedef struct barHandle { u32 raw; -} bar_handle; +} barHandle; TYPED_POOL(foo, bar); TEST(Pool, TypedPool) { @@ -48,7 +48,7 @@ TEST(Pool, TypedPool) { // create pool bar_pool pool = bar_pool_create(&a, 2, sizeof(foo)); - bar_handle first_handle, second_handle, third_handle; + barHandle first_handle, second_handle, third_handle; foo* first = bar_pool_alloc(&pool, &first_handle); foo* second = bar_pool_alloc(&pool, &second_handle); // Third one shouldnt work |