* support varbyref and vararray (the latter if convertable to a single

element of its element type) in TBinaryObjectWriter.WriteVariant
    by letting variantmanager handle their conversion transparently

git-svn-id: trunk@13075 -
This commit is contained in:
Jonas Maebe 2009-05-02 08:28:42 +00:00
parent 99a02a93ca
commit d89eedf38d

View File

@ -375,7 +375,9 @@ end;
procedure TBinaryObjectWriter.WriteVariant(const VarValue: variant);
begin
case tvardata(VarValue).vtype of
{ The variant manager will handle varbyref and vararray transparently for us
}
case (tvardata(VarValue).vtype and varTypeMask) of
varEmpty:
begin
WriteValue(vaNil);