import cocoa.objc.runtime.(Class);

FpRet?(type) = false;
StRet?(type) = false;
//Fp2Ret?(type) = false;

//overload FpRet?(static Float80) = true;
//overload Fp2Ret?(static Complex[Float80]) = true;

[T | Type?(T)] overload StRet?(static T) = TypeSize(T) > 16;

external __CFConstantStringClassReference : Opaque;

alias CFConstantStringID = SizeT(0x7C8);

record CFConstantString (
    isa: Class,
    flags: SizeT,
    string: Pointer[CChar],
    length: SizeT,
);
