[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add support for FT_Face cloning
From: |
Werner LEMBERG |
Subject: |
Re: Add support for FT_Face cloning |
Date: |
Wed, 09 Feb 2022 17:47:55 +0000 (UTC) |
> So basically, we need to organize the fields in such a way that they
> reflect their traits. It can be having a prefix describing the
> trait or organizing like the following:
>
> typedef struct ABC {
> struct {
> /* Mutable Properties. */
> } mutable;
>
> struct {
> /* Lazy Properties. */
> } lazy;
>
> /* Immutable Properties. */
> FT_UInt first;
> FT_UInt second;
> } ABC;
Alas, this is not possible for public structures, which can't be
changed in any way to retain backwards compatibility.
Werner