Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Nov 10, 2023
1 parent e360bd9 commit 6de8049
Show file tree
Hide file tree
Showing 27 changed files with 346 additions and 349 deletions.
4 changes: 2 additions & 2 deletions w2c2/array.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
bool
arrayEnsureCapacitySlowPath(
void** items,
size_t length,
const size_t length,
size_t* capacity,
size_t itemSize
const size_t itemSize
) {
size_t newCapacity = 0;
void* newItems = NULL;
Expand Down
4 changes: 2 additions & 2 deletions w2c2/array.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ W2C2_INLINE
bool
arrayEnsureCapacity(
void** items,
size_t length,
const size_t length,
size_t* capacity,
size_t itemSize
const size_t itemSize
) {
if (length <= *capacity) {
return true;
Expand Down
Loading

0 comments on commit 6de8049

Please sign in to comment.