<?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="2002/07/8269bacb8e523333537a36a1fad2337b"
  from="Olivier Andrieu &lt;andrieu@i...&gt;"
  author="Olivier Andrieu"
  date="2002-07-18T08:25:05"
  subject="Re: [Caml-list] Opaque pointers with camlidl"
  prev="2002/07/23c8dc6da0227e52873e92202056095f"
  next="2002/07/647457434ab87dabf18062d5a922a07a"
  prev-in-thread="2002/07/08d9bbe18f85a92673bb35b255d9a617"
  prev-thread="2002/07/6f9d163bb49127c0bf96895d22c05290"
  next-thread="2002/07/70faaf98f4dc639bc10a62a5b89685a5"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Opaque pointers with camlidl">
<msg 
  url="2002/07/fe9646fa169c9ecb8e15a547bbb95c87"
  from="Michael Tucker &lt;mtucker@e...&gt;"
  author="Michael Tucker"
  date="2002-07-17T22:09:28"
  subject="[Caml-list] Opaque pointers with camlidl">
<msg 
  url="2002/07/4e63b5dcb91018e9a9e0ae72032489d8"
  from="Jacques Garrigue &lt;garrigue@k...&gt;"
  author="Jacques Garrigue"
  date="2002-07-17T23:29:49"
  subject="Re: [Caml-list] Opaque pointers with camlidl">
<msg 
  url="2002/07/df6ade30c2b773efbf7f52753e543a68"
  from="Alexander V.Voinov &lt;avv@q...&gt;"
  author="Alexander V.Voinov"
  date="2002-07-17T23:35:57"
  subject="Re: [Caml-list] Opaque pointers with camlidl">
</msg>
</msg>
<msg 
  url="2002/07/dc4947beb688bd36642d574d61bc13f1"
  from="Yaron M. Minsky &lt;yminsky@C...&gt;"
  author="Yaron M. Minsky"
  date="2002-07-18T07:35:51"
  subject="Re: [Caml-list] Opaque pointers with camlidl">
<msg 
  url="2002/07/08d9bbe18f85a92673bb35b255d9a617"
  from="Michael Tucker &lt;mtucker@e...&gt;"
  author="Michael Tucker"
  date="2002-07-18T06:52:13"
  subject="Re: [Caml-list] Opaque pointers with camlidl">
</msg>
<msg 
  url="2002/07/8269bacb8e523333537a36a1fad2337b"
  from="Olivier Andrieu &lt;andrieu@i...&gt;"
  author="Olivier Andrieu"
  date="2002-07-18T08:25:05"
  subject="Re: [Caml-list] Opaque pointers with camlidl">
</msg>
</msg>
</msg>
</thread>

<contents>
 Yaron M. Minsky [ 17 July 2002] :
 &gt; For what it's worth, I have written a small berkeley DB interface (for
 &gt; version 3.3.11, the one found in RH 7.3), which I've attached to this
 &gt; email. 

Hi, 

At the beginning, of your stub I noticed this :

static void finalize_caml_dbenv(value dbenv) { 
  CAMLparam1(dbenv);
  caml_dbenv_close_internal(dbenv); 
  CAMLreturn0;
}

I think it's not a good idea to use CAMLparam* in the finalisation
function. IIRC, the manual explicitly says not to.

-- 
	  Olivier
-------------------
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>

