Files
mercury/java/runtime/ForeignEnumFunctorDesc.java
Mark Brown d465fa53cb Update the COPYING.LIB file and references to it.
Discussion of these changes can be found on the Mercury developers
mailing list archives from June 2018.

COPYING.LIB:
    Add a special linking exception to the LGPL.

*:
    Update references to COPYING.LIB.

    Clean up some minor errors that have accumulated in copyright
    messages.
2018-06-09 17:43:12 +10:00

24 lines
623 B
Java

//
// Copyright (C) 2007 The University of Melbourne.
// Copyright (C) 2018 The Mercury team.
// This file is distributed under the terms specified in COPYING.LIB.
//
package jmercury.runtime;
public class ForeignEnumFunctorDesc implements java.io.Serializable {
public java.lang.String foreign_enum_functor_name;
public int foreign_enum_functor_ordinal;
public int foreign_enum_functor_value;
public ForeignEnumFunctorDesc() {
}
public void init(String name, int ordinal, int value) {
foreign_enum_functor_name = name;
foreign_enum_functor_ordinal = ordinal;
foreign_enum_functor_value = value;
}
}