PSP2SDK
dirty-f9e4f2d
The free SDK for PSP2
|
00001 /* 00002 * Copyright (C) 2015 PSP2SDK Project 00003 * 00004 * This Source Code Form is subject to the terms of the Mozilla Public 00005 * License, v. 2.0. If a copy of the MPL was not distributed with this 00006 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 00007 * 00008 * Modified for PSP2 by PSP2SDK Team 00009 */ 00010 00011 #ifndef _MALLOC_H_ 00012 #define _MALLOC_H_ 00013 00014 #include <_ansi.h> 00015 00016 #define __need_size_t 00017 #include <stddef.h> 00018 00019 #ifdef __cplusplus 00020 extern "C" { 00021 #endif 00022 00023 /* The routines. */ 00024 00025 extern _PTR malloc _PARAMS ((size_t)); 00026 00027 extern _VOID free _PARAMS ((_PTR)); 00028 00029 extern _PTR realloc _PARAMS ((_PTR, size_t)); 00030 00031 extern _PTR calloc _PARAMS ((size_t, size_t)); 00032 00033 extern _PTR memalign _PARAMS ((size_t, size_t)); 00034 00035 extern void malloc_stats _PARAMS ((void)); 00036 00037 extern size_t malloc_usable_size _PARAMS ((_PTR)); 00038 00039 #ifdef __cplusplus 00040 } 00041 #endif 00042 00043 #endif