[HarfBuzz] static const functions in hb-iter.hh

an0oo0nym0oo0us OoO oooanoonymoous at gmail.com
Mon Oct 25 12:58:08 UTC 2021


Yeah,

After a careful look, I thought they were functions in which their
definitions are implemented in operator () overloading.


On Mon, Oct 25, 2021 at 7:26 PM an0oo0nym0oo0us OoO <
oooanoonymoous at gmail.com> wrote:

> Hello everyone,
>
> I'm new to Harfbuzz (and C++ too). I'm reading Harfbuzz source code but
> cannot understand what many functions HB_FUNCOBJ in hb-iter.hh do.
>
> hb_all, hb_none, hb_second, hb_min, hb_max, hb_clamp, ... are all without
> any definition, just are __attribute__ (unused).
>
> So what do these functions do? And what are their roles?
>
> Thanks,
> P. Toan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20211025/8285ffb0/attachment.htm>


More information about the HarfBuzz mailing list