/[svn]/types/externals.ml
ViewVC logotype

Contents of /types/externals.ml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1497 - (show annotations)
Tue Jul 10 18:56:42 2007 UTC (5 years, 10 months ago) by abate
File size: 269 byte(s)
[r2005-03-04 12:11:52 by afrisch] cduce_mktop

Original author: afrisch
Date: 2005-03-04 12:11:54+00:00
1 let has_ext = ref false
2
3 let has () = !has_ext
4
5 let register =
6 ref (fun _ _ _ ->
7 Location.raise_generic "No built-in support for ocaml externals")
8
9 let resolve s args =
10 has_ext := true;
11 !register true s args
12
13 let typ s args =
14 snd (!register false s args)
15
16

CVS Admin">CVS Admin
ViewVC Help
Powered by ViewVC 1.1.5