mdelibs/core/string.c

9 lines
142 B
C
Raw Normal View History

2025-11-22 02:29:49 +09:00
#include <MDE/Core/String.h>
2025-11-16 12:01:34 +09:00
2025-11-17 18:20:56 +09:00
char* MDEStringDuplicate(const char* src) {
2025-11-16 12:01:34 +09:00
char* s = malloc(strlen(src) + 1);
strcpy(s, src);
return s;
}