Closed
Description
Can we add support for loading symbols within the hosting application as documented here?
As a Mono extension, if the library being loaded is
__Internal
, then the main program is searched for method symbols. This is equivalent to calling dlopen(3) with a filename ofNULL
. This allows you to P/Invoke methods that are within an application that is embedding Mono.
This will make it easier for existing applications to expose method symbols to managed code without having to 1) separating desired methods to a separate dynamic library or 2) passing tables of function pointers to managed code on initialization.