Hi Joerg,
Am Samstag, 3. September 2005 19:25 schrieb Joerg Budischewski:
> Hi,
>
> > If I understand that correctly, that is not completely true:
> > the unpackType called from "case typelib_TypeDescription_ANY:" unpacks
> > the type class and for types > 14 (SEQUENCE == 20)  it unpacks a type
> > cache index and returns the type found via the type cache index. After
> > return the returned type is unpacked in unpack without taking care of the
> > sequence! Arnulf
>
> don't understand your point. Lets say, a Sequence<long> within an any
> shall be marshaled, first the type of the any's value is marshaled,
> which would be in the above example typeclass SEQUENCE and typename
> "[]long", thus the type of the sequence is completely fixed (because not
> only the typeclass but also the typename is transported). Afterwards the
>   value is marshaled, which is a packed integer plus the values.
it should return a []long or in my case a []com.sun.star.beans.PropertyValue, 
but it is returning only type STRUCT and classname 
com.sun.star.beans.PropertyValue (seen from debugging!). There is a missing 
typelib_static_sequence_type_init missing in unpackType (see my mail from 
today)
Arnulf
>
> Bye,
>
> Joerg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to