[Base] Wrap strdup and strcasecmp in xe:: functions

This commit is contained in:
Triang3l
2022-07-17 16:14:29 +03:00
parent 500bbe9e0d
commit 34a952d789
9 changed files with 59 additions and 23 deletions

View File

@@ -12,10 +12,14 @@
#include <string>
#include "utf8.h"
#include "xenia/base/utf8.h"
namespace xe {
int xe_strcasecmp(const char* string1, const char* string2);
int xe_strncasecmp(const char* string1, const char* string2, size_t count);
char* xe_strdup(const char* source);
std::string to_utf8(const std::u16string_view source);
std::u16string to_utf16(const std::string_view source);