annotate tests/ffi.lac @ 48:0a5c312de09a

Start of FFI
author Adam Chlipala <adamc@hcoop.net>
date Sun, 22 Jun 2008 09:27:29 -0400
parents
children 874e877d2c51
rev   line source
adamc@48 1 extern structure Lib : sig
adamc@48 2 type t
adamc@48 3 val x : t
adamc@48 4 end
adamc@48 5
adamc@48 6 type t' = Lib.t
adamc@48 7 val x' : t' = Lib.x
adamc@48 8
adamc@48 9 structure Lib' = Lib
adamc@48 10
adamc@48 11 type t'' = Lib'.t
adamc@48 12 val x'' : t'' = Lib'.x