public static void RubberBandStretcher_SetTransientsOption(IntPtr rbs, int options) { if (IntPtr.Size == 8) { RubberBandNativeMethodsx64.RubberBandStretcher_SetTransientsOption(rbs, options); } else { RubberBandNativeMethodsWin32.RubberBandStretcher_SetTransientsOption(rbs, options); } }