* MSL_C/string.h

* MSL_C/stdlib.h
This commit is contained in:
Jcw87
2023-04-24 15:28:31 -07:00
committed by GitHub
parent e1a0f636e5
commit b440ae74fb
60 changed files with 73 additions and 73 deletions
@@ -5,7 +5,6 @@
#include "dolphin/types.h"
#include "global.h"
#include "MSL_C/MSL_Common/Src/string.h"
#include "dolphin/os/OSMutex.h"
#include "JSystem/JAudio2/JASDvdThread.h"
+1 -1
View File
@@ -2,7 +2,7 @@
#define JUTFONT_H
#include "JSystem/JUtility/TColor.h"
#include "MSL_C/MSL_Common/Src/string.h"
#include "MSL_C/string.h"
#include "dolphin/gx/GX.h"
#include "dolphin/types.h"
+2
View File
@@ -3,7 +3,9 @@
#include "MSL_C/MSL_Common/Src/ansi_files.h"
#ifndef __cplusplus
typedef unsigned short wchar_t;
#endif
int fwide(FILE* file, int mode);
+10
View File
@@ -0,0 +1,10 @@
#ifndef MSL_STDLIB_H_
#define MSL_STDLIB_H_
#include "MSL_C/MSL_Common/Src/abort_exit.h"
#include "MSL_C/MSL_Common/Src/alloc.h"
#include "MSL_C/MSL_Common/Src/arith.h"
#include "MSL_C/MSL_Common/Src/mbstring.h"
#include "MSL_C/MSL_Common/Src/strtoul.h"
#endif
+4 -19
View File
@@ -1,23 +1,8 @@
#ifndef MSL_STRING_H_
#define MSL_STRING_H_
#include "MSL_C/MSL_Common/Src/stddef.h"
#include "MSL_C/MSL_Common/Src/extras.h"
#include "MSL_C/MSL_Common/Src/mem.h"
#include "MSL_C/MSL_Common/Src/string.h"
// TODO: move to MSL_C/
extern "C" {
void memcpy(void*, const void*, size_t);
void* memset(void* dest, int ch, size_t count);
char* strrchr(const char* s, int c);
char* strchr(const char* s, int c);
int strncmp(const char* s1, const char* s2, size_t n);
int strcmp(const char* s1, const char* s2);
int stricmp(const char*, const char*);
char* strcat(char* dest, const char* source);
char* strncpy(char* dest, const char* source, size_t n);
char* strcpy(char* dest, const char* source);
size_t strlen(const char* s);
int tolower(int);
}
#endif
#endif
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_SAVE_D_SAVE_H
#define D_SAVE_D_SAVE_H
#include "MSL_C/MSL_Common/Src/string.h"
#include "MSL_C/string.h"
#include "SSystem/SComponent/c_xyz.h"
#include "dolphin/os/OS.h"
#include "dolphin/types.h"
-1
View File
@@ -1,7 +1,6 @@
#ifndef INIT_H
#define INIT_H
#include "MSL_C/MSL_Common/Src/string.h"
#include "dolphin/types.h"
#ifdef __cplusplus