Change formatting
[mono-project.git] / mono / metadata / sgen-mono.h
blobcbce48db0f84db24ac9045baf335692660eda44a
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_allocater) (MonoMethodBuilder *mb, gboolean slowpath, gboolean profiler, int atype);
15 } MonoSgenMonoCallbacks;
17 void
18 mono_install_sgen_mono_callbacks (MonoSgenMonoCallbacks *cb);
20 #endif