From 272cc9563315566061bbbd7078f76c76a3484e4b Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sun, 11 Aug 2024 23:40:13 +1000 Subject: removing example targets from xmake.lua and fix identation --- tests/pool_tests.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3-70-g09d2