Blame pixman/pixman-version.h

Packit 030a23
/*
Packit 030a23
 * Copyright © 2008 Red Hat, Inc.
Packit 030a23
 *
Packit 030a23
 * Permission is hereby granted, free of charge, to any person
Packit 030a23
 * obtaining a copy of this software and associated documentation
Packit 030a23
 * files (the "Software"), to deal in the Software without
Packit 030a23
 * restriction, including without limitation the rights to use, copy,
Packit 030a23
 * modify, merge, publish, distribute, sublicense, and/or sell copies
Packit 030a23
 * of the Software, and to permit persons to whom the Software is
Packit 030a23
 * furnished to do so, subject to the following conditions:
Packit 030a23
 *
Packit 030a23
 * The above copyright notice and this permission notice shall be
Packit 030a23
 * included in all copies or substantial portions of the Software.
Packit 030a23
 *
Packit 030a23
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
Packit 030a23
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
Packit 030a23
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
Packit 030a23
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
Packit 030a23
 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
Packit 030a23
 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
Packit 030a23
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
Packit 030a23
 * SOFTWARE.
Packit 030a23
 *
Packit 030a23
 * Author: Carl D. Worth <cworth@cworth.org>
Packit 030a23
 */
Packit 030a23
Packit 030a23
#ifndef PIXMAN_VERSION_H__
Packit 030a23
#define PIXMAN_VERSION_H__
Packit 030a23
Packit 030a23
#ifndef PIXMAN_H__
Packit 030a23
#  error pixman-version.h should only be included by pixman.h
Packit 030a23
#endif
Packit 030a23
Packit 030a23
#define PIXMAN_VERSION_MAJOR 0
Packit 030a23
#define PIXMAN_VERSION_MINOR 34
Packit 030a23
#define PIXMAN_VERSION_MICRO 0
Packit 030a23
Packit 030a23
#define PIXMAN_VERSION_STRING "0.34.0"
Packit 030a23
Packit 030a23
#define PIXMAN_VERSION_ENCODE(major, minor, micro) (	\
Packit 030a23
	  ((major) * 10000)				\
Packit 030a23
	+ ((minor) *   100)				\
Packit 030a23
	+ ((micro) *     1))
Packit 030a23
Packit 030a23
#define PIXMAN_VERSION PIXMAN_VERSION_ENCODE(	\
Packit 030a23
	PIXMAN_VERSION_MAJOR,			\
Packit 030a23
	PIXMAN_VERSION_MINOR,			\
Packit 030a23
	PIXMAN_VERSION_MICRO)
Packit 030a23
Packit 030a23
#endif /* PIXMAN_VERSION_H__ */