Lines 2139-2148
check_tree (TreeInstance *instance
Link Here
|
2139 |
} |
2139 |
} |
2140 |
} |
2140 |
} |
2141 |
|
2141 |
|
|
|
2142 |
#ifdef __GNUC__ |
2142 |
static void |
2143 |
static void |
2143 |
serialise_tree (TreeInstance *tree, |
2144 |
serialise_tree (TreeInstance *tree, |
2144 |
GVariantSerialised *serialised) |
2145 |
GVariantSerialised *serialised) |
2145 |
{ |
2146 |
{ |
|
|
2147 |
/* The following is not C99-compliant */ |
2146 |
GVariantSerialised empty = { }; |
2148 |
GVariantSerialised empty = { }; |
2147 |
|
2149 |
|
2148 |
*serialised = empty; |
2150 |
*serialised = empty; |
Lines 2254-2259
test_fuzzes (gpointer data)
Link Here
|
2254 |
|
2256 |
|
2255 |
g_variant_type_info_assert_no_infos (); |
2257 |
g_variant_type_info_assert_no_infos (); |
2256 |
} |
2258 |
} |
|
|
2259 |
#endif |
2257 |
|
2260 |
|
2258 |
static GVariant * |
2261 |
static GVariant * |
2259 |
tree_instance_get_gvariant (TreeInstance *tree) |
2262 |
tree_instance_get_gvariant (TreeInstance *tree) |
Lines 3713-3718
main (int argc, char **argv)
Link Here
|
3713 |
g_test_add_func ("/gvariant/serialiser/tuple", test_tuples); |
3716 |
g_test_add_func ("/gvariant/serialiser/tuple", test_tuples); |
3714 |
g_test_add_func ("/gvariant/serialiser/variant", test_variants); |
3717 |
g_test_add_func ("/gvariant/serialiser/variant", test_variants); |
3715 |
g_test_add_func ("/gvariant/serialiser/strings", test_strings); |
3718 |
g_test_add_func ("/gvariant/serialiser/strings", test_strings); |
|
|
3719 |
#ifdef __GNUC__ |
3716 |
g_test_add_func ("/gvariant/serialiser/byteswap", test_byteswaps); |
3720 |
g_test_add_func ("/gvariant/serialiser/byteswap", test_byteswaps); |
3717 |
|
3721 |
|
3718 |
for (i = 1; i <= 20; i += 4) |
3722 |
for (i = 1; i <= 20; i += 4) |
Lines 3724-3729
main (int argc, char **argv)
Link Here
|
3724 |
(gpointer) test_fuzzes); |
3728 |
(gpointer) test_fuzzes); |
3725 |
g_free (testname); |
3729 |
g_free (testname); |
3726 |
} |
3730 |
} |
|
|
3731 |
#endif |
3727 |
|
3732 |
|
3728 |
g_test_add_func ("/gvariant/containers", test_containers); |
3733 |
g_test_add_func ("/gvariant/containers", test_containers); |
3729 |
g_test_add_func ("/gvariant/format-strings", test_format_strings); |
3734 |
g_test_add_func ("/gvariant/format-strings", test_format_strings); |