From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA23565; Tue, 29 Jul 2003 18:51:58 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA26982 for ; Tue, 29 Jul 2003 18:51:56 +0200 (MET DST) Received: from mwinf0602.wanadoo.fr (smtp3.wanadoo.fr [193.252.22.25]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h6TGptT12328 for ; Tue, 29 Jul 2003 18:51:56 +0200 (MET DST) Received: from ptit-gallu.home.net (AVelizy-112-1-19-110.w81-51.abo.wanadoo.fr [81.51.252.110]) by mwinf0602.wanadoo.fr (SMTP Server) with ESMTP id A9CB85400268; Tue, 29 Jul 2003 18:51:55 +0200 (CEST) Received: from gildor by ptit-gallu.home.net with local (Exim 3.35 #1 (Debian)) id 19hXhW-0004UU-00; Tue, 29 Jul 2003 18:51:50 +0200 Date: Tue, 29 Jul 2003 18:51:49 +0200 To: "matthieu.dubuget@libertysurf.fr" Cc: caml-list , "matthieu.dubuget" Subject: Re: [Caml-list] Question/Feature request about Camlidl and comments Message-ID: <20030729165149.GA17257@gallu.homelinux.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i From: Debian User X-Loop: caml-list@inria.fr X-Spam: no; 0.00; le-gall:01 caml-list:01 matthieu:01 dubuget:01 camlers:01 mli:01 ocamldoc:01 const:01 char:01 gall:01 idl:01 camlidl:01 int:01 0200,:01 string:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, Jul 29, 2003 at 11:26:19AM +0200, matthieu.dubuget@libertysurf.fr wrote: > Hello O Camlers! > Is it possible to insert comments in .idl files which would > be written in the generated .ml and .mli files at the right > place to be able to use camldoc with those generated files? > Thanks > Matthieu Dubuget > Hello, Yes this is possible : Depending on what you base your ocamldoc generation, use either ml or mli. Since i think mli is the best place to do it i will use it : quote(mli,"(** This is a ocamldoc comment *)"); int my_function ( [string] const char * msg ); Simple ! Regard Sylvain LE GALL ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners