Mercurial > lcfOS
comparison kernel/memory.c3 @ 293:6aa721e7b10b
Try to improve build sequence
author | Windel Bouwman |
---|---|
date | Thu, 28 Nov 2013 20:39:37 +0100 |
parents | c9781c73e7e2 |
children | 9417caea2eb3 |
comparison
equal
deleted
inserted
replaced
292:534b94b40aa8 | 293:6aa721e7b10b |
---|---|
1 module memory; | 1 module memory; |
2 | |
2 import process; | 3 import process; |
3 | 4 |
4 uint8_t* ptr; | 5 var uint8_t* ptr; |
5 | 6 |
6 func uint8_t* Alloc(int size) | 7 function uint8_t* Alloc(int size) |
7 { | 8 { |
8 ptr += size; | 9 ptr += size; |
9 return ptr; | 10 return ptr; |
10 } | 11 } |
11 | 12 |