Commit | Line | Data |
---|---|---|
7f918cf1 CE |
1 | (* Copyright (C) 2009 Matthew Fluet. |
2 | * Copyright (C) 2004-2007 Henry Cejtin, Matthew Fluet, Suresh | |
3 | * Jagannathan, and Stephen Weeks. | |
4 | * | |
5 | * MLton is released under a BSD-style license. | |
6 | * See the file MLton-LICENSE for details. | |
7 | *) | |
8 | ||
9 | signature OBJPTR_TYCON_STRUCTS = | |
10 | sig | |
11 | end | |
12 | ||
13 | signature OBJPTR_TYCON = | |
14 | sig | |
15 | include OBJPTR_TYCON_STRUCTS | |
16 | ||
17 | type t | |
18 | ||
19 | val <= : t * t -> bool | |
20 | val compare: t * t -> Relation.t | |
21 | val equals: t * t -> bool | |
22 | val fromIndex: int -> t | |
23 | val index: t -> int (* index into objectTypes array *) | |
24 | val layout: t -> Layout.t | |
25 | val new: unit -> t | |
26 | val setIndex: t * int -> unit | |
27 | val toString: t -> string | |
28 | ||
29 | (* See gc/object.h. *) | |
30 | val stack: t | |
31 | val thread: t | |
32 | val weakGone: t | |
33 | val wordVector: Bits.t -> t | |
34 | end |