lwmem/docs/examples_src/example_realloc_enlarge_3b.c

5 lines
172 B
C
Raw Normal View History

2019-09-29 10:09:22 +02:00
/* Now reallocate ptr2 */
ptr2 = lwmem_realloc(ptr2, 20);
printf("New state at case 3b\r\n");
lwmem_debug_free(); /* This is debug function for sake of this example */