OCAMLFIND_DEST_DIR = @OCAMLFIND_DEST_DIR@
-OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)"
+OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -pp camlp4o
OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
OCAMLDEP = ocamldep
method clone =
let c = new resolve_read_any_channel
- ?close:(Some close) f_open () in
+ ?close:(Some close) ~channel_of_id:f_open () in
c # init_rep_encoding internal_encoding;
c # init_warner warner;
clones <- c :: clones;
object (self)
inherit resolve_read_any_channel
?close
- (fun xid -> !getchannel xid)
+ ~channel_of_id:(fun xid -> !getchannel xid)
()
as super
current_string <- None
method clone =
- let c = new resolve_read_any_string f_open () in
+ let c = new resolve_read_any_string ~string_of_id:f_open () in
c # init_rep_encoding internal_encoding;
c # init_warner warner;
clones <- c :: clones;
object (self)
inherit resolve_read_any_channel
?close
- (fun xid -> !getchannel xid)
+ ~channel_of_id:(fun xid -> !getchannel xid)
()
as super
* History:
*
* $Log$
+ * Revision 1.2 2002/01/29 14:44:29 sacerdot
+ * Ported to ocaml-3.04.
+ *
* Revision 1.1 2001/11/26 18:28:28 sacerdot
* HELM OCaml libraries with findlib support.
*