1 | #ifndef __TEST_COMMON_H__ |
2 | #define __TEST_COMMON_H__ |
3 | |
4 | char * diff_with_file (const char *file, |
5 | char *text, |
6 | gssize len, |
7 | GError **error); |
8 | |
9 | char * diff_bytes (GBytes *b1, |
10 | GBytes *b2, |
11 | GError **error); |
12 | |
13 | gboolean file_has_prefix (const char *file, |
14 | const char *str, |
15 | GError **error); |
16 | |
17 | void print_attribute (PangoAttribute *attr, |
18 | GString *string); |
19 | |
20 | void print_attributes (GSList *attrs, |
21 | GString *string); |
22 | |
23 | void print_attr_list (PangoAttrList *attrs, |
24 | GString *string); |
25 | |
26 | const char *get_script_name (GUnicodeScript s); |
27 | |
28 | |
29 | #endif |
30 | |