Skip to content

Commit d7ee59a

Browse files
committed
fixed up some typos and irregularities
1 parent 3ce9f4a commit d7ee59a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ To be used in an embedded environment with small ram.
88

99
Use the heap by doing something like this:
1010

11-
#include "tinyheap.c"
11+
#include "tinyheap.h"
1212

1313
// use this space as heap
1414
static char heap_space[4096];

src/tinyheap.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -306,11 +306,11 @@ void th_free(tinyheap* heap, void* p) {
306306
#if TH_DUMP
307307
void th_dump(tinyheap* heap) {
308308
#if TH_SEEK_STRAT_MIN_MAX
309-
heap->smallFree = 0;
310-
heap->bigFree = 0;
309+
//heap->smallFree = 0;
310+
//heap->bigFree = 0;
311311
#endif
312312
#if TH_SEEK_STRAT_LAST_FREE
313-
heap->lastFree = 0;
313+
//heap->lastFree = 0;
314314
#endif
315315

316316

0 commit comments

Comments
 (0)