view kernel/memory.c3 @ 351:62803b073d11

Add conditional qt5 test
author Windel Bouwman
date Sat, 08 Mar 2014 16:46:51 +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);
}