mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-21 14:03:11 -07:00
Port to Windows
This commit is contained in:
parent
43ddf619ed
commit
5faa801331
52 changed files with 616 additions and 143 deletions
|
@ -138,7 +138,7 @@ static void seqnums_ack(ChiakiSeqNum32 *nums, size_t *nums_count, ChiakiSeqNum32
|
|||
|
||||
static MunitResult test_takion_send_buffer(const MunitParameter params[], void *user)
|
||||
{
|
||||
static const size_t nums_count = 0x30;
|
||||
#define nums_count 0x30
|
||||
ChiakiTakionSendBuffer send_buffer;
|
||||
ChiakiErrorCode err = chiaki_takion_send_buffer_init(&send_buffer, NULL, nums_count);
|
||||
munit_assert_int(err, ==, CHIAKI_ERR_SUCCESS);
|
||||
|
@ -169,6 +169,7 @@ static MunitResult test_takion_send_buffer(const MunitParameter params[], void *
|
|||
|
||||
chiaki_takion_send_buffer_fini(&send_buffer);
|
||||
return MUNIT_OK;
|
||||
#undef nums_count
|
||||
}
|
||||
|
||||
|
||||
|
@ -199,4 +200,4 @@ MunitTest tests_takion[] = {
|
|||
NULL
|
||||
},
|
||||
{ NULL, NULL, NULL, NULL, MUNIT_TEST_OPTION_NONE, NULL }
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue