1 (* Copyright (C) 2014 Matthew Fluet.
2 * Copyright (C) 2004-2007 Henry Cejtin, Matthew Fluet, Suresh
3 * Jagannathan, and Stephen Weeks.
5 * MLton is released under a BSD-style license.
6 * See the file MLton-LICENSE for details.
9 signature C_TYPE_STRUCTS =
11 structure RealSize: REAL_SIZE
12 structure WordSize: WORD_SIZE
17 include C_TYPE_STRUCTS
33 val align: t * Bytes.t -> Bytes.t
40 val equals: t * t -> bool
41 val objptrHeader: unit -> t
42 val memo: (t -> 'a) -> t -> 'a
43 (* name: I{8,16,32,64} R{32,64} W{8,16,32,64} *)
45 val layout: t -> Layout.t
47 val real: RealSize.t -> t
48 val seqIndex: unit -> t
50 val size: t -> Bytes.t
52 val toString: t -> string
53 val word: WordSize.t * {signed: bool} -> t