Mercurial > lcfOS
view kernel/memory.c3 @ 326:2fa27c44e3c9
Changed hasbang
author | Windel Bouwman |
---|---|
date | Sat, 01 Feb 2014 16:54:33 +0100 |
parents | 6753763d3bec |
children |
line wrap: on
line source
module memory; import process; var int ptr; function u8* Alloc(int size) { ptr = ptr + size; return cast<u8*>(ptr); }