mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-02 14:18:00 +02:00
Remove include of cairoint.h from *-private.h header files.
These were recently added, (as part of sparse integration?), but they break boilerplate which reaches into at least cairo-types-private.h and cairo-scaled-font-private.h. But boilerplate cannot see cairoint.h or else it gets the internal sybol renaming, (with the INT_ prefix), and then all the test suite tests refuse to link. If this change reverts some recently-added functionality, (or cleanliness), then we'll just need to find some other way to add that back again without the breakage.
This commit is contained in:
parent
fa41ebfb7c
commit
177a3b8a32
24 changed files with 12 additions and 32 deletions
|
|
@ -39,7 +39,6 @@
|
|||
#ifndef CAIRO_CACHE_PRIVATE_H
|
||||
#define CAIRO_CACHE_PRIVATE_H
|
||||
|
||||
#include "cairoint.h"
|
||||
#include "cairo-types-private.h"
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@
|
|||
#ifndef CAIRO_CLIP_PRIVATE_H
|
||||
#define CAIRO_CLIP_PRIVATE_H
|
||||
|
||||
#include "cairoint.h"
|
||||
#include "cairo-path-fixed-private.h"
|
||||
|
||||
extern const cairo_private cairo_rectangle_list_t _cairo_rectangles_nil;
|
||||
|
|
|
|||
|
|
@ -37,7 +37,6 @@
|
|||
#ifndef CAIRO_FIXED_PRIVATE_H
|
||||
#define CAIRO_FIXED_PRIVATE_H
|
||||
|
||||
#include "cairoint.h"
|
||||
#include "cairo-wideint-private.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -37,7 +37,6 @@
|
|||
#ifndef CAIRO_FT_PRIVATE_H
|
||||
#define CAIRO_FT_PRIVATE_H
|
||||
|
||||
#include "cairoint.h"
|
||||
#include <cairo-ft.h>
|
||||
#include <cairoint.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@
|
|||
#ifndef CAIRO_GSTATE_PRIVATE_H
|
||||
#define CAIRO_GSTATE_PRIVATE_H
|
||||
|
||||
#include "cairoint.h"
|
||||
#include "cairo-clip-private.h"
|
||||
|
||||
struct _cairo_gstate {
|
||||
|
|
|
|||
|
|
@ -39,7 +39,6 @@
|
|||
#ifndef CAIRO_HASH_PRIVATE_H
|
||||
#define CAIRO_HASH_PRIVATE_H
|
||||
|
||||
#include "cairoint.h"
|
||||
#include "cairo-types-private.h"
|
||||
|
||||
/* XXX: I'd like this file to be self-contained in terms of
|
||||
|
|
|
|||
|
|
@ -37,7 +37,6 @@
|
|||
#ifndef CAIRO_MALLOC_PRIVATE_H
|
||||
#define CAIRO_MALLOC_PRIVATE_H
|
||||
|
||||
#include "cairoint.h"
|
||||
#include "cairo-wideint-private.h"
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -41,7 +41,9 @@
|
|||
#ifndef CAIRO_MUTEX_PRIVATE_H
|
||||
#define CAIRO_MUTEX_PRIVATE_H
|
||||
|
||||
#include "cairoint.h"
|
||||
#if HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <cairo-features.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,9 @@
|
|||
#ifndef CAIRO_MUTEX_TYPE_PRIVATE_H
|
||||
#define CAIRO_MUTEX_TYPE_PRIVATE_H
|
||||
|
||||
#include "cairoint.h"
|
||||
#if HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <cairo-features.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -38,8 +38,6 @@
|
|||
#ifndef CAIRO_OS2_PRIVATE_H
|
||||
#define CAIRO_OS2_PRIVATE_H
|
||||
|
||||
#include "cairoint.h"
|
||||
|
||||
#define INCL_DOS
|
||||
#define INCL_DOSSEMAPHORES
|
||||
#define INCL_DOSERRORS
|
||||
|
|
@ -52,6 +50,7 @@
|
|||
#endif
|
||||
|
||||
#include <cairo-os2.h>
|
||||
#include "cairoint.h"
|
||||
|
||||
typedef struct _cairo_os2_surface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -37,7 +37,6 @@
|
|||
#ifndef CAIRO_OUTPUT_STREAM_PRIVATE_H
|
||||
#define CAIRO_OUTPUT_STREAM_PRIVATE_H
|
||||
|
||||
#include "cairoint.h"
|
||||
#include "cairo-types-private.h"
|
||||
|
||||
typedef cairo_status_t (*cairo_output_stream_write_func_t) (cairo_output_stream_t *output_stream,
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
#ifndef CAIRO_PAGINATED_SURFACE_H
|
||||
#define CAIRO_PAGINATED_SURFACE_H
|
||||
|
||||
#include "cairoint.h"
|
||||
#include "cairo.h"
|
||||
|
||||
#include "cairo-surface-private.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -36,8 +36,6 @@
|
|||
#ifndef CAIRO_PATH_FIXED_PRIVATE_H
|
||||
#define CAIRO_PATH_FIXED_PRIVATE_H
|
||||
|
||||
#include "cairoint.h"
|
||||
|
||||
typedef enum cairo_path_op {
|
||||
CAIRO_PATH_OP_MOVE_TO = 0,
|
||||
CAIRO_PATH_OP_LINE_TO = 1,
|
||||
|
|
|
|||
|
|
@ -39,8 +39,6 @@
|
|||
#ifndef CAIRO_PDF_SURFACE_PRIVATE_H
|
||||
#define CAIRO_PDF_SURFACE_PRIVATE_H
|
||||
|
||||
#include "cairoint.h"
|
||||
|
||||
#include "cairo-pdf.h"
|
||||
|
||||
#include "cairo-surface-private.h"
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@
|
|||
#ifndef CAIRO_PRIVATE_H
|
||||
#define CAIRO_PRIVATE_H
|
||||
|
||||
#include "cairoint.h"
|
||||
#include "cairo-gstate-private.h"
|
||||
#include "cairo-path-fixed-private.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -40,8 +40,6 @@
|
|||
#ifndef CAIRO_PS_SURFACE_PRIVATE_H
|
||||
#define CAIRO_PS_SURFACE_PRIVATE_H
|
||||
|
||||
#include "cairoint.h"
|
||||
|
||||
#include "cairo-ps.h"
|
||||
|
||||
#include "cairo-surface-private.h"
|
||||
|
|
|
|||
|
|
@ -37,8 +37,6 @@
|
|||
#ifndef CAIRO_REGION_PRIVATE_H
|
||||
#define CAIRO_REGION_PRIVATE_H
|
||||
|
||||
#include "cairoint.h"
|
||||
|
||||
#include <pixman.h>
|
||||
|
||||
/* cairo_region_t is defined in cairoint.h */
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
#ifndef CAIRO_SCALED_FONT_PRIVATE_H
|
||||
#define CAIRO_SCALED_FONT_PRIVATE_H
|
||||
|
||||
#include "cairoint.h"
|
||||
#include "cairo.h"
|
||||
|
||||
#include "cairo-types-private.h"
|
||||
#include "cairo-mutex-type-private.h"
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
#ifndef CAIRO_SURFACE_PRIVATE_H
|
||||
#define CAIRO_SURFACE_PRIVATE_H
|
||||
|
||||
#include "cairoint.h"
|
||||
#include "cairo.h"
|
||||
|
||||
#include "cairo-types-private.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -41,8 +41,6 @@
|
|||
#ifndef CAIRO_SVG_SURFACE_PRIVATE_H
|
||||
#define CAIRO_SVG_SURFACE_PRIVATE_H
|
||||
|
||||
#include "cairoint.h"
|
||||
|
||||
#include "cairo-svg.h"
|
||||
|
||||
#include "cairo-surface-private.h"
|
||||
|
|
|
|||
|
|
@ -36,8 +36,6 @@
|
|||
#ifndef CAIRO_TYPE1_PRIVATE_H
|
||||
#define CAIRO_TYPE1_PRIVATE_H
|
||||
|
||||
#include "cairoint.h"
|
||||
|
||||
/* Magic constants for the type1 eexec encryption */
|
||||
#define CAIRO_TYPE1_ENCRYPT_C1 ((unsigned short) 52845)
|
||||
#define CAIRO_TYPE1_ENCRYPT_C2 ((unsigned short) 22719)
|
||||
|
|
|
|||
|
|
@ -37,8 +37,6 @@
|
|||
#ifndef CAIRO_WIDEINT_H
|
||||
#define CAIRO_WIDEINT_H
|
||||
|
||||
#include "cairoint.h"
|
||||
|
||||
#if HAVE_STDINT_H
|
||||
# include <stdint.h>
|
||||
#elif HAVE_INTTYPES_H
|
||||
|
|
|
|||
|
|
@ -33,8 +33,6 @@
|
|||
#ifndef CAIRO_XLIB_SURFACE_PRIVATE_H
|
||||
#define CAIRO_XLIB_SURFACE_PRIVATE_H
|
||||
|
||||
#include "cairoint.h"
|
||||
|
||||
#include "cairo-xlib.h"
|
||||
|
||||
#include "cairo-surface-private.h"
|
||||
|
|
|
|||
|
|
@ -43,6 +43,8 @@
|
|||
* existing published interfaces. cworth@cworth.org
|
||||
*/
|
||||
|
||||
#error Stay out!
|
||||
|
||||
#ifndef _CAIROINT_H_
|
||||
#define _CAIROINT_H_
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue