Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] <newbie> OCamlIDL?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Xavier Leroy <Xavier.Leroy@i...>
Subject: Re: [Caml-list] <newbie> OCamlIDL?
> This is probably a stupid question, but were is OCamlIDL and it's
> documentation?

http://caml.inria.fr/camlidl/

> It sounds like OCamlIDL will generate the ml/mli code and
> C stub interfaces for C headers so I don't have to, or do I just have the
> wrong idea?

That's almost the idea: it does generate the stub code and ml/mli
interfaces, but from an "IDL description" of the C code to be
interfaced.  The IDL description looks like a C header file with
additional annotations.  Depending on the C code in question, the
annotations can either be straightforward or quite hard to figure out...

- Xavier Leroy

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