Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/src/cm/main/cleanup.sml
ViewVC logotype

View of /sml/trunk/src/cm/main/cleanup.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1201 - (download) (annotate)
Fri May 17 20:48:38 2002 UTC (18 years, 4 months ago) by blume
File size: 526 byte(s)
pushed new controls interface through compiler
(*
 * Cleanup-code to be executed at start-up.
 *
 * (C) 1999 Lucent Technologies, Bell Laboratories
 *
 * Author: Matthias Blume (blume@kurims.kyoto-u.ac.jp)
 *)
structure Cleanup = struct
    local
	structure C = SMLofNJ.Internals.CleanUp
	val label = "CM-Cleanup"
	fun atInit initPaths _ =
	    (ControlRegistry.init BasicControl.topregistry;
	     initPaths ())
    in
	fun install initPaths =
	    ignore (C.addCleaner (label, [C.AtInit], atInit initPaths))
	fun uninstall () = ignore (C.removeCleaner label)
    end
end

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0