Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / metadata / custom-attrs-internals.h
index 2f93fecc8779134312080d1cc3e3026a8526ef9b..1f9150c33e36cc2c86ef85af3c63773ae76f8277 100644 (file)
@@ -1,3 +1,7 @@
+/**
+ * \file
+ */
+
 #ifndef __MONO_METADATA_CUSTOM_ATTRS_INTERNALS_H__
 #define __MONO_METADATA_CUSTOM_ATTRS_INTERNALS_H__
 
@@ -7,4 +11,9 @@
 MonoCustomAttrInfo*
 mono_custom_attrs_from_builders (MonoImage *alloc_img, MonoImage *image, MonoArray *cattrs);
 
+typedef gboolean (*MonoAssemblyMetadataCustomAttrIterFunc) (MonoImage *image, guint32 typeref_scope_token, const gchar* nspace, const gchar* name, guint32 method_token, gpointer user_data);
+
+void
+mono_assembly_metadata_foreach_custom_attr (MonoAssembly *assembly, MonoAssemblyMetadataCustomAttrIterFunc func, gpointer user_data);
+
 #endif  /* __MONO_METADATA_REFLECTION_CUSTOM_ATTRS_INTERNALS_H__ */