/[gr2lib]/trunk/gr2lib/core/coretypes/native/granny_file.cs
ViewVC logotype

Contents of /trunk/gr2lib/core/coretypes/native/granny_file.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 94 - (show annotations) (download)
Sat Jul 17 05:09:42 2010 UTC (11 years, 6 months ago) by william
File size: 698 byte(s)
add support for getting access to the Granny2 Header

1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using System.Runtime.InteropServices;
6
7 namespace gr2lib.core.coretypes.native
8 {
9 [StructLayout(LayoutKind.Sequential, Pack = 4), Size(Size = 119)]
10 internal struct granny_file
11 {
12 public bool IsByteReversed;
13 //public granny_grn_file_header Header;
14 //public granny_grn_file_magic_value SourceMagicValue;
15 public IntPtr Header;
16 public IntPtr SourceMagicValue;
17 public Int32 SectionCount;
18 public IntPtr Sections;
19 public bool Marshalled;
20 public bool IsUserMemory;
21 public IntPtr ConversionBuffer;
22 }
23 }

  ViewVC Help
Powered by ViewVC 1.1.22