babl: fix some annotation to make the function usable in bindings.
[babl.git] / tests / sanity.c
blobb84c299d2990ff4a6eaa025d9619c386ea4cf480
1 /* babl - dynamically extendable universal pixel conversion library.
2 * Copyright (C) 2005, Øyvind Kolås.
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 3 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General
15 * Public License along with this library; if not, see
16 * <https://www.gnu.org/licenses/>.
19 #include "config.h"
20 #include "babl-internal.h"
22 int
23 main (void)
25 babl_init ();
26 if (!babl_sanity ())
27 return -1;
28 babl_exit ();
29 return 0;