Mercurial > lcfOS
view kernel/memory.c3 @ 354:5477e499b039
Added some sort of string functionality
author | Windel Bouwman |
---|---|
date | Thu, 13 Mar 2014 18:59:06 +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); }