Browse thread
[Caml-list] reading bytes into c-defined structs
-
henri dubois-ferriere
-
Shishir Ramam
- art yerkes
-
Shishir Ramam
[
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: | 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