Rev | Line | |
---|
[1489] | 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 |
|
---|
[8896] | 16 | BOOL SYSTEM InitializeSharedHeap();
|
---|
| 17 | void SYSTEM DestroySharedHeap();
|
---|
[1489] | 18 |
|
---|
[8896] | 19 | void * SYSTEM _smalloc(int size);
|
---|
| 20 | void * SYSTEM _smallocfill(int size, int filler);
|
---|
| 21 | #define _sfree(a) free(a)
|
---|
[1489] | 22 |
|
---|
| 23 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.