From 8bcd13dd91916a436fa357fa73f9d4477d8a02ff Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 18 Dec 2022 09:41:00 -0500 Subject: [PATCH] small fixup to hb-cairo-utils --- util/hb-cairo-utils.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/util/hb-cairo-utils.h b/util/hb-cairo-utils.h index c36a3a6ff..9d353be67 100644 --- a/util/hb-cairo-utils.h +++ b/util/hb-cairo-utils.h @@ -24,10 +24,11 @@ * Google Author(s): Matthias Clasen */ -#ifndef HB_CAIRO_UTILS_H -#define HB_CAIRO_UTILS_H +#pragma once -extern "C" { +#include + +HB_BEGIN_DECLS static inline cairo_operator_t hb_paint_composite_mode_to_cairo (hb_paint_composite_mode_t mode) @@ -99,6 +100,4 @@ void hb_cairo_paint_sweep_gradient (cairo_t *cr, float x0, float y0, float start_angle, float end_angle); -} - -#endif +HB_END_DECLS