2 using System.Runtime.InteropServices;
4 namespace Efl { namespace Eo {
6 public partial class FunctionInterop
8 [DllImport(efl.Libs.Libdl)]
9 public static extern IntPtr dlsym(IntPtr handle, string symbol);
11 public static IntPtr LoadFunctionPointer(IntPtr nativeLibraryHandle, string functionName)
13 Eina.Log.Debug("searching {nativeLibraryHandle} for {functionName}");
14 var s = FunctionInterop.dlsym(nativeLibraryHandle, functionName);
15 Eina.Log.Debug("searching {nativeLibraryHandle} for {functionName}, result {s}");