1111namespace {
1212#if INTPTR_MAX == INT64_MAX
1313 //64-bit internal p/invoke table
14- std::array<PinvokeEntry, 11> internal_pinvokes {{
14+ std::array<PinvokeEntry, 13> internal_pinvokes {{
15+ {0x423c8f539a2c56d2, "_monodroid_lookup_replacement_type", reinterpret_cast<void*>(&_monodroid_lookup_replacement_type)},
1516 {0x4310c1531ddddc14, "__android_log_print", reinterpret_cast<void*>(&__android_log_print)},
1617 {0x4b1956138764939a, "_monodroid_gref_log_new", reinterpret_cast<void*>(&_monodroid_gref_log_new)},
1718 {0x9187e6bc6294cacf, "clr_typemap_managed_to_java", reinterpret_cast<void*>(&clr_typemap_managed_to_java)},
@@ -20,6 +21,7 @@ namespace {
2021 {0xae3df96dda0143bd, "_monodroid_gref_log", reinterpret_cast<void*>(&_monodroid_gref_log)},
2122 {0xb8306f71b963cd3d, "monodroid_log", reinterpret_cast<void*>(&monodroid_log)},
2223 {0xb9bae9c43fb05089, "xamarin_app_init", reinterpret_cast<void*>(&xamarin_app_init)},
24+ {0xc2a21d3f6c8ccc24, "_monodroid_lookup_replacement_method_info", reinterpret_cast<void*>(&_monodroid_lookup_replacement_method_info)},
2325 {0xd1e121b94ea63f2e, "_monodroid_gref_get", reinterpret_cast<void*>(&_monodroid_gref_get)},
2426 {0xd5151b00eb33d85e, "monodroid_TypeManager_get_java_class_name", reinterpret_cast<void*>(&monodroid_TypeManager_get_java_class_name)},
2527 {0xf41c48df6f9be476, "monodroid_free", reinterpret_cast<void*>(&monodroid_free)},
@@ -516,14 +518,16 @@ constexpr hash_t system_security_cryptography_native_android_library_hash = 0x18
516518constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5;
517519#else
518520 //32-bit internal p/invoke table
519- std::array<PinvokeEntry, 11 > internal_pinvokes {{
521+ std::array<PinvokeEntry, 13 > internal_pinvokes {{
520522 {0xb7a486a, "monodroid_TypeManager_get_java_class_name", reinterpret_cast<void*>(&monodroid_TypeManager_get_java_class_name)},
523+ {0x333d4835, "_monodroid_lookup_replacement_method_info", reinterpret_cast<void*>(&_monodroid_lookup_replacement_method_info)},
521524 {0x39e5b5d4, "__android_log_print", reinterpret_cast<void*>(&__android_log_print)},
522525 {0x656e00bd, "clr_typemap_managed_to_java", reinterpret_cast<void*>(&clr_typemap_managed_to_java)},
523526 {0xa04e5d1c, "monodroid_free", reinterpret_cast<void*>(&monodroid_free)},
524527 {0xb02468aa, "_monodroid_gref_get", reinterpret_cast<void*>(&_monodroid_gref_get)},
525528 {0xb6431f9a, "clr_typemap_java_to_managed", reinterpret_cast<void*>(&clr_typemap_java_to_managed)},
526529 {0xbe8d7701, "_monodroid_gref_log_new", reinterpret_cast<void*>(&_monodroid_gref_log_new)},
530+ {0xc439b5d7, "_monodroid_lookup_replacement_type", reinterpret_cast<void*>(&_monodroid_lookup_replacement_type)},
527531 {0xc5146c54, "_monodroid_gref_log_delete", reinterpret_cast<void*>(&_monodroid_gref_log_delete)},
528532 {0xe7e77ca5, "_monodroid_gref_log", reinterpret_cast<void*>(&_monodroid_gref_log)},
529533 {0xeac7f6e3, "xamarin_app_init", reinterpret_cast<void*>(&xamarin_app_init)},
@@ -1021,6 +1025,6 @@ constexpr hash_t system_security_cryptography_native_android_library_hash = 0x93
10211025constexpr hash_t system_globalization_native_library_hash = 0xa66f1e5a;
10221026#endif
10231027
1024- constexpr size_t internal_pinvokes_count = 11 ;
1028+ constexpr size_t internal_pinvokes_count = 13 ;
10251029constexpr size_t dotnet_pinvokes_count = 477;
10261030} // end of anonymous namespace
0 commit comments