From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: [PATCH 00 of 24] tools: IDL improvements and ocaml datatype generation Date: Wed, 13 Apr 2011 15:36:41 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Vincent Hanquez , Dave Scott List-Id: xen-devel@lists.xenproject.org The following series makes some improvements to the libxl IDL and then uses them to autogenerate the datatypes and datatype-conversion for the ocaml bindings. The series incorporates much of Dave Scott's ocaml interface cleanup series but excludes the network QoS bits (patches 13..14/14 in his series) since there were outstanding questions around that stuff. I would appreciate some advice on the handling of the integer types and their conversion from someone who knows about ocaml C bindings. In particular the handling of >=32-bit integers (ocaml ints are 31 bits) is not clear and probably intcorrect. Not all of the datatypes are actually usable via the ocaml interfaces yet since the stub functions have not been implemented. I used -Wno-unused for now but this should go away as the set of stub functions is completed.