Debian Codegraph @

lib/stubs/common/basis/pack-real32-dummy.sml

raw
1 (* Copyright (C) 2009,2022 Matthew Fluet.
2 * Copyright (C) 1999-2006 Henry Cejtin, Matthew Fluet, Suresh
3 * Jagannathan, and Stephen Weeks.
4 * Copyright (C) 1997-2000 NEC Research Institute.
5 *
6 * MLton is released under a HPND-style license.
7 * See the file MLton-LICENSE for details.
8 *)
9
10 (* Dummy implementation that will not be used at run-time. *)
11 structure PackReal32Little : PACK_REAL where type real = Real32.real = struct
12 type real = Real32.real
13 val bytesPerElem = 4
14 val isBigEndian = false
15 fun toBytes _ = raise Fail "PackReal32Little.toBytes"
16 fun fromBytes _ = raise Fail "PackReal32Little.fromBytes"
17 fun subVec _ = raise Fail "PackReal32Little.subVec"
18 fun subArr _ = raise Fail "PackReal32Little.subArr"
19 fun update _ = raise Fail "PackReal32Little.update"
20 end