karbon

gdk-pixbuf-xlib-private.h
1/* GdkPixbuf library - Xlib header file
2 *
3 * Authors: John Harper <john@dcs.warwick.ac.uk>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19 */
20
21#ifndef GDK_PIXBUF_XLIB_PRIVATE_H
22#define GDK_PIXBUF_XLIB_PRIVATE_H
23
24#include <config.h>
25#include "gdk-pixbuf-xlib.h"
26#include <X11/Xlib.h>
27
28extern Display *gdk_pixbuf_dpy;
29extern int gdk_pixbuf_screen;
30
31#define KSVG_LITTLE_ENDIAN 1
32#define KSVG_BIG_ENDIAN 2
33
34#if X_BYTE_ORDER == X_BIG_ENDIAN
35#define KSVG_BYTE_ORDER KSVG_BIG_ENDIAN
36#else
37#define KSVG_BYTE_ORDER KSVG_LITTLE_ENDIAN
38#endif
39#endif