Skip to content

Commit

Permalink
Run formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ThadHouse committed Jan 16, 2024
1 parent 74b8d24 commit c3135ab
Show file tree
Hide file tree
Showing 104 changed files with 45 additions and 317 deletions.
3 changes: 1 addition & 2 deletions src/cscore/Handles/CsSink.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Runtime.InteropServices.Marshalling;
using System.Runtime.InteropServices.Marshalling;
using CsCore.Natives;
using WPIUtil.Handles;
using WPIUtil.Marshal;
Expand Down
1 change: 0 additions & 1 deletion src/cscore/Natives/CsEnumPropertyArrayMarshaller.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Runtime.InteropServices.Marshalling;
using System.Text;
using CsCore.Natives;
using WPIUtil.Marshal;

Expand Down
3 changes: 0 additions & 3 deletions src/cscore/Natives/CsNative.Shim.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using CsCore.Handles;
using WPIUtil;
using WPIUtil.Marshal;

namespace CsCore.Natives;

Expand Down
2 changes: 1 addition & 1 deletion src/cscore/Natives/CsNative.cs
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ public static void SetSourceEnumPropertyChoices(CsSource source, CsProperty prop

[LibraryImport("cscore", EntryPoint = "CS_GetTelemetryElapsedTime")]
[UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
public static partial double CS_GetTelemetryElapsedTime();
public static partial double GetTelemetryElapsedTime();

[LibraryImport("cscore", EntryPoint = "CS_GetTelemetryValue")]
[UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])]
Expand Down
1 change: 0 additions & 1 deletion src/cscore/Natives/HttpCameraUrlsArrayMarshaller.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Runtime.InteropServices.Marshalling;
using System.Text;
using CsCore.Natives;
using WPIUtil.Marshal;

Expand Down
1 change: 0 additions & 1 deletion src/cscore/Natives/NetworkInterfacesArrayMarshaller.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Runtime.InteropServices.Marshalling;
using System.Text;
using CsCore.Natives;
using WPIUtil.Marshal;

Expand Down
1 change: 0 additions & 1 deletion src/hal/MatchInfo.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using System.Text;

namespace WPIHal;

Expand Down
9 changes: 1 addition & 8 deletions src/hal/Natives/HalAccelerometer.Shim.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;
namespace WPIHal.Natives;

public static unsafe partial class HalAccelerometer
{
Expand Down
2 changes: 0 additions & 2 deletions src/hal/Natives/HalAccelerometer.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;

Expand Down
4 changes: 0 additions & 4 deletions src/hal/Natives/HalAddressableLED.Shim.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;
Expand Down
1 change: 0 additions & 1 deletion src/hal/Natives/HalAddressableLED.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;
Expand Down
7 changes: 1 addition & 6 deletions src/hal/Natives/HalAnalogAccumulator.Shim.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using WPIHal;
using WPIHal.Handles;
using WPIHal.Handles;

namespace WPIHal.Natives;

Expand Down
1 change: 0 additions & 1 deletion src/hal/Natives/HalAnalogAccumulator.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;
Expand Down
7 changes: 1 addition & 6 deletions src/hal/Natives/HalAnalogGyro.Shim.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using WPIHal;
using WPIHal.Handles;
using WPIHal.Handles;

namespace WPIHal.Natives;

Expand Down
1 change: 0 additions & 1 deletion src/hal/Natives/HalAnalogGyro.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;
Expand Down
7 changes: 1 addition & 6 deletions src/hal/Natives/HalAnalogInput.Shim.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using WPIHal;
using WPIHal.Handles;
using WPIHal.Handles;

namespace WPIHal.Natives;

Expand Down
1 change: 0 additions & 1 deletion src/hal/Natives/HalAnalogInput.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;
Expand Down
7 changes: 1 addition & 6 deletions src/hal/Natives/HalAnalogOutput.Shim.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using WPIHal;
using WPIHal.Handles;
using WPIHal.Handles;

namespace WPIHal.Natives;

Expand Down
1 change: 0 additions & 1 deletion src/hal/Natives/HalAnalogOutput.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;
Expand Down
7 changes: 1 addition & 6 deletions src/hal/Natives/HalAnalogTrigger.Shim.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using WPIHal;
using WPIHal.Handles;
using WPIHal.Handles;

namespace WPIHal.Natives;

Expand Down
1 change: 0 additions & 1 deletion src/hal/Natives/HalAnalogTrigger.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;
Expand Down
9 changes: 1 addition & 8 deletions src/hal/Natives/HalBase.Shim.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;
namespace WPIHal.Natives;

public static unsafe partial class HalBase
{
Expand Down
1 change: 0 additions & 1 deletion src/hal/Natives/HalBase.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using WPIHal;
using WPIHal.Handles;
using WPIUtil.Marshal;

Expand Down
5 changes: 0 additions & 5 deletions src/hal/Natives/HalCAN.Shim.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;

Expand Down
2 changes: 0 additions & 2 deletions src/hal/Natives/HalCAN.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;

Expand Down
4 changes: 0 additions & 4 deletions src/hal/Natives/HalCANAPI.Shim.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;
Expand Down
1 change: 0 additions & 1 deletion src/hal/Natives/HalCANAPI.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;
Expand Down
9 changes: 1 addition & 8 deletions src/hal/Natives/HalConstants.Shim.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;
namespace WPIHal.Natives;

public static unsafe partial class HalConstants
{
Expand Down
2 changes: 0 additions & 2 deletions src/hal/Natives/HalConstants.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;

Expand Down
7 changes: 1 addition & 6 deletions src/hal/Natives/HalCounter.Shim.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using WPIHal;
using WPIHal.Handles;
using WPIHal.Handles;

namespace WPIHal.Natives;

Expand Down
1 change: 0 additions & 1 deletion src/hal/Natives/HalCounter.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;
Expand Down
7 changes: 1 addition & 6 deletions src/hal/Natives/HalDIO.Shim.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using WPIHal;
using WPIHal.Handles;
using WPIHal.Handles;

namespace WPIHal.Natives;

Expand Down
1 change: 0 additions & 1 deletion src/hal/Natives/HalDIO.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;
Expand Down
7 changes: 1 addition & 6 deletions src/hal/Natives/HalDMA.Shim.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using WPIHal;
using WPIHal.Handles;
using WPIHal.Handles;

namespace WPIHal.Natives;

Expand Down
1 change: 0 additions & 1 deletion src/hal/Natives/HalDMA.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;
Expand Down
9 changes: 1 addition & 8 deletions src/hal/Natives/HalDriverStation.Shim.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;
namespace WPIHal.Natives;

public static unsafe partial class HalDriverStation
{
Expand Down
2 changes: 0 additions & 2 deletions src/hal/Natives/HalDriverStation.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using WPIHal;
using WPIHal.Handles;
using WPIUtil.Marshal;

namespace WPIHal.Natives;
Expand Down
7 changes: 1 addition & 6 deletions src/hal/Natives/HalDutyCycle.Shim.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using WPIHal;
using WPIHal.Handles;
using WPIHal.Handles;

namespace WPIHal.Natives;

Expand Down
1 change: 0 additions & 1 deletion src/hal/Natives/HalDutyCycle.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;
Expand Down
7 changes: 1 addition & 6 deletions src/hal/Natives/HalEncoder.Shim.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using WPIHal;
using WPIHal.Handles;
using WPIHal.Handles;

namespace WPIHal.Natives;

Expand Down
1 change: 0 additions & 1 deletion src/hal/Natives/HalEncoder.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;
Expand Down
9 changes: 1 addition & 8 deletions src/hal/Natives/HalExtensions.Shim.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;
namespace WPIHal.Natives;

public static unsafe partial class HalExtensions
{
Expand Down
2 changes: 0 additions & 2 deletions src/hal/Natives/HalExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using WPIHal;
using WPIHal.Handles;

namespace WPIHal.Natives;

Expand Down
Loading

0 comments on commit c3135ab

Please sign in to comment.