This commit is contained in:
Nishi 2025-11-22 02:29:49 +09:00
commit ff97a38a1e
Signed by: nishi
GPG key ID: 27EF69B208EB9343
13 changed files with 215 additions and 37 deletions

9
src/core/string.c Normal file
View file

@ -0,0 +1,9 @@
#include <MDE/Core/String.h>
char* MDEStringDuplicate(const char* src) {
char* s = malloc(strlen(src) + 1);
strcpy(s, src);
return s;
}