mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 17:33:38 +00:00
Use spaces, not tabs, in the Java and C# runtimes.
Add modelines to keep it that way. Fix formatting, and english in comments.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// vim: ts=4 sw=4 expandtab ft=java
|
||||
//
|
||||
// Copyright (C) 2004 The University of Melbourne.
|
||||
// Copyright (C) 2018 The Mercury team.
|
||||
@@ -11,21 +12,23 @@ package jmercury.runtime;
|
||||
// "struct MR_TypeClassDecl_Struct" in runtime/mercury_typeclass_info.h.
|
||||
|
||||
public class TypeClassDeclStruct implements java.io.Serializable {
|
||||
public TypeClassId tc_decl_id;
|
||||
public int tc_decl_version_number;
|
||||
public int tc_decl_num_supers; // redundant
|
||||
public TypeClassConstraint tc_decl_supers;
|
||||
public TypeClassId tc_decl_id;
|
||||
public int tc_decl_version_number;
|
||||
public int tc_decl_num_supers; // redundant
|
||||
public TypeClassConstraint tc_decl_supers;
|
||||
|
||||
public TypeClassDeclStruct()
|
||||
{
|
||||
}
|
||||
public TypeClassDeclStruct()
|
||||
{
|
||||
}
|
||||
|
||||
public void init(TypeClassId id, int version_number,
|
||||
int num_supers, TypeClassConstraint supers)
|
||||
{
|
||||
tc_decl_id = id;
|
||||
tc_decl_version_number = version_number;
|
||||
tc_decl_num_supers = num_supers;
|
||||
tc_decl_supers = supers;
|
||||
}
|
||||
public void init(TypeClassId id,
|
||||
int version_number,
|
||||
int num_supers,
|
||||
TypeClassConstraint supers)
|
||||
{
|
||||
tc_decl_id = id;
|
||||
tc_decl_version_number = version_number;
|
||||
tc_decl_num_supers = num_supers;
|
||||
tc_decl_supers = supers;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user