source: trunk/src/win32k/kKrnlLib/include/kKLmalloc.h

Last change on this file was 6701, checked in by bird, 24 years ago

Further progress. More CLib stuff.

File size: 1.1 KB
Line 
1/* $Id: kKLmalloc.h,v 1.1 2001-09-14 01:50:17 bird Exp $
2 *
3 * Heap.
4 *
5 * Note: This heap does very little checking on input.
6 * Use with care! We're running at Ring-0!
7 *
8 * Copyright (c) 1999 knut st. osmundsen
9 *
10 * Project Odin Software License can be found in LICENSE.TXT
11 *
12 */
13
14/* XLATOFF */
15#ifndef _MALLOC_H_
16#define _MALLOC_H_
17#ifdef __MALLOC_H
18 #error("A different version of malloc.h has allready been loaded!")
19#endif
20#define __malloc_h
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25/* XLATON */
26
27/*******************************************************************************
28* Exported Functions and Variables *
29*******************************************************************************/
30int heapInit(unsigned, unsigned, unsigned, unsigned);
31void * malloc(unsigned);
32void * realloc(void *, unsigned);
33void free(void *);
34unsigned _memfree(void);
35unsigned _msize(void *);
36int _heap_check(void);
37
38/* XLATOFF */
39#ifdef __cplusplus
40}
41#endif
42#endif /* _MALLOC_H_ */
43/* XLATON */
44
Note: See TracBrowser for help on using the repository browser.