Luna/luna/include/luna/CString.h
apio 59765aa334
All checks were successful
continuous-integration/drone/push Build is passing
Rename String.h -> CString.h
Let's not confuse String.h with a managed string class, it's in fact the equivalent of the C stdlib's <string.h>
2022-12-16 20:40:04 +01:00

13 lines
336 B
C

#pragma once
#include <luna/Types.h>
extern "C"
{
void* memcpy(void* dest, const void* src, usize n);
void* memset(void* buf, int c, usize n);
int memcmp(const void* a, const void* b, usize n);
void* memmove(void* dest, const void* src, usize n);
usize strlen(const char* str);
char* strdup(const char* str);
}