summaryrefslogtreecommitdiff
path: root/include/MSL_C/string.h
diff options
context:
space:
mode:
authorRevo <projectrevotpp@hotmail.com>2020-10-31 18:29:54 -0400
committerGitHub <noreply@github.com>2020-10-31 18:29:54 -0400
commitb78fc344a7db4386fc086e96107ed9f5f6cf45ae (patch)
treec93cb32ab858dae70b15b1c4943ee8e771dadbde /include/MSL_C/string.h
parentf13fcff4a5f496e8bc1fa4ff759698d9ac37c478 (diff)
parent9ba8186ce645c468f66eed98034db0127f3e3199 (diff)
Merge pull request #154 from mparisi20/master
decompile code_801DCE6C.o, move gamespy, and add standard C system headers
Diffstat (limited to 'include/MSL_C/string.h')
-rw-r--r--include/MSL_C/string.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/MSL_C/string.h b/include/MSL_C/string.h
new file mode 100644
index 0000000..7b4755c
--- /dev/null
+++ b/include/MSL_C/string.h
@@ -0,0 +1,22 @@
+#ifndef POKEREVO_STRING_H
+#define POKEREVO_STRING_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void *memset(void *s, int c, size_t n);
+void *memmove(void *dest, const void *src, size_t n);
+void *memcpy(void *dest, const void *src, size_t n);
+int strcmp(const char *s1, const char *s2);
+int strncmp(const char *s1, const char *s2, size_t n);
+char *strcpy(char *dest, const char *src);
+char *strncpy(char *dest, const char *src, size_t n);
+char *strcat(char *dest, const char *src);
+char *strncat(char *dest, const char *src, size_t n);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif //POKEREVO_STRING_H