Browse thread
[Caml-list] Question/Feature_request_about_Camlidl_and_comments
-
matthieu.dubuget@libertysurf.fr
- Debian User
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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, 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