Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

Class «oscore::Memory»

Heap memory of system.

public: static void* alloc(uint32 size);

Allocate memory.

Parameters:
size — size in byte.

Returns:
pointer to allocate memory or NULL, if no memory.

public: static int32 free(void* prt);

Free allocated memory.

Parameters:
void* — pointer of allocate memory.

Returns:
zero if memory is free or error code.

Back to class list