Make the code able to compile with MSVC++ from Visual Studio 2015 (Version 14.0.25431.01, Update 3) sucessfully again.
This commit is contained in:
parent
b36f1510ec
commit
7143c8333b
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright © 2018 Google, Inc.
|
* Copyright © 2018 Google, Inc.
|
||||||
*
|
*
|
||||||
* This is part of HarfBuzz, a text shaping library.
|
* This is part of HarfBuzz, a text shaping library.
|
||||||
*
|
*
|
||||||
|
@ -42,17 +42,19 @@ struct hb_subset_input_t
|
||||||
{
|
{
|
||||||
hb_object_header_t header;
|
hb_object_header_t header;
|
||||||
|
|
||||||
|
struct sets_t {
|
||||||
|
hb_set_t *glyphs;
|
||||||
|
hb_set_t *unicodes;
|
||||||
|
hb_set_t *no_subset_tables;
|
||||||
|
hb_set_t *drop_tables;
|
||||||
|
hb_set_t *name_ids;
|
||||||
|
hb_set_t *name_languages;
|
||||||
|
hb_set_t *layout_features;
|
||||||
|
};
|
||||||
|
|
||||||
union {
|
union {
|
||||||
struct {
|
sets_t sets;
|
||||||
hb_set_t *glyphs;
|
hb_set_t* set_ptrs[sizeof (sets_t) / sizeof (hb_set_t*)];
|
||||||
hb_set_t *unicodes;
|
|
||||||
hb_set_t *no_subset_tables;
|
|
||||||
hb_set_t *drop_tables;
|
|
||||||
hb_set_t *name_ids;
|
|
||||||
hb_set_t *name_languages;
|
|
||||||
hb_set_t *layout_features;
|
|
||||||
} sets;
|
|
||||||
hb_set_t* set_ptrs[sizeof (sets) / sizeof (hb_set_t*)];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
unsigned flags;
|
unsigned flags;
|
||||||
|
|
Loading…
Reference in New Issue