Home | History | Annotate | Download | only in api

Lines Matching defs:micro

35   unsigned int major, minor, micro;
38 hb_version (&major, &minor, &micro);
42 g_assert_cmpint (micro, ==, HB_VERSION_MICRO);
44 s = g_strdup_printf ("%u.%u.%u", major, minor, micro);
49 g_assert (HB_VERSION_CHECK (major, minor, micro));
50 g_assert (HB_VERSION_CHECK (major+1, minor, micro));
51 g_assert (HB_VERSION_CHECK (major, minor+1, micro));
52 g_assert (HB_VERSION_CHECK (major, minor, micro+1));
54 g_assert (!HB_VERSION_CHECK (major-1, minor, micro));
56 g_assert (!HB_VERSION_CHECK (major, minor-1, micro));
57 if (micro)
58 g_assert (!HB_VERSION_CHECK (major, minor, micro-1));
60 g_assert (hb_version_check (major, minor, micro));
61 g_assert (hb_version_check (major+1, minor, micro));
62 g_assert (hb_version_check (major, minor+1, micro));
63 g_assert (hb_version_check (major, minor, micro+1));
65 g_assert (!hb_version_check (major-1, minor, micro));
67 g_assert (!hb_version_check (major, minor-1, micro));
68 if (micro)
69 g_assert (!hb_version_check (major, minor, micro-1));