[m-rev.] for review: new foreign_type syntax
Tyson Dowd
trd at cs.mu.OZ.AU
Wed Dec 12 09:59:38 AEDT 2001
On 07-Dec-2001, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> On 07-Dec-2001, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> > + at node Using pragma foreign_proc for C#
> > + at subsubsection Using pragma foreign_proc for C#
> > +
> > +
> > +
> >
> >
>
> That section looks suspiciously blank.
Looks like a bug in interdiff. The actual documentation says:
@node Using pragma foreign_proc for C#
@subsubsection Using pragma foreign_proc for C#
Not currently supported for C#.
@c XXX
-------
Here is a relative diff of my fixes for these problems (although
interdiff seemed to barf a little as I have cvs updated since the last
diff). I am going to commit this change today.
diff -u doc/reference_manual.texi doc/reference_manual.texi
--- doc/reference_manual.texi
+++ doc/reference_manual.texi
@@ -5152,16 +5156,15 @@
foreign_proc for @var{Lang}, it will be passed to that foreign_proc as
specified by @var{ForeignTypeDescriptor}.
-Multiple foreign languages definitions may be given for the same type ---
+Multiple foreign language definitions may be given for the same type ---
the appropriate definition will be used for the appropriate language (see the
language specific information below for details).
You can use Mercury foreign language interfacing declarations
-which specify language X to interface to types that are actually
-written in a different language Y provided that X and Y
+which specify language @var{X} to interface to types that are actually
+written in a different language @var{Y} provided that @var{X} and @var{Y}
have compatible interface conventions. Support for this kind of
compatibility is described in the language specific information below.
-
@c -----------------------------------------------------------------------
@node Adding foreign declarations
@@ -5438,7 +5441,7 @@
@node Using pragma foreign_type for C#
@subsubsection Using pragma foreign_type for C#
-There is direct support for using C# types from Mercury, however the
+There is no direct support for using C# types from Mercury; however, the
types for IL are compatible with C#, and so the foreign_type
support for IL can be used instead.
See the section on using pragma foreign_type for IL
@@ -5613,7 +5616,7 @@
@node Using pragma foreign_type for MC++
@subsubsection Using pragma foreign_type for MC++
-There is direct support for using MC++ types from Mercury, however the
+There is no direct support for using MC++ types from Mercury; however, the
types for IL are compatible with MC++, and so the foreign_type
support for IL can be used instead.
See the section on using pragma foreign_type for IL
--
Tyson Dowd #
# Surreal humour isn't everyone's cup of fur.
trd at cs.mu.oz.au #
http://www.cs.mu.oz.au/~trd #
--------------------------------------------------------------------------
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