Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Announcement: Ocaml-MySQL 1.0.0
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: MikhailFedotov <mikhail@k...>
Subject: RE: [Caml-list] Announcement: Ocaml-MySQL 1.0.0

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


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: