|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH 11 of 26] libxl: autogenerate _libxl_types.h
On Mon, 16 Aug 2010, Ian Campbell wrote:
> # HG changeset patch
> # User Ian Campbell <ian.campbell@xxxxxxxxxx>
> # Date 1281969065 -3600
> # Node ID d8761fd067bebad80872da3bb7b5c3d373ba63eb
> # Parent 01f64d048f0fef53e638169a204fa0649a9245d1
> libxl: autogenerate _libxl_types.h
>
> The libxl interface types are represented by a simple python data
> structure (which could be parsed from a bespoke language in the
> future).
>
> This will allow the autogeneration of functions to free the component
> members of the libxl types. In the future it may also enable auto
> generation of type marshalling code for language bindings.
>
> The generated file should be identical to before with the exception of
> the "DO NOT EDIT" header.
>
> It was unfortunately necessary to add explcit an dependency on
> _libxl_types.h (indirectly via libxl.h) to all C files since the
> autogenerated dependencies are not available in time.
>
> Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
>
I think we need a document or at least a link to a document that
describes in details the idl language we are using.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 04 of 26] libxl: add specific type for cpumap, (continued)
- [Xen-devel] [PATCH 04 of 26] libxl: add specific type for cpumap, Ian Campbell
- [Xen-devel] [PATCH 06 of 26] libxl: make libxl_console_reader type opaque to users of libxl, Ian Campbell
- [Xen-devel] [PATCH 10 of 26] libxl: tweak formatting/whitespace of _libxl_types.h, Ian Campbell
- [Xen-devel] [PATCH 15 of 26] libxl: do not generate a destructor for data types which do not require one, Ian Campbell
- [Xen-devel] [PATCH 09 of 26] libxl: move type definitions into _libxl_types.h, Ian Campbell
- [Xen-devel] [PATCH 03 of 26] libxl: move various enum and #defines above datastructure definitions, Ian Campbell
- [Xen-devel] [PATCH 12 of 26] libxl: generate destructors for each libxl defined type, Ian Campbell
- [Xen-devel] [PATCH 14 of 26] libxl: build info bootloader{, _args} are not const, Ian Campbell
- [Xen-devel] [PATCH 13 of 26] libxl: libxl_device_console.build_state is const, Ian Campbell
- [Xen-devel] [PATCH 11 of 26] libxl: autogenerate _libxl_types.h, Ian Campbell
- Re: [Xen-devel] [PATCH 11 of 26] libxl: autogenerate _libxl_types.h,
Stefano Stabellini <=
- [Xen-devel] [PATCH 18 of 26] libxl: use libxl_version_info_destroy instead of hand-coded do_free_version_info, Ian Campbell
- [Xen-devel] [PATCH 16 of 26] libxl: implement destroy for libxl_file_reference builtin type, Ian Campbell
- [Xen-devel] [PATCH 20 of 26] xl: free all data on exit from the domain monitor daemon, Ian Campbell
[Xen-devel] [PATCH 17 of 26] xl: free the libxl types contained in struct domain_config, Ian Campbell
[Xen-devel] [PATCH 21 of 26] libxl/xl: use libxl_diskinfo_destroy and libxl_device_disk_destroy, Ian Campbell
|
|
|
|
|