From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id XAA23890; Mon, 22 Jul 2002 23:13:43 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id XAA23888 for ; Mon, 22 Jul 2002 23:13:42 +0200 (MET DST) Received: from mail.eecs.harvard.edu (bowser.eecs.harvard.edu [140.247.60.24]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g6MLDgT19912 for ; Mon, 22 Jul 2002 23:13:42 +0200 (MET DST) Received: by mail.eecs.harvard.edu (Postfix, from userid 32210) id 9B73454C78C; Mon, 22 Jul 2002 17:13:41 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.eecs.harvard.edu (Postfix) with ESMTP id 99C3654C770 for ; Mon, 22 Jul 2002 17:13:41 -0400 (EDT) Date: Mon, 22 Jul 2002 17:13:41 -0400 (EDT) From: Michael Tucker To: "Caml-List@Inria.Fr" Subject: [Caml-list] CamlIDL and function pointers In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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