[m-rev.] for review: C foreign types
Peter Ross
peter.ross at miscrit.be
Sat May 4 03:53:05 AEST 2002
On Fri, May 03, 2002 at 04:42:33PM -0000, Peter Ross wrote:
>
> fjh wrote:
> > >
> > > I have changed it to sizeof(CForeignType) == sizeof(char *).
> >
> > Use `void *' rather than `char *' as the generic pointer type.
> >
> > This restriction alone is not sufficient, e.g. it still won't work
> > correctly for floating point types or structs that happen to have the
> > right size.
> >
> Why not?
>
Worked it out.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list