Am Mittwoch, den 13.09.2006, 14:13 +0200 schrieb Jonas Maebe: > On 13 Sep 2006, at 10:04, Marc Santhoff wrote: > > > (* > > hid_t H5Screate_simple(int rank, const hsize_t * dims, const hsize_t * > > maxdims ) > > > > --> h2pas --> > > Add an overloaded literal translation if you want to be able to pass > nil: > > type > phsize_t = ^hsize_t; > > function H5Screate_simple(rank:longint; dims: phsize_t; > maxdims:phsize_t):hid_t;cdecl;external;
Yes, this does actually work. :) > When passing arrays, pass the address of the first element of the array. Still thinking about that, I don't want to change calling syntax very much ... Many thanks, Marc _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal