1 (* Copyright (C) 2005-2008 Henry Cejtin, Matthew Fluet, Suresh
2 * Jagannathan, and Stephen Weeks.
4 * MLton is released under a BSD-style license.
5 * See the file MLton-LICENSE for details.
10 (* set all flags to their default values *)
11 val defaults: unit -> unit
13 (*------------------------------------*)
15 (*------------------------------------*)
20 val collect_enums : bool ref
22 val cppopts : string list ref
26 val enum_cons : bool ref
28 val extramembers : string list ref
30 val gensym : string ref
32 val libhandle : string ref
36 datatype t = Archive | Dynamic | Shared
38 val linkage : Linkage.t ref
40 val match : (string -> bool) ref
42 val mlbfile : string ref
44 val namedargs : bool ref
46 val prefix : string ref
51 val fromString : string -> t option
52 val make: t -> {name: string, sizes: Sizes.sizes,
53 endianShift: Endian.shift} option
55 val target: {name: string, sizes: Sizes.sizes,
56 endianShift: Endian.shift} option ref
58 val weight: {heavy: bool, light: bool} ref