view tests/ffi.lac @ 49:874e877d2c51

Detecting FFI functions
author Adam Chlipala <adamc@hcoop.net>
date Sun, 22 Jun 2008 10:00:25 -0400
parents 0a5c312de09a
children d37518b67bd2
line wrap: on
line source
extern structure Lib : sig
        type t
        type u
        val x : t
        val f1 : t -> t
        val f2 : t -> u -> t
end

type t' = Lib.t
val x' : t' = Lib.x
val f1' = Lib.f1
val f2' = Lib.f2

structure Lib' = Lib

type t'' = Lib'.t
val x'' : t'' = Lib'.x