[m-rev.] for review: C foreign types
Peter Ross
pro at missioncriticalit.com
Sat May 4 02:42:33 AEST 2002
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?
--------------------------------------------------------------------------
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