blob: ad1b358558860d2d1931a6d57dae6bcd739d48d8 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
/* structs_bug658048.c generated by valac, the Vala compiler
* generated from structs_bug658048.vala, do not modify */
#include <glib-object.h>
#include <glib.h>
static void _vala_main (void);
static gboolean _g_value_equal (const GValue * s1,
const GValue * s2);
static gboolean
_g_value_equal (const GValue * s1,
const GValue * s2)
{
if (s1 == s2) {
return TRUE;
}
if (s1 == NULL) {
return FALSE;
}
if (s2 == NULL) {
return FALSE;
}
return FALSE;
}
static void
_vala_main (void)
{
GValue a = {0};
GValue _tmp0_ = {0};
gboolean res = FALSE;
GValue _tmp1_;
GValue _tmp2_;
g_value_init (&_tmp0_, G_TYPE_INT);
g_value_set_int (&_tmp0_, 10);
a = _tmp0_;
_tmp1_ = a;
_tmp2_ = a;
res = _g_value_equal (&_tmp1_, &_tmp2_) == TRUE;
G_IS_VALUE (&a) ? (g_value_unset (&a), NULL) : NULL;
}
int
main (int argc,
char ** argv)
{
_vala_main ();
return 0;
}
|