mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[AppleSingle] Use new source generator based big endian marshaller
This commit is contained in:
@@ -500,7 +500,7 @@ public sealed partial class AppleSingle : IFilter
|
|||||||
|
|
||||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||||
[SwapEndian]
|
[SwapEndian]
|
||||||
struct DOSFileInfo
|
partial struct DOSFileInfo
|
||||||
{
|
{
|
||||||
public ushort modificationDate;
|
public ushort modificationDate;
|
||||||
public ushort modificationTime;
|
public ushort modificationTime;
|
||||||
@@ -513,7 +513,7 @@ public sealed partial class AppleSingle : IFilter
|
|||||||
|
|
||||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||||
[SwapEndian]
|
[SwapEndian]
|
||||||
struct Entry
|
partial struct Entry
|
||||||
{
|
{
|
||||||
public uint id;
|
public uint id;
|
||||||
public uint offset;
|
public uint offset;
|
||||||
@@ -526,7 +526,7 @@ public sealed partial class AppleSingle : IFilter
|
|||||||
|
|
||||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||||
[SwapEndian]
|
[SwapEndian]
|
||||||
struct FileDates
|
partial struct FileDates
|
||||||
{
|
{
|
||||||
public uint creationDate;
|
public uint creationDate;
|
||||||
public uint modificationDate;
|
public uint modificationDate;
|
||||||
@@ -540,7 +540,7 @@ public sealed partial class AppleSingle : IFilter
|
|||||||
|
|
||||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||||
[SwapEndian]
|
[SwapEndian]
|
||||||
struct Header
|
partial struct Header
|
||||||
{
|
{
|
||||||
public uint magic;
|
public uint magic;
|
||||||
public uint version;
|
public uint version;
|
||||||
@@ -555,7 +555,7 @@ public sealed partial class AppleSingle : IFilter
|
|||||||
|
|
||||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||||
[SwapEndian]
|
[SwapEndian]
|
||||||
struct MacFileInfo
|
partial struct MacFileInfo
|
||||||
{
|
{
|
||||||
public uint creationDate;
|
public uint creationDate;
|
||||||
public uint modificationDate;
|
public uint modificationDate;
|
||||||
@@ -569,7 +569,7 @@ public sealed partial class AppleSingle : IFilter
|
|||||||
|
|
||||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||||
[SwapEndian]
|
[SwapEndian]
|
||||||
struct ProDOSFileInfo
|
partial struct ProDOSFileInfo
|
||||||
{
|
{
|
||||||
public uint creationDate;
|
public uint creationDate;
|
||||||
public uint modificationDate;
|
public uint modificationDate;
|
||||||
@@ -585,7 +585,7 @@ public sealed partial class AppleSingle : IFilter
|
|||||||
|
|
||||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||||
[SwapEndian]
|
[SwapEndian]
|
||||||
struct UnixFileInfo
|
partial struct UnixFileInfo
|
||||||
{
|
{
|
||||||
public uint creationDate;
|
public uint creationDate;
|
||||||
public uint accessDate;
|
public uint accessDate;
|
||||||
|
|||||||
Reference in New Issue
Block a user