1 #include "config.h" 2 #include <math.h> 3 #include "babl-internal.h" 4 5 int OK = 1; 6 type_check(Babl * babl,void * userdata)7static int type_check (Babl *babl, 8 void *userdata) 9 { 10 if (!babl_type_is_symmetric (babl)) 11 { 12 babl_log ("%s is not symmetric", babl->instance.name); 13 OK = 0; 14 } 15 return 0; 16 } 17 main(void)18int main (void) 19 { 20 babl_init (); 21 22 babl_set_extender (babl_extension_quiet_log ()); 23 babl_type_class_for_each (type_check, NULL); 24 25 babl_exit (); 26 27 return !OK; 28 } 29