Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Caml productivity.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Michael Tucker <mtucker@e...>
Subject: [Caml-list] CamlIDL and function pointers
Hi,

  How would one annotate the following C struct for camlidl:

typedef struct funp {
   int i;
   void (*funp_fun) ();
} funp_t;

  Is it possible? Looking at the specs I don't see how one can have a
field that is a pointer to a function. Any ideas, or pointers (no pun
intended) to examples?

Thanks,
Mike

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