Overview  Index  Help 
Standard ML Basis Library

UNSAFE

All Known Implementing Modules:

Unsafe


signature UNSAFE =
sig
  structure CInterface : CINTERFACE
  structure Object : UNSAFE_OBJECT
  structure Poll : POLL
  structure Vector : UNSAFE_VECTOR
  structure Array : UNSAFE_ARRAY
  structure CharVector :
  UNSAFE_MONO_VECTOR
    where type vector = CharVector.vector where type elem = CharVector.elem
  structure CharArray :
  UNSAFE_MONO_ARRAY
    where type array = CharArray.array where type elem = CharArray.elem
  structure Word8Vector :
  UNSAFE_MONO_VECTOR
    where type vector = Word8Vector.vector where type elem = Word8Vector.elem
  structure Word8Array :
  UNSAFE_MONO_ARRAY
    where type array = Word8Array.array where type elem = Word8Array.elem
  structure Real64Array :
  UNSAFE_MONO_ARRAY
    where type array = Real64Array.array where type elem = Real64Array.elem
  datatype runDynEnv =
           NILrde | CONSrde of Word8Vector.vector * Object.object * runDynEnv
  val getHdlr : unit -> 'a Cont.cont
  val setHdlr : 'a Cont.cont -> unit
  val getVar : unit -> 'a
  val setVar : 'a -> unit
  val getPseudo : int -> 'a
  val setPseudo : 'a * int -> unit
  val blastRead : Word8Vector.vector -> 'a
  val blastWrite : 'a -> Word8Vector.vector
  val boxed : 'a -> bool
  val cast : 'a -> 'b
  val pStruct : runDynEnv ref
  val topLevelCont : unit Cont.cont ref
  val sigHandler : (int * int * unit Cont.cont -> unit Cont.cont) ref
end

   
Datatype detail

runDynEnv

datatype runDynEnv =
         NILrde | CONSrde of Word8Vector.vector * Object.object * runDynEnv

 
DataConstructor detail

NILrde

constructor NILrde : runDynEnv


CONSrde

constructor CONSrde
            : Word8Vector.vector * Object.object * runDynEnv -> runDynEnv

 
Value detail

getHdlr

val getHdlr : unit -> 'a Cont.cont


setHdlr

val setHdlr : 'a Cont.cont -> unit


getVar

val getVar : unit -> 'a


setVar

val setVar : 'a -> unit


getPseudo

val getPseudo : int -> 'a


setPseudo

val setPseudo : 'a * int -> unit


blastRead

val blastRead : Word8Vector.vector -> 'a


blastWrite

val blastWrite : 'a -> Word8Vector.vector


boxed

val boxed : 'a -> bool


cast

val cast : 'a -> 'b


pStruct

val pStruct : runDynEnv ref


topLevelCont

val topLevelCont : unit Cont.cont ref


sigHandler

val sigHandler : (int * int * unit Cont.cont -> unit Cont.cont) ref

 


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).