public static IntPtr GetInstance(IntPtr list, PixelChannel channel)
{
#if ANYCPU
if (NativeLibrary.Is64Bit)
#endif
#if WIN64 || ANYCPU
return NativeMethods.X64.Statistics_GetInstance(list, (UIntPtr)channel);
#endif
#if ANYCPU
else
#endif
#if !WIN64 || ANYCPU
return NativeMethods.X86.Statistics_GetInstance(list, (UIntPtr)channel);
#endif
}
}