[m-rev.] diff: fix pragma export bug with foreign types
Peter Ross
pro at missioncriticalit.com
Thu May 16 18:43:08 AEST 2002
fjh wrote:
> But I don't understand why this would be different between the LLDS and
> MLDS back-ends. The C interface should be the same for both, shouldn't
it?
>
The MLDS backend uses the function mlds_output_pragma_export_type to output
the exported interface, while the LLDS backend uses type_to_string (which
gives back the string representing the foreign type), which is why we need a
differenent predicate to give back the typename when it is to be exported.
--------------------------------------------------------------------------
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