[introspection] Fix g-ir-scanner syntax errors
Fixes https://github.com/harfbuzz/harfbuzz/issues/2851
This commit is contained in:
parent
094406b67b
commit
7b9e23f28b
@ -425,14 +425,7 @@ HarfBuzz_0_0_gir_INCLUDES = GObject-2.0
|
|||||||
HarfBuzz_0_0_gir_CFLAGS = \
|
HarfBuzz_0_0_gir_CFLAGS = \
|
||||||
$(INCLUDES) \
|
$(INCLUDES) \
|
||||||
$(HBCFLAGS) \
|
$(HBCFLAGS) \
|
||||||
-DHB_H \
|
-DHB_NO_SINGLE_HEADER_ERROR \
|
||||||
-DHB_H_IN \
|
|
||||||
-DHB_OT_H \
|
|
||||||
-DHB_OT_H_IN \
|
|
||||||
-DHB_AAT_H \
|
|
||||||
-DHB_AAT_H_IN \
|
|
||||||
-DHB_GOBJECT_H \
|
|
||||||
-DHB_GOBJECT_H_IN \
|
|
||||||
-DHAVE_GOBJECT \
|
-DHAVE_GOBJECT \
|
||||||
-DHB_EXTERN= \
|
-DHB_EXTERN= \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_AAT_H_IN
|
#if !defined(HB_AAT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb-aat.h> instead."
|
#error "Include <hb-aat.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* Red Hat Author(s): Behdad Esfahbod
|
* Red Hat Author(s): Behdad Esfahbod
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_H_IN
|
#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb.h> instead."
|
#error "Include <hb.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* Google Author(s): Behdad Esfahbod
|
* Google Author(s): Behdad Esfahbod
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_H_IN
|
#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb.h> instead."
|
#error "Include <hb.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
* Google Author(s): Behdad Esfahbod
|
* Google Author(s): Behdad Esfahbod
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_H_IN
|
#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb.h> instead."
|
#error "Include <hb.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* Google Author(s): Behdad Esfahbod
|
* Google Author(s): Behdad Esfahbod
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_H_IN
|
#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb.h> instead."
|
#error "Include <hb.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_H_IN
|
#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb.h> instead."
|
#error "Include <hb.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* Red Hat Author(s): Behdad Esfahbod
|
* Red Hat Author(s): Behdad Esfahbod
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_H_IN
|
#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb.h> instead."
|
#error "Include <hb.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* Red Hat Author(s): Behdad Esfahbod
|
* Red Hat Author(s): Behdad Esfahbod
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_H_IN
|
#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb.h> instead."
|
#error "Include <hb.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Google Author(s): Behdad Esfahbod
|
* Google Author(s): Behdad Esfahbod
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_GOBJECT_H_IN
|
#if !defined(HB_GOBJECT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb-gobject.h> instead."
|
#error "Include <hb-gobject.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* Google Author(s): Behdad Esfahbod
|
* Google Author(s): Behdad Esfahbod
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_GOBJECT_H_IN
|
#if !defined(HB_GOBJECT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb-gobject.h> instead."
|
#error "Include <hb-gobject.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* Google Author(s): Behdad Esfahbod
|
* Google Author(s): Behdad Esfahbod
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_H_IN
|
#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb.h> instead."
|
#error "Include <hb.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
* Google Author(s): Sascha Brawer, Behdad Esfahbod
|
* Google Author(s): Sascha Brawer, Behdad Esfahbod
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_OT_H_IN
|
#if !defined(HB_OT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb-ot.h> instead."
|
#error "Include <hb-ot.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* Google Author(s): Behdad Esfahbod
|
* Google Author(s): Behdad Esfahbod
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_OT_H_IN
|
#if !defined(HB_OT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb-ot.h> instead."
|
#error "Include <hb-ot.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* Google Author(s): Behdad Esfahbod, Roozbeh Pournader
|
* Google Author(s): Behdad Esfahbod, Roozbeh Pournader
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_OT_H_IN
|
#if !defined(HB_OT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb-ot.h> instead."
|
#error "Include <hb-ot.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* Red Hat Author(s): Behdad Esfahbod
|
* Red Hat Author(s): Behdad Esfahbod
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_OT_H_IN
|
#if !defined(HB_OT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb-ot.h> instead."
|
#error "Include <hb-ot.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* Igalia Author(s): Frédéric Wang
|
* Igalia Author(s): Frédéric Wang
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_OT_H_IN
|
#if !defined(HB_OT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb-ot.h> instead."
|
#error "Include <hb-ot.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_OT_H_IN
|
#if !defined(HB_OT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb-ot.h> instead."
|
#error "Include <hb-ot.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_OT_H_IN
|
#if !defined(HB_OT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb-ot.h> instead."
|
#error "Include <hb-ot.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_OT_H_IN
|
#if !defined(HB_OT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb-ot.h> instead."
|
#error "Include <hb-ot.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* Red Hat Author(s): Behdad Esfahbod
|
* Red Hat Author(s): Behdad Esfahbod
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_OT_H_IN
|
#if !defined(HB_OT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb-ot.h> instead."
|
#error "Include <hb-ot.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* Red Hat Author(s): Behdad Esfahbod
|
* Red Hat Author(s): Behdad Esfahbod
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_OT_H_IN
|
#if !defined(HB_OT_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb-ot.h> instead."
|
#error "Include <hb-ot.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* Google Author(s): Behdad Esfahbod
|
* Google Author(s): Behdad Esfahbod
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_H_IN
|
#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb.h> instead."
|
#error "Include <hb.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* Google Author(s): Behdad Esfahbod
|
* Google Author(s): Behdad Esfahbod
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_H_IN
|
#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb.h> instead."
|
#error "Include <hb.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
* Google Author(s): Behdad Esfahbod
|
* Google Author(s): Behdad Esfahbod
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_H_IN
|
#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb.h> instead."
|
#error "Include <hb.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_H_IN
|
#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb.h> instead."
|
#error "Include <hb.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
* Google Author(s): Behdad Esfahbod
|
* Google Author(s): Behdad Esfahbod
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_H_IN
|
#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb.h> instead."
|
#error "Include <hb.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* Google Author(s): Behdad Esfahbod
|
* Google Author(s): Behdad Esfahbod
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_H_IN
|
#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb.h> instead."
|
#error "Include <hb.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* Google Author(s): Behdad Esfahbod
|
* Google Author(s): Behdad Esfahbod
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HB_H_IN
|
#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||||
#error "Include <hb.h> instead."
|
#error "Include <hb.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -640,14 +640,8 @@ if have_gobject
|
|||||||
header: 'hb-gobject.h',
|
header: 'hb-gobject.h',
|
||||||
install: true,
|
install: true,
|
||||||
extra_args: ['--cflags-begin',
|
extra_args: ['--cflags-begin',
|
||||||
'-DHB_H',
|
'-DHB_NO_SINGLE_HEADER_ERROR',
|
||||||
'-DHB_H_IN',
|
'-DHAVE_GOBJECT',
|
||||||
'-DHB_OT_H',
|
|
||||||
'-DHB_OT_H_IN',
|
|
||||||
'-DHB_AAT_H',
|
|
||||||
'-DHB_AAT_H_IN',
|
|
||||||
'-DHB_GOBJECT_H',
|
|
||||||
'-DHB_GOBJECT_H_IN',
|
|
||||||
'-DHB_EXTERN=',
|
'-DHB_EXTERN=',
|
||||||
'--cflags-end'])
|
'--cflags-end'])
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user