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 PAA18330; Mon, 7 Oct 2002 15:58:29 +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 PAA18412 for ; Mon, 7 Oct 2002 15:58:28 +0200 (MET DST) Received: from [192.168.2.35] (as5300.kharkov.ukrtel.net [195.5.1.188]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g97DwQD29015 for ; Mon, 7 Oct 2002 15:58:27 +0200 (MET DST) Received: from yrashk by openeas.org with local (masqmail 0.2.6) id 17yYTA-5t8-00 for ; Mon, 07 Oct 2002 17:02:48 +0300 Date: Mon, 7 Oct 2002 17:02:48 +0300 From: "Yurii A. Rashkovskii" To: caml-list@inria.fr Subject: [Caml-list] CamlIDL question Message-ID: <20021007140248.GA22632@rashko.ilt.kharkov.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Gentlemen, Is the below trick is possible in CamlIDL? I want to wrap C library that uses structs for storing pointers to functions, like typedef struct { int (*open)(char *filename); } blablabla; I want to wrap it automatically to something like type blablabla = { open: (string -> int) } ;; Is it possible? -- Thanks in advance, Yurii. ------------------- 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