ClickHouse/libs/libmemcpy/memcpy.h

18 lines
284 B
C++
Raw Normal View History

2017-09-15 03:27:37 +00:00
#pragma once
#ifdef __cplusplus
extern "C"
{
#endif
#include "impl/FastMemcpy.h"
2017-09-15 03:27:37 +00:00
void * __attribute__((__weak__)) memcpy(void * __restrict destination, const void * __restrict source, size_t size)
{
return memcpy_fast(destination, source, size);
}
#ifdef __cplusplus
}
#endif