mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-13 04:44:39 +00:00
Implemented inst_cast/2 in Java.
Estimated hours taken: 0.1 Branches: main tests/hard-coded/copy_pred.m: Implemented inst_cast/2 in Java.
This commit is contained in:
@@ -26,6 +26,9 @@
|
||||
:- pragma foreign_proc("C#",
|
||||
inst_cast(X::in, Y::out(pred(in, out) is det)),
|
||||
[will_not_call_mercury, thread_safe, promise_pure], "Y = X;").
|
||||
:- pragma foreign_proc("Java",
|
||||
inst_cast(X::in, Y::out(pred(in, out) is det)),
|
||||
[will_not_call_mercury, thread_safe, promise_pure], "Y = X;").
|
||||
|
||||
:- pred foo(int, int, string, string) is det.
|
||||
:- mode foo(in, in, in, out) is det.
|
||||
|
||||
Reference in New Issue
Block a user