public static void ExecuteBang(IntPtr data, IntPtr args) { Measure measure = (Measure)GCHandle.FromIntPtr(data).Target; measure.ExecuteBang(Marshal.PtrToStringUni(args)); }
public static void Reload(IntPtr data, IntPtr rm, ref double maxValue) { Measure measure = (Measure)GCHandle.FromIntPtr(data).Target; measure.Reload(new API(rm), ref maxValue); }