On 23 September 2010 09:50, Honza wrote: > > AFAIK yes as long as you don't break (it's possible using some wild > casting) the ref counting mechanism and handle the zero length case.
In my case [working with the Xlib library], I will never have the case of a zero length array. So that I don't need to worry about. I will only need an array if I need to send more than three items (DND mime types in this case) to the Xlib library. -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net:8080/fpgui/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal