mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-14 21:35:49 +00:00
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.
24 lines
701 B
Java
24 lines
701 B
Java
//
|
|
// Copyright (C) 2003-2004 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;
|
|
}
|
|
}
|