diff options
Diffstat (limited to 'Build/source/texk/web2c/mfluadir/otfcc/lib/table/vdmx/type.c')
-rw-r--r-- | Build/source/texk/web2c/mfluadir/otfcc/lib/table/vdmx/type.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/mfluadir/otfcc/lib/table/vdmx/type.c b/Build/source/texk/web2c/mfluadir/otfcc/lib/table/vdmx/type.c new file mode 100644 index 00000000000..3607de42000 --- /dev/null +++ b/Build/source/texk/web2c/mfluadir/otfcc/lib/table/vdmx/type.c @@ -0,0 +1,28 @@ +#include "../VDMX.h" + +#include "support/util.h" + +caryll_standardValType(vdmx_Record, vdmx_iRecord); + +caryll_standardVectorImpl(vdmx_Group, vdmx_Record, vdmx_iRecord, vdmx_iGroup); + +static void initRR(vdmx_RatioRange *rr) { + memset(rr, 0, sizeof(*rr)); + vdmx_iGroup.init(&rr->records); +} + +static void disposeRR(vdmx_RatioRange *rr) { + vdmx_iGroup.dispose(&rr->records); +} + +caryll_standardType(vdmx_RatioRange, vdmx_iRatioRange, initRR, disposeRR); +caryll_standardVectorImpl(vdmx_RatioRagneList, vdmx_RatioRange, vdmx_iRatioRange, + vdmx_iRatioRangeList); + +static void initVDMX(table_VDMX *t) { + vdmx_iRatioRangeList.init(&t->ratios); +} +static void disposeVDMX(table_VDMX *t) { + vdmx_iRatioRangeList.dispose(&t->ratios); +} +caryll_standardRefType(table_VDMX, table_iVDMX, initVDMX, disposeVDMX); |