2019-01-15 23:29:56 -08:00
|
|
|
using System;
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
mono: fix space and brace warnings of StyleCop
Summary:
The following warning rules of StyleCop are checked.
Space rules : SA1000, SA1003, SA1008, SA1009, SA1010, SA1011
Brace rules : SA1500, SA1501, SA1502, SA1503, SA1513
Indentation is also applied.
Reviewers: lauromoura, felipealmeida, vitor.sousa, woohyun
Reviewed By: vitor.sousa
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8485
2019-04-02 07:51:05 -07:00
|
|
|
namespace Efl
|
|
|
|
{
|
|
|
|
|
|
|
|
namespace Eo
|
|
|
|
{
|
2019-01-15 23:29:56 -08:00
|
|
|
|
2019-10-17 10:36:15 -07:00
|
|
|
public static partial class FunctionInterop
|
2019-01-15 23:29:56 -08:00
|
|
|
{
|
|
|
|
[DllImport(efl.Libs.Libdl)]
|
|
|
|
public static extern IntPtr GetProcAddress(IntPtr handle, string symbol);
|
|
|
|
|
|
|
|
private static IntPtr LoadFunctionPointer(IntPtr nativeLibraryHandle, string functionName)
|
|
|
|
=> FunctionInterop.GetProcAddress(nativeLibraryHandle, functionName);
|
|
|
|
}
|
|
|
|
|
mono: fix space and brace warnings of StyleCop
Summary:
The following warning rules of StyleCop are checked.
Space rules : SA1000, SA1003, SA1008, SA1009, SA1010, SA1011
Brace rules : SA1500, SA1501, SA1502, SA1503, SA1513
Indentation is also applied.
Reviewers: lauromoura, felipealmeida, vitor.sousa, woohyun
Reviewed By: vitor.sousa
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8485
2019-04-02 07:51:05 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|