From: "MikhailFedotov" <mikhail@kittown.com>
To: <shawnw@speakeasy.org>
Cc: <caml-list@inria.fr>
Subject: RE: [Caml-list] Announcement: Ocaml-MySQL 1.0.0
Date: Tue, 13 May 2003 16:56:24 +0400 [thread overview]
Message-ID: <005901c3194f$0f492af0$a917a8c0@merann.ru> (raw)
In-Reply-To: <20030512165952.K24944@speakeasy.org>
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
next prev parent reply other threads:[~2003-05-13 13:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-12 23:59 Shawn Wagner
2003-05-13 0:27 ` Shawn Wagner
2003-05-13 12:56 ` MikhailFedotov [this message]
2003-05-13 13:24 ` Shawn Wagner
2003-05-18 11:37 ` [Caml-list] Announcement: Ocaml-Sqlite 0.3.4 Mikhail Fedotov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='005901c3194f$0f492af0$a917a8c0@merann.ru' \
--to=mikhail@kittown.com \
--cc=caml-list@inria.fr \
--cc=shawnw@speakeasy.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox