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,44 @@
|
||||
/*
|
||||
* File:memory.h
|
||||
* memory functions pseudo definition header
|
||||
*/
|
||||
/*
|
||||
* $PSLibId: Run-time Library Release 4.7$
|
||||
*/
|
||||
|
||||
#ifndef _MEMORY_H
|
||||
#define _MEMORY_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
|
||||
/* To avoid conflicting */
|
||||
extern void *memcpy (/* unsigned char *, unsigned char *, int */);
|
||||
extern void *memmove(unsigned char *, const unsigned char *, int);
|
||||
/* To avoid conflicting */
|
||||
extern int memcmp (/* unsigned char *, unsigned char *, int */);
|
||||
extern void *memchr (const unsigned char *, unsigned char, int);
|
||||
extern void *memset (/* unsigned char *, unsigned char, int */);
|
||||
|
||||
extern void *bcopy(const unsigned char *, unsigned char *, int); /* src,dest */
|
||||
extern void *bzero(unsigned char *, int);
|
||||
extern int bcmp (const unsigned char *, const unsigned char *, int);
|
||||
#if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _MEMORY_H */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user