[m-rev.] diff: java/runtime/ReservedAddrFunctorDesc.java
Fergus Henderson
fjh at cs.mu.OZ.AU
Mon Feb 9 23:10:01 AEDT 2004
Estimated hours taken: 0.25
Branches: main
java/runtime/ReservedAddrFunctorDesc.java:
New file. This corresponds to the C type MR_ReservedAddrFunctorDesc
in runtime/mercury_type_info.h. It will be needed if compiling
to Java with the reserved tag options (--num-reserved-objects
or --num-reserved-addresses) enabled.
Workspace: /home/jupiter/fjh/ws-jupiter/mercury
Index: java/runtime/ReservedAddrFunctorDesc.java
===================================================================
RCS file: java/runtime/ReservedAddrFunctorDesc.java
diff -N java/runtime/ReservedAddrFunctorDesc.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ java/runtime/ReservedAddrFunctorDesc.java 28 Nov 2003 02:51:10 -0000
@@ -0,0 +1,23 @@
+//
+// Copyright (C) 2003 The University of Melbourne.
+// This file may only be copied under the terms of the GNU Library General
+// Public License - see the file COPYING.LIB in the Mercury distribution.
+//
+
+// This corresponds to the C type MR_ReservedAddrFunctorDesc
+// in runtime/mercury_type_info.h.
+
+package mercury.runtime;
+
+public class ReservedAddrFunctorDesc {
+ public java.lang.String ra_functor_name;
+ public int ra_ordinal;
+ public java.lang.Object ra_reserved_addr;
+ public ReservedAddrFunctorDesc(java.lang.String functor_name,
+ int ordinary, java.lang.Object reserved_addr)
+ {
+ ra_functor_name = functor_name;
+ ra_ordinal = ordinary;
+ ra_reserved_addr = reserved_addr;
+ }
+}
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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