1b4b94579Smrg/*
2b4b94579Smrg * Copyright © 2008 Red Hat, Inc.
3b4b94579Smrg *
4b4b94579Smrg * Permission is hereby granted, free of charge, to any person
5b4b94579Smrg * obtaining a copy of this software and associated documentation
6b4b94579Smrg * files (the "Software"), to deal in the Software without
7b4b94579Smrg * restriction, including without limitation the rights to use, copy,
8b4b94579Smrg * modify, merge, publish, distribute, sublicense, and/or sell copies
9b4b94579Smrg * of the Software, and to permit persons to whom the Software is
10b4b94579Smrg * furnished to do so, subject to the following conditions:
11b4b94579Smrg *
12b4b94579Smrg * The above copyright notice and this permission notice shall be
13b4b94579Smrg * included in all copies or substantial portions of the Software.
14b4b94579Smrg *
15b4b94579Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16b4b94579Smrg * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17b4b94579Smrg * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18b4b94579Smrg * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
19b4b94579Smrg * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
20b4b94579Smrg * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21b4b94579Smrg * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22b4b94579Smrg * SOFTWARE.
23b4b94579Smrg *
24b4b94579Smrg * Author: Carl D. Worth <cworth@cworth.org>
25b4b94579Smrg */
26b4b94579Smrg
27b4b94579Smrg#ifndef PIXMAN_VERSION_H__
28b4b94579Smrg#define PIXMAN_VERSION_H__
29b4b94579Smrg
30b4b94579Smrg#ifndef PIXMAN_H__
31b4b94579Smrg#  error pixman-version.h should only be included by pixman.h
32b4b94579Smrg#endif
33b4b94579Smrg
34b4b94579Smrg#define PIXMAN_VERSION_MAJOR 0
35f766d2f6Smrg#define PIXMAN_VERSION_MINOR 46
36101944cfSmrg#define PIXMAN_VERSION_MICRO 4
37b4b94579Smrg
38f766d2f6Smrg#define PIXMAN_VERSION_STRING "0.46.4"
39b4b94579Smrg
40b4b94579Smrg#define PIXMAN_VERSION_ENCODE(major, minor, micro) (	\
41b4b94579Smrg	  ((major) * 10000)				\
42b4b94579Smrg	+ ((minor) *   100)				\
43b4b94579Smrg	+ ((micro) *     1))
44b4b94579Smrg
45b4b94579Smrg#define PIXMAN_VERSION PIXMAN_VERSION_ENCODE(	\
46b4b94579Smrg	PIXMAN_VERSION_MAJOR,			\
47b4b94579Smrg	PIXMAN_VERSION_MINOR,			\
48b4b94579Smrg	PIXMAN_VERSION_MICRO)
49b4b94579Smrg
50f766d2f6Smrg#ifndef PIXMAN_API
51f766d2f6Smrg# define PIXMAN_API
52f766d2f6Smrg#endif
53f766d2f6Smrg
54b4b94579Smrg#endif /* PIXMAN_VERSION_H__ */
55