File: HookList.cs

package info (click to toggle)
gnome-subtitles 1.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 103,144 kB
  • sloc: xml: 406,395; cs: 364,495; ansic: 3,104; perl: 1,477; sh: 769; python: 545; javascript: 500; makefile: 49
file content (114 lines) | stat: -rw-r--r-- 2,690 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.

namespace GLib {

	using System;
	using System.Collections;
	using System.Collections.Generic;
	using System.Runtime.InteropServices;

#region Autogenerated code
	public partial class HookList : GLib.Opaque {

		// Internal representation of the wrapped ABI structure.
		static public AbiStruct abi_info = new AbiStruct(new List<AbiField> {
				new GLib.AbiField("seq_id"
						, 0
						, (uint) Marshal.SizeOf(typeof(ulong)) // seq_id
						, null
						, "hook_size"
						, (long) Marshal.OffsetOf(typeof(GHookList_seq_idAlign), "seq_id")
						, 0
						),
				new GLib.AbiField("hook_size"
						, -1
						, (uint) Marshal.SizeOf(typeof(uint)) // hook_size
						, "seq_id"
						, "is_setup"
						, 1
						, 16
						),
				new GLib.AbiField("is_setup"
						, -1
						, (uint) Marshal.SizeOf(typeof(bool)) // is_setup
						, "hook_size"
						, "hooks"
						, 1
						, 1
						),
				new GLib.AbiField("hooks"
						, -1
						, (uint) Marshal.SizeOf(typeof(IntPtr)) // hooks
						, "is_setup"
						, "dummy3"
						, (long) Marshal.OffsetOf(typeof(GHookList_hooksAlign), "hooks")
						, 0
						),
				new GLib.AbiField("dummy3"
						, -1
						, (uint) Marshal.SizeOf(typeof(IntPtr)) // dummy3
						, "hooks"
						, "finalize_hook"
						, (long) Marshal.OffsetOf(typeof(GHookList_dummy3Align), "dummy3")
						, 0
						),
				new GLib.AbiField("finalize_hook"
						, -1
						, (uint) Marshal.SizeOf(typeof(IntPtr)) // finalize_hook
						, "dummy3"
						, "dummy"
						, (long) Marshal.OffsetOf(typeof(GHookList_finalize_hookAlign), "finalize_hook")
						, 0
						),
				new GLib.AbiField("dummy"
						, -1
						, (uint) Marshal.SizeOf(typeof(IntPtr)) * 2 // dummy
						, "finalize_hook"
						, null
						, (long) Marshal.OffsetOf(typeof(GHookList_dummyAlign), "dummy")
						, 0
						)
			}
		);

		[StructLayout(LayoutKind.Sequential)]
		public struct GHookList_seq_idAlign
		{
			sbyte f1;
			private UIntPtr seq_id;
		}

		[StructLayout(LayoutKind.Sequential)]
		public struct GHookList_hooksAlign
		{
			sbyte f1;
			private IntPtr hooks;
		}

		[StructLayout(LayoutKind.Sequential)]
		public struct GHookList_dummy3Align
		{
			sbyte f1;
			private IntPtr dummy3;
		}

		[StructLayout(LayoutKind.Sequential)]
		public struct GHookList_finalize_hookAlign
		{
			sbyte f1;
			private IntPtr finalize_hook;
		}

		[StructLayout(LayoutKind.Sequential)]
		public struct GHookList_dummyAlign
		{
			sbyte f1;
			[MarshalAs (UnmanagedType.ByValArray, SizeConst=2)]
			private IntPtr[] dummy;
		}
		// End of the ABI representation.

#endregion
	}
}