mirror of
https://github.com/Ed94/pikuma_ps1.git
synced 2026-06-01 18:41:13 -07:00
Updating dependencies docs and prepping for more advanced script usage of toolchain for Psy-Q
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* File:malloc.h
|
||||
*/
|
||||
/*
|
||||
* $PSLibId: Run-time Library Release 4.7$
|
||||
*/
|
||||
#ifndef _MALLOC_H
|
||||
#define _MALLOC_H
|
||||
|
||||
#ifndef _SIZE_T
|
||||
#define _SIZE_T
|
||||
typedef unsigned int size_t; /* result type of the sizeof operator (ANSI) */
|
||||
#endif
|
||||
#ifndef NULL
|
||||
#define NULL 0 /* null pointer constant */
|
||||
#endif
|
||||
|
||||
#if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
extern void InitHeap (unsigned long *, unsigned long);
|
||||
extern void free(void *);
|
||||
extern void *malloc(size_t);
|
||||
extern void *calloc(size_t, size_t);
|
||||
extern void *realloc(void *, size_t);
|
||||
extern void InitHeap2 (unsigned long *, unsigned long);
|
||||
extern void free2(void *);
|
||||
extern void *malloc2(size_t);
|
||||
extern void *calloc2(size_t, size_t);
|
||||
extern void *realloc2(void *, size_t);
|
||||
extern void InitHeap3(unsigned long *, unsigned long);
|
||||
extern void free3(void *);
|
||||
extern void *malloc3(size_t);
|
||||
extern void *calloc3(size_t, size_t);
|
||||
extern void *realloc3(void *, size_t);
|
||||
#if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _MALLOC_H */
|
||||
|
||||
Reference in New Issue
Block a user