Skip to content

Commit

Permalink
Address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
grendello committed Oct 14, 2024
1 parent 0860288 commit e35c7c9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/native/pinvoke-override/precompiled.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@ PinvokeOverride::monodroid_pinvoke_override (const char *library_name, const cha
PinvokeEntry const& e = internal_pinvokes[i];
log_fatal (LOG_ASSEMBLY, "\t'%s'=%p (hash: 0x%zx)", e.name, e.func, e.hash);
}
Helpers::abort_application (LOG_ASSEMBLY, "Failure handling a P/Invoke request");
Helpers::abort_application (
LOG_ASSEMBLY,
Util::monodroid_strdup_printf (
"Failure handling a p/invoke request for '%s'@'%s'",
entrypoint_name,
library_name
)
);
}

return entry->func;
Expand Down

0 comments on commit e35c7c9

Please sign in to comment.