Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] reading bytes into c-defined structs
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: art yerkes <ayerkes@s...>
Subject: Re: [Caml-list] reading bytes into c-defined structs
SWIG converts C structs into object like closures automatically.  These
objects support introspection, so it's easy to do things like iterating
the fields and the like.

There's also a camlp4 preprocessor which supports C++-like access to
object members.
-- 
Hey, Adam Smith, keep your invisible hands to yourself!

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