gfx/cairo/libpixman/src/pixman-region32.c

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 /*
michael@0 2 * Copyright © 2008 Red Hat, Inc.
michael@0 3 *
michael@0 4 * Permission to use, copy, modify, distribute, and sell this software
michael@0 5 * and its documentation for any purpose is hereby granted without
michael@0 6 * fee, provided that the above copyright notice appear in all copies
michael@0 7 * and that both that copyright notice and this permission notice
michael@0 8 * appear in supporting documentation, and that the name of
michael@0 9 * Red Hat, Inc. not be used in advertising or publicity pertaining to
michael@0 10 * distribution of the software without specific, written prior
michael@0 11 * permission. Red Hat, Inc. makes no representations about the
michael@0 12 * suitability of this software for any purpose. It is provided "as
michael@0 13 * is" without express or implied warranty.
michael@0 14 *
michael@0 15 * RED HAT, INC. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
michael@0 16 * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
michael@0 17 * FITNESS, IN NO EVENT SHALL RED HAT, INC. BE LIABLE FOR ANY SPECIAL,
michael@0 18 * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
michael@0 19 * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
michael@0 20 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
michael@0 21 * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
michael@0 22 *
michael@0 23 * Author: Soren Sandmann <sandmann@redhat.com>
michael@0 24 */
michael@0 25 #ifdef HAVE_CONFIG_H
michael@0 26 #include <config.h>
michael@0 27 #endif
michael@0 28
michael@0 29 #include "pixman-private.h"
michael@0 30
michael@0 31 #include <stdlib.h>
michael@0 32
michael@0 33 typedef pixman_box32_t box_type_t;
michael@0 34 typedef pixman_region32_data_t region_data_type_t;
michael@0 35 typedef pixman_region32_t region_type_t;
michael@0 36 typedef int64_t overflow_int_t;
michael@0 37
michael@0 38 typedef struct {
michael@0 39 int x, y;
michael@0 40 } point_type_t;
michael@0 41
michael@0 42 #define PREFIX(x) pixman_region32##x
michael@0 43
michael@0 44 #define PIXMAN_REGION_MAX INT32_MAX
michael@0 45 #define PIXMAN_REGION_MIN INT32_MIN
michael@0 46
michael@0 47 #include "pixman-region.c"

mercurial