Merge pull request #4928 from kumpera/ptr_to_struct_intrinsic
[mono.git] / mono / metadata / assembly-internals.h
index fc02fefa42ee3c4ea507ab4cb01858c2fd31d031..65dc09f8712bc485f15fb4d5e45bc427f8037be8 100644 (file)
@@ -1,4 +1,5 @@
-/*
+/**
+ * \file
  * Copyright 2015 Xamarin Inc
  * Licensed under the MIT license. See LICENSE file in the project root for full license information.
  */
@@ -29,4 +30,12 @@ MonoAssembly*          mono_assembly_load_from_predicate (MonoImage *image, cons
                                                          gpointer user_data,
                                                          MonoImageOpenStatus *status);
 
+/* MonoAssemblyCandidatePredicate that compares the assembly name (name, version,
+ * culture, public key token) of the candidate with the wanted name, if the
+ * wanted name has a public key token (if not present, always return true).
+ * Pass the wanted MonoAssemblyName* as the user_data.
+ */
+gboolean
+mono_assembly_candidate_predicate_sn_same_name (MonoAssembly *candidate, gpointer wanted_name);
+
 #endif /* __MONO_METADATA_ASSEMBLY_INTERNALS_H__ */