dol can build

This commit is contained in:
Prakxo
2023-03-13 07:27:22 +00:00
parent 3dd5dbcf59
commit 7cd0fe6ec6
5 changed files with 28 additions and 4 deletions
+24
View File
@@ -0,0 +1,24 @@
#ifndef _DOLPHIN_STRING_H
#define _DOLPHIN_STRING_H
#include "types.h"
#ifdef __cplusplus
extern "C" {
#endif // ifdef __cplusplus
size_t strlen(const char*);
char* strrchr(const char* str, int chr);
char* strchr(const char* str, int chr);
int strncmp(const char* str1, const char* str2, size_t n);
int strcmp(const char* str1, const char* str2);
int stricmp(char*, char*);
char* strcpy(char*, const char*);
char* strcat(char* dst, const char* src);
char* strncpy(char* dst, const char* src, size_t n);
#ifdef __cplusplus
};
#endif // ifdef __cplusplus
#endif
+1 -1
View File
@@ -1,4 +1,4 @@
#include <string.h>
#include "_mem.h"
#include "types.h"
#include "dolphin/vi.h"
#include "JSystem/JSystem.h"
+1 -1
View File
@@ -1,5 +1,5 @@
#include "libultra/libultra.h"
#include <string.h>
#include "_mem.h"
#include "dolphin/os.h"
#include "dolphin/os/OSTime.h"
+1 -1
View File
@@ -1,5 +1,5 @@
#include <stdlib.h> /* ldiv & ldiv_t */
#include <string.h> /* memcpy */
#include "_mem.h" /* memcpy */
#include "xprintf.h"
+1 -1
View File
@@ -1,5 +1,5 @@
#include <stdlib.h> /* lldiv & lldiv_t */
#include <string.h> /* memcpy */
#include "_mem.h" /* memcpy */
#include "libultra/xprintf.h"
#define BUFF_LEN 0x18