[m-dev.] foreign_export_enum visibility
Julien Fischer
juliensf at csse.unimelb.edu.au
Tue Feb 26 14:17:48 AEDT 2008
On Tue, 26 Feb 2008, Ralph Becket wrote:
> Ralph Becket, Tuesday, 26 February 2008:
>> An error is reported if a pragma foreign_export_enum appears in the
>> interface section of a module. Is a foreign_export_enum in module m1
>> visible in C code in module m2 that imports m1?
>
> It seems the answer is no, going by the behaviour of the compiler.
It should be if the m2 conains a foreign_import_module declaration
for m1.
Julien.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at csse.unimelb.edu.au
Administrative Queries: owner-mercury-developers at csse.unimelb.edu.au
Subscriptions: mercury-developers-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the developers
mailing list