]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
libxl/gentypes.py: don't generate JSON for private type(s)
authorWei Liu <wei.liu2@citrix.com>
Thu, 10 Apr 2014 15:26:31 +0000 (16:26 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 16 Apr 2014 16:06:36 +0000 (17:06 +0100)
commit172c47d1c85ac1f54805f04dd6bcd62bb35fa3a4
tree4b568a62d4b01bbe3e4ba14a06a635d4e864ff15
parent9b4e96724eeb916f2cd311d9133f00c216caa321
libxl/gentypes.py: don't generate JSON for private type(s)

Private types are only useful inside libxl. They don't have a valid JSON
generation function by default.

Currently there's only one private type, that's libxl_ev_link. Not
skipping this field causes testidl to fail as the code generated for
this type is NULL.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/gentypes.py