[sgen] Fix allocator spelling (#17111)
[mono-project.git] / mono / metadata / sgen-mono.h
blob9d45fcacbbc3e91ba5355f19ec7b33e29b916cfb
1 /**
2 * \file
3 * Copyright 2018 Microsoft
4 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
5 */
6 #ifndef __MONO_SGEN_MONO_H__
7 #define __MONO_SGEN_MONO_H__
9 #define MONO_SGEN_MONO_CALLBACKS_VERSION 1
11 typedef struct {
12 int version;
13 void (*emit_nursery_check) (MonoMethodBuilder *mb, gboolean is_concurrent);
14 void (*emit_managed_allocator) (MonoMethodBuilder *mb, gboolean slowpath, gboolean profiler, int atype);
15 } MonoSgenMonoCallbacks;
17 void
18 mono_install_sgen_mono_callbacks (MonoSgenMonoCallbacks *cb);
20 #endif