Skip to content

Commit

Permalink
Merge pull request #88 from turbolent/cleanup
Browse files Browse the repository at this point in the history
Clean up
  • Loading branch information
turbolent authored Nov 10, 2023
2 parents e360bd9 + 6de8049 commit 78e422f
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 78e422f

Please sign in to comment.