mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 13:52:30 +00:00
435a566751
* sumatrapdf - vendor import * everything compiles (libjpeg, poppler, fitz, sumatrapdf) * does NOT link (remove the comment tags in the parent directory.rbuild file (rosapps dir) to build it) svn path=/trunk/; revision=29295
28 lines
532 B
C
28 lines
532 B
C
#ifndef FAST_ALLOC_H_
|
|
#define FAST_ALLOC_H_
|
|
|
|
/* Written by: Krzysztof Kowalczyk (http://blog.kowalczyk.info)
|
|
License: Public Domain (http://creativecommons.org/licenses/publicdomain/)
|
|
Take all the code you want, I'll just write more.
|
|
*/
|
|
|
|
#ifdef _WIN32
|
|
#include <stddef.h> // size_t on windows
|
|
#else
|
|
#include <sys/types.h> // size_t
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
void * fast_malloc(size_t size);
|
|
void fast_free(void *p);
|
|
void * fast_realloc(void *oldP, size_t size);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|