[runtime] Switch getenv to use heap memory
[mono.git] / mono / metadata / custom-attrs-internals.h
1 #ifndef __MONO_METADATA_CUSTOM_ATTRS_INTERNALS_H__
2 #define __MONO_METADATA_CUSTOM_ATTRS_INTERNALS_H__
3
4 #include <mono/metadata/object.h>
5 #include <mono/metadata/reflection.h>
6
7 MonoCustomAttrInfo*
8 mono_custom_attrs_from_builders (MonoImage *alloc_img, MonoImage *image, MonoArray *cattrs);
9
10 typedef gboolean (*MonoAssemblyMetadataCustomAttrIterFunc) (MonoImage *image, guint32 typeref_scope_token, const gchar* nspace, const gchar* name, guint32 method_token, gpointer user_data);
11
12 void
13 mono_assembly_metadata_foreach_custom_attr (MonoAssembly *assembly, MonoAssemblyMetadataCustomAttrIterFunc func, gpointer user_data);
14
15 #endif  /* __MONO_METADATA_REFLECTION_CUSTOM_ATTRS_INTERNALS_H__ */