[fpc-pascal] sizeof TTypeKind?
Sven Barth
pascaldragon at googlemail.com
Fri Mar 20 21:38:53 CET 2020
Am 20.03.2020 um 08:32 schrieb Ryan Joseph via fpc-pascal:
> Are there any functions in the RTL to get the sizeof the type specified in TTypeKind? https://www.freepascal.org/docs-html/rtl/typinfo/ttypekind.html
>
> I'm truing to use record RTTI and I needed to know the size of the field in the record.
What exactly do you want? TTypeKind is an enum, so there
SizeOf(TTypeKind) is enough.
Regards,
Sven
More information about the fpc-pascal
mailing list