Nettoyage
This commit is contained in:
parent
98b112a1d3
commit
8feb1a1d35
1 changed files with 0 additions and 34 deletions
|
|
@ -36,7 +36,6 @@ namespace DMX2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class feedbackinfo : IFeedbackInfo {
|
class feedbackinfo : IFeedbackInfo {
|
||||||
|
|
||||||
MidiEventProvider prov;
|
MidiEventProvider prov;
|
||||||
|
|
@ -59,39 +58,6 @@ namespace DMX2
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
|
||||||
public class PointerWrapper : IDisposable
|
|
||||||
{
|
|
||||||
public IntPtr Pointer { get; private set; }
|
|
||||||
|
|
||||||
public PointerWrapper (int pointerSize)
|
|
||||||
{
|
|
||||||
Pointer = Marshal.AllocHGlobal (pointerSize);
|
|
||||||
}
|
|
||||||
|
|
||||||
public PointerWrapper (IntPtr ptr)
|
|
||||||
{
|
|
||||||
Pointer = ptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
~PointerWrapper ()
|
|
||||||
{
|
|
||||||
Dispose (false);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Dispose ()
|
|
||||||
{
|
|
||||||
Dispose (true);
|
|
||||||
GC.SuppressFinalize (this);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected virtual void Dispose (bool disposing)
|
|
||||||
{
|
|
||||||
if (Pointer != IntPtr.Zero) {
|
|
||||||
Marshal.FreeHGlobal (Pointer);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Dictionary<string,internalEvent> eventlist = new Dictionary<string, internalEvent>();
|
Dictionary<string,internalEvent> eventlist = new Dictionary<string, internalEvent>();
|
||||||
EventData last;
|
EventData last;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue