<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/07/bdfccc44288b0bae0fa41fd8ae2054f9"
  from="Debian User &lt;sylvain.le-gall@p...&gt;"
  author="Debian User"
  date="2003-07-29T16:51:58"
  subject="Re: [Caml-list] Question/Feature request about Camlidl and comments"
  prev="2003/07/82b3d5d0d35fae3d00bd39fcde421760"
  next="2003/07/1c416b19998651a8c498d19591070818"
  prev-in-thread="2003/07/5b37f781df14dca035708106d9f1671d"
  prev-thread="2003/07/7a7ebba8014d9f89a65fbd652a3cdcf5"
  next-thread="2003/07/d3ac7ab03d975ba360c80411b3744559"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Question/Feature_request_about_Camlidl_and_comments">
<msg 
  url="2003/07/5b37f781df14dca035708106d9f1671d"
  from="matthieu.dubuget@libertysurf.fr &lt;matthieu.dubuget@l...&gt;"
  author="matthieu.dubuget@libertysurf.fr"
  date="2003-07-29T09:26:22"
  subject="[Caml-list] Question/Feature_request_about_Camlidl_and_comments">
<msg 
  url="2003/07/bdfccc44288b0bae0fa41fd8ae2054f9"
  from="Debian User &lt;sylvain.le-gall@p...&gt;"
  author="Debian User"
  date="2003-07-29T16:51:58"
  subject="Re: [Caml-list] Question/Feature request about Camlidl and comments">
</msg>
</msg>
</thread>

<contents>
On Tue, Jul 29, 2003 at 11:26:19AM +0200, matthieu.dubuget@libertysurf.fr wrote:
&gt; Hello O Camlers!
&gt; Is it possible to insert comments in .idl files which would
&gt; be written  in the generated .ml and .mli files at the right
&gt; place to be able to use camldoc with those generated files?
&gt; Thanks
&gt; Matthieu Dubuget
&gt; 

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

</contents>

</message>

