[runtime] Extract mono_runtime_get_aotid from the icall code.
[mono.git] / mono / metadata / runtime.h
1 /*
2  * runtime.h: Runtime functions
3  *
4  * Author:
5  *      Jonathan Pryor
6  *
7  * (C) 2010 Novell, Inc.
8  */
9
10 #ifndef _MONO_METADATA_RUNTIME_H_
11 #define _MONO_METADATA_RUNTIME_H_
12
13 #include <glib.h>
14 #include <mono/metadata/metadata.h>
15 #include <mono/utils/mono-publib.h>
16 #include <mono/utils/mono-compiler.h>
17
18 MONO_BEGIN_DECLS
19
20 gboolean mono_runtime_is_critical_method (MonoMethod *method);
21 gboolean mono_runtime_try_shutdown (void);
22
23 void mono_runtime_init_tls (void);
24
25 char* mono_runtime_get_aotid (void);
26 MONO_END_DECLS
27
28 #endif /* _MONO_METADATA_RUNTIME_H_ */
29
30