[runtime] Fix DISABLE_REFLECTION_EMIT build.
[mono.git] / mono / utils / memfuncs.h
1 /**
2  * \file
3  * Our own bzero/memmove.
4  *
5  * Copyright (C) 2015 Xamarin Inc
6  *
7  * Licensed under the MIT license. See LICENSE file in the project root for full license information.
8  * Licensed under the MIT license. See LICENSE file in the project root for full license information.
9  */
10
11 #ifndef __MONO_UTILS_MEMFUNCS_H__
12 #define __MONO_UTILS_MEMFUNCS_H__
13
14 #include <stdlib.h>
15
16 /*
17 These functions must be used when it's possible that either destination is not
18 word aligned or size is not a multiple of word size.
19 */
20 void mono_gc_bzero_atomic (void *dest, size_t size);
21 void mono_gc_bzero_aligned (void *dest, size_t size);
22 void mono_gc_memmove_atomic (void *dest, const void *src, size_t size);
23 void mono_gc_memmove_aligned (void *dest, const void *src, size_t size);
24
25 #endif