| 1 |
(* Copyright (C) 1999-2006 Henry Cejtin, Matthew Fluet, Suresh |
| 2 |
* Jagannathan, and Stephen Weeks. |
| 3 |
* Copyright (C) 1997-2000 NEC Research Institute. |
| 4 |
* |
| 5 |
* MLton is released under a HPND-style license. |
| 6 |
* See the file MLton-LICENSE for details. |
| 7 |
*) |
| 8 |
|
| 9 |
(* Primitive names are special -- see atoms/prim.fun. *) |
| 10 |
|
| 11 |
structure Primitive = struct |
| 12 |
|
| 13 |
open Primitive |
| 14 |
|
| 15 |
structure String8 = |
| 16 |
struct |
| 17 |
open String8 |
| 18 |
|
| 19 |
val idFromWord8Vector = |
| 20 |
_prim "Word8Vector_toString": Word8.word vector -> string; |
| 21 |
val idToWord8Vector = |
| 22 |
_prim "String_toWord8Vector": string -> Word8.word vector; |
| 23 |
end |
| 24 |
|
| 25 |
end |