Browse thread
[Caml-list] Announcement: Ocaml-MySQL 1.0.0
-
Shawn Wagner
- Shawn Wagner
- MikhailFedotov
- Mikhail Fedotov
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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 |
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