Mercurial > hgrepos > Python2 > PyMuPDF
view mupdf-source/thirdparty/harfbuzz/src/OT/glyf/coord-setter.hh @ 33:c4daa0c83d64
Apply also -fstack-clash-protection and -fstack-protector-strong for all generated binaries.
Only done if EXTRA_CHECKS is not empty and not 0.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 21 Sep 2025 17:55:13 +0200 |
| parents | b50eed0cc0ef |
| children |
line wrap: on
line source
#ifndef OT_GLYF_COORD_SETTER_HH #define OT_GLYF_COORD_SETTER_HH #include "../../hb.hh" namespace OT { namespace glyf_impl { struct coord_setter_t { coord_setter_t (hb_array_t<int> coords) : coords (coords) {} int& operator [] (unsigned idx) { if (coords.length < idx + 1) coords.resize (idx + 1); return coords[idx]; } hb_array_t<int> get_coords () { return coords.as_array (); } hb_vector_t<int> coords; }; } /* namespace glyf_impl */ } /* namespace OT */ #endif /* OT_GLYF_COORD_SETTER_HH */
