SCM Repository
View of /sml/trunk/src/cm/bootstrap/cmb-slave-hook.sml
Parent Directory
|
Revision Log
Revision 651 -
(download)
(annotate)
Thu Jun 1 18:34:03 2000 UTC (20 years, 7 months ago) by monnier
File size: 585 byte(s)
Thu Jun 1 18:34:03 2000 UTC (20 years, 7 months ago) by monnier
File size: 585 byte(s)
bring revisions from the vendor branch to the trunk
(* * The hook module for the dynamically-linked CMB "slave" stub. * * (C) 1999 Lucent Technologies, Bell Laboratories * * Author: Matthias Blume (blume@kurims.kyoto-u.ac.jp) *) structure CMBSlaveHook = struct local type slave = (string * string) option -> (GroupGraph.group * (DependencyGraph.sbnode -> bool) * PathConfig.mode) option val m = ref (StringMap.empty: slave StringMap.map) in fun init arch f = m := StringMap.insert (!m, arch, f) fun slave arch s = case StringMap.find (!m, arch) of NONE => NONE | SOME f => f s end end
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |