Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Question/Feature_request_about_Camlidl_and_comments
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Debian User <sylvain.le-gall@p...>
Subject: Re: [Caml-list] Question/Feature request about Camlidl and comments
On Tue, Jul 29, 2003 at 11:26:19AM +0200, 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


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 !

Sylvain LE GALL

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: