Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Commit 1e09be0

Browse files
committed
Apply some code style change love
1 parent f566d89 commit 1e09be0

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

src/Gir.Tests/Gtk2/Atk/AtkTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ namespace Atk
181181
public struct Attribute
182182
{
183183
string Name;
184+
184185
string Value;
185186
}
186187
}

src/Gir.Tests/ImportantGeneratables/GObject.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ public void GTypeStructsAreInternal ()
367367
368368
namespace GObject
369369
{
370-
[StructLayout(LayoutKind.Sequential)]
370+
[StructLayout (LayoutKind.Sequential)]
371371
internal struct ObjectClass
372372
{
373373
TypeClass GTypeClass;

src/Gir.Tests/ImportantGeneratables/List.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public void ListIsGenerated ()
1616
1717
namespace GLib
1818
{
19-
[StructLayout(LayoutKind.Sequential)]
19+
[StructLayout (LayoutKind.Sequential)]
2020
public struct List
2121
{
2222
IntPtr Data;

src/Gir.Tests/RecordTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-

1+
22
using NUnit.Framework;
33

44
namespace Gir.Tests
@@ -19,7 +19,7 @@ public void TestRecordIsGenerated ()
1919
namespace GLib
2020
{
2121
///<summary>Contains the public fields of a GByteArray.</summary>
22-
[StructLayout(LayoutKind.Sequential)]
22+
[StructLayout (LayoutKind.Sequential)]
2323
public struct ByteArray
2424
{
2525
///<summary>

src/Gir/Generation/Record.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-

1+
22
namespace Gir
33
{
44
public partial class Record : IGeneratable, IDocumented
@@ -12,7 +12,7 @@ public void Generate (GenerationOptions opts)
1212
if (!string.IsNullOrEmpty (GLibIsGTypeStructFor))
1313
access = "internal";
1414

15-
writer.WriteLine ("[StructLayout(LayoutKind.Sequential)]");
15+
writer.WriteLine ("[StructLayout (LayoutKind.Sequential)]");
1616
writer.WriteLine ($"{access} struct {Name}");
1717
writer.WriteLine ("{");
1818

0 commit comments

Comments
 (0)