Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-113.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c26268c1432e6fe76abc36b4c14384cc3bde297c (plain)
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
using System;

class X {

	IntPtr Raw;
	
	void g_object_get (IntPtr obj, string name, out string val, IntPtr term)
	{
		val = null;
	}

	public void GetProperty (String name, out String val)
	{
		g_object_get (Raw, name, out val, new IntPtr (0));
	}

	void g_object_get (IntPtr obj, string name, out bool val, IntPtr term)
	{
		val = true;
	}
	
	public void GetProperty (String name, out bool val)
	{
		g_object_get (Raw, name, out val, new IntPtr (0));
	}

	public static int Main ()
	{
		return 0;
	}
	
}