From 910a3af9803a568fa4b8a16cf4d9480ab075cabf Mon Sep 17 00:00:00 2001 From: tzim Date: Tue, 4 Jul 2017 20:33:13 +0200 Subject: [PATCH] Nettoyage --- DMX-2.0/AlsaSeqLib.Invoke.cs | 2 +- DMX-2.0/AlsaSeqLib.Wrappers.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DMX-2.0/AlsaSeqLib.Invoke.cs b/DMX-2.0/AlsaSeqLib.Invoke.cs index a1b0d51..7b06c9c 100644 --- a/DMX-2.0/AlsaSeqLib.Invoke.cs +++ b/DMX-2.0/AlsaSeqLib.Invoke.cs @@ -6,7 +6,7 @@ namespace DMX2 public static partial class AlsaSeqLib { - public static class Invoke + static class Invoke { const string ASOUND_LIB_NAME = "libasound.so.2"; diff --git a/DMX-2.0/AlsaSeqLib.Wrappers.cs b/DMX-2.0/AlsaSeqLib.Wrappers.cs index d0a75f2..58e145d 100644 --- a/DMX-2.0/AlsaSeqLib.Wrappers.cs +++ b/DMX-2.0/AlsaSeqLib.Wrappers.cs @@ -69,7 +69,7 @@ namespace DMX2 } } } - public static snd_seq_addr_t PtrToSndSeqAddr (this IntPtr ptr) + static snd_seq_addr_t PtrToSndSeqAddr (this IntPtr ptr) { try { return (snd_seq_addr_t)Marshal.PtrToStructure ( @@ -81,7 +81,7 @@ namespace DMX2 } } - public static IntPtr SndSeqAddrToPtr (this snd_seq_addr_t addr) + static IntPtr SndSeqAddrToPtr (this snd_seq_addr_t addr) { IntPtr ptr = typeof(snd_seq_addr_t).Malloc (); Marshal.StructureToPtr (addr, ptr, false); @@ -93,7 +93,7 @@ namespace DMX2 return Marshal.AllocHGlobal (Marshal.SizeOf (type)); } - public static string PtrToString (this IntPtr p) + static string PtrToString (this IntPtr p) { if (p == IntPtr.Zero) { return null;