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 PAA17275; Tue, 13 May 2003 15:03:56 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA29446 for ; Tue, 13 May 2003 15:03:55 +0200 (MET DST) Received: from post.kis.ru (post.kis.ru [195.98.32.206]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h4DD3sH25378 for ; Tue, 13 May 2003 15:03:54 +0200 (MET DST) Received: from [195.98.54.162] (HELO heaven) by post.kis.ru (CommuniGate Pro SMTP 4.0.6) with ESMTP id 2437892; Tue, 13 May 2003 16:56:24 +0400 From: "MikhailFedotov" To: Cc: Subject: RE: [Caml-list] Announcement: Ocaml-MySQL 1.0.0 Date: Tue, 13 May 2003 16:56:24 +0400 Message-ID: <005901c3194f$0f492af0$a917a8c0@merann.ru> X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: <20030512165952.K24944@speakeasy.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Spam: no; 0.00; caml-list:01 ocaml-mysql:01 camlreturn:01 camlprim:01 val:01 bindings:01 ocaml:01 toplevel:01 segmentation:01 unit:03 binding:03 exported:03 functions:05 clause:05 uses:06 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi! > Bindings for accessing MySQL databases from ocaml programs. > > Since nobody reported any bugs with the version (0.9.1) I > released last month, I'm bumping the version to 1.0.0. No > other changes. I believe there is at least one, similar to my own. I'm creating an ocaml-sqlite binding (a bit more general than the one posted here a while ago by David Brown) now and find out today that I may no use "CAMLreturn0;" clause in functions which are exported into ocaml. I have to declare them as "CAMLprim value", not "CAMLprim void", and use a "CAMLreturn(Val_unit)" to return. Otherwise custom toplevel becomes crazy in interactive mode, does segmentation faults etc. Ocaml-MySQL uses CAMLreturn0 in two places. Mikhail ------------------- 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