update
This commit is contained in:
parent
625a2b1d12
commit
ff97a38a1e
13 changed files with 215 additions and 37 deletions
9
src/core/string.c
Normal file
9
src/core/string.c
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue