Re: Re: [RFCv2 01/46] scripts: Add a tool to generate xml parse/format functions

2020-12-06 Thread Shi Lei
On 2020-12-05 at 01:22, DanielP. Berrangé wrote: >On Fri, Sep 04, 2020 at 11:34:53AM +0800, Shi Lei wrote: >> This tool is used to generate parsexml/formatbuf functions. >> It is based on libclang and its python-binding. >> Some directives (such as genparse, xmlattr, etc.) need to be added on >> th

Re: [RFCv2 01/46] scripts: Add a tool to generate xml parse/format functions

2020-12-04 Thread Daniel P . Berrangé
On Fri, Sep 04, 2020 at 11:34:53AM +0800, Shi Lei wrote: > This tool is used to generate parsexml/formatbuf functions. > It is based on libclang and its python-binding. > Some directives (such as genparse, xmlattr, etc.) need to be added on > the declarations of structs to direct the tool. In test