source: trunk/include/heapshared.h@ 8896

Last change on this file since 8896 was 8896, checked in by sandervl, 23 years ago

heap interface updat

File size: 435 bytes
Line 
1/*
2 * Shared heap functions for OS/2
3 *
4 * Copyright 1999 Sander van Leeuwen (sandervl@xs4all.nl)
5 *
6 */
7#ifndef __HEAPSHARED_H__
8#define __HEAPSHARED_H__
9
10#include <stddef.h>
11#include <stdlib.h>
12#include <umalloc.h>
13
14#define PAGE_SIZE 4096
15
16BOOL SYSTEM InitializeSharedHeap();
17void SYSTEM DestroySharedHeap();
18
19void * SYSTEM _smalloc(int size);
20void * SYSTEM _smallocfill(int size, int filler);
21#define _sfree(a) free(a)
22
23#endif
Note: See TracBrowser for help on using the repository browser.