[cert-sync]: Make the new store the default and add '--legacy' for the old one.
[mono-project.git] / mono / utils / memfuncs.h
blob24cc0544474044307cc06261b69a2d0bf3ba59cf
1 /*
2 * memfuncs.h: Our own bzero/memmove.
4 * Copyright (C) 2015 Xamarin Inc
6 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
7 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
8 */
10 #ifndef __MONO_UTILS_MEMFUNCS_H__
11 #define __MONO_UTILS_MEMFUNCS_H__
13 #include <stdlib.h>
16 These functions must be used when it's possible that either destination is not
17 word aligned or size is not a multiple of word size.
19 void mono_gc_bzero_atomic (void *dest, size_t size);
20 void mono_gc_bzero_aligned (void *dest, size_t size);
21 void mono_gc_memmove_atomic (void *dest, const void *src, size_t size);
22 void mono_gc_memmove_aligned (void *dest, const void *src, size_t size);
24 #endif