diff --git a/src/TextMateSharp/Internal/Oniguruma/OnigInterop.cs b/src/TextMateSharp/Internal/Oniguruma/OnigInterop.cs index 0155752..e023d89 100644 --- a/src/TextMateSharp/Internal/Oniguruma/OnigInterop.cs +++ b/src/TextMateSharp/Internal/Oniguruma/OnigInterop.cs @@ -3,20 +3,20 @@ namespace TextMateSharp.Internal.Oniguruma { - internal unsafe interface IOnigInterop + internal static class OnigInterop { - IntPtr onigwrap_create(char* pattern, int len, int ignoreCase, int multiline); - IntPtr onigwrap_region_new(); - void onigwrap_region_free(IntPtr region); - void onigwrap_free(IntPtr regex); - int onigwrap_search(IntPtr regex, char* text, int offset, int length, IntPtr region); - int onigwrap_num_regs(IntPtr region); - int onigwrap_pos(IntPtr region, int nth); - int onigwrap_len(IntPtr region, int nth); - } + internal unsafe interface IOnigInterop + { + IntPtr onigwrap_create(char* pattern, int len, int ignoreCase, int multiline); + IntPtr onigwrap_region_new(); + void onigwrap_region_free(IntPtr region); + void onigwrap_free(IntPtr regex); + int onigwrap_search(IntPtr regex, char* text, int offset, int length, IntPtr region); + int onigwrap_num_regs(IntPtr region); + int onigwrap_pos(IntPtr region, int nth); + int onigwrap_len(IntPtr region, int nth); + } - internal unsafe class OnigInterop - { internal static IOnigInterop Instance { get; private set; } static OnigInterop()