#ifndef CORE_FXCRT_FX_MEMCPY_WRAPPERS_H_
#define CORE_FXCRT_FX_MEMCPY_WRAPPERS_H_
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <wchar.h>
#include "core/fxcrt/compiler_specific.h"
UNSAFE_BUFFER_USAGE inline int FXSYS_memcmp(const void* ptr1,
const void* ptr2,
size_t len) { … }
UNSAFE_BUFFER_USAGE inline int FXSYS_wmemcmp(const wchar_t* ptr1,
const wchar_t* ptr2,
size_t len) { … }
UNSAFE_BUFFER_USAGE inline void* FXSYS_memcpy(void* ptr1,
const void* ptr2,
size_t len) { … }
UNSAFE_BUFFER_USAGE inline wchar_t* FXSYS_wmemcpy(wchar_t* ptr1,
const wchar_t* ptr2,
size_t len) { … }
UNSAFE_BUFFER_USAGE inline void* FXSYS_memmove(void* ptr1,
const void* ptr2,
size_t len) { … }
UNSAFE_BUFFER_USAGE inline wchar_t* FXSYS_wmemmove(wchar_t* ptr1,
const wchar_t* ptr2,
size_t len) { … }
UNSAFE_BUFFER_USAGE inline void* FXSYS_memset(void* ptr1, int val, size_t len) { … }
UNSAFE_BUFFER_USAGE inline wchar_t* FXSYS_wmemset(wchar_t* ptr1,
int val,
size_t len) { … }
UNSAFE_BUFFER_USAGE inline const void* FXSYS_memchr(const void* ptr1,
int val,
size_t len) { … }
UNSAFE_BUFFER_USAGE inline const wchar_t* FXSYS_wmemchr(const wchar_t* ptr1,
wchar_t val,
size_t len) { … }
#endif