Revision: | 97 |
Committed: | Sat Jul 17 05:53:44 2010 UTC (12 years, 6 months ago) by william |
File size: | 503 byte(s) |
Log Message: | Add: #define HAVE_GRN_REFERENCE when defined enables GRN_REFERENCE class, else disables it (the code does not work) |
# | Content |
---|---|
1 | //#define HAVE_GRN_REFERENCE // when defined enabled GRN_REFERNCE in Header, else it is disabled |
2 | using System; |
3 | using System.Collections.Generic; |
4 | using System.Linq; |
5 | using System.Text; |
6 | using System.Runtime.InteropServices; |
7 | |
8 | namespace gr2lib.core.coretypes.native |
9 | { |
10 | #if HAVE_GRN_REFERENCE |
11 | [StructLayout(LayoutKind.Sequential, Pack = 4), Size(Size = 8)] |
12 | internal struct granny_grn_reference |
13 | { |
14 | public Int32 SectionIndex; |
15 | public Int32 Offset; |
16 | } |
17 | #endif |
18 | } |