mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-16 09:53:36 +00:00
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.
25 lines
682 B
Java
25 lines
682 B
Java
//
|
|
// Copyright (C) 2004 The University of Melbourne.
|
|
// Copyright (C) 2018 The Mercury team.
|
|
// This file is distributed under the terms specified in COPYING.LIB.
|
|
//
|
|
|
|
package jmercury.runtime;
|
|
|
|
// This corresponds to the C type MR_TypeClassMethod
|
|
// in runtime/mercury_typeclass_info.h.
|
|
|
|
public class TypeClassMethod implements java.io.Serializable {
|
|
public /* final */ java.lang.String tc_method_name;
|
|
public /* final */ int tc_method_arity;
|
|
public /* final */ int /* PredFunc */ tc_method_pred_func;
|
|
|
|
public TypeClassMethod(java.lang.String name, int arity,
|
|
int pred_func)
|
|
{
|
|
tc_method_name = name;
|
|
tc_method_arity = arity;
|
|
tc_method_pred_func = pred_func;
|
|
}
|
|
}
|