comparison kernel/src/memory.c3 @ 389:2ec730e45ea1

Added check for recursive struct
author Windel Bouwman
date Fri, 16 May 2014 12:29:31 +0200
parents 6df89163e114
children 6ae782a085e0
comparison
equal deleted inserted replaced
388:e07c2a9abac1 389:2ec730e45ea1
6 var int ptr; 6 var int ptr;
7 7
8 function void init() 8 function void init()
9 { 9 {
10 ptr = 0; 10 ptr = 0;
11 io.print2("ptr = ", ptr); 11 // io.print2("ptr = ", ptr);
12 // TODO 12 // TODO
13 } 13 }
14 14
15 function u8* Alloc(int size) 15 function u8* Alloc(int size)
16 { 16 {