Overview  Index  Help 
Standard ML Basis Library

CInterface


structure CInterface :> CINTERFACE =
struct
  type c_function = Assembly.A.c_function
  type system_const = int * string
  exception CFunNotFound of string
  exception SysConstNotFound of string
  val bindCFun : string * string -> c_function
  val c_function : string -> string -> 'a -> 'b
  val findSysConst : string * system_const list -> system_const option
  val bindSysConst : string * system_const list -> system_const
end

 
Type detail

c_function

type c_function = Assembly.A.c_function


system_const

type system_const = int * string

     
Value detail

bindCFun

val bindCFun : string * string -> c_function


c_function

val c_function : string -> string -> 'a -> 'b


findSysConst

val findSysConst : string * system_const list -> system_const option


bindSysConst

val bindSysConst : string * system_const list -> system_const

 
Exception detail

CFunNotFound

exception CFunNotFound of string


SysConstNotFound

exception SysConstNotFound of string


Overview  Index  Help 
Standard ML Basis Library

This document may be distributed freely over the internet as long as the copyright notice and license terms below are prominently displayed within every machine-readable copy.

Copyright © 2003 AT&T and Lucent Technologies. All rights reserved.

Permission is granted for internet users to make one paper copy for their own personal use. Further hardcopy reproduction is strictly prohibited. Permission to distribute the HTML document electronically on any medium other than the internet must be requested from the copyright holders by contacting the editors. Printed versions of the SML Basis Manual are available from Cambridge University Press. To order, please visit www.cup.org (North America) or www.cup.cam.ac.uk (outside North America).