Re: [libvirt PATCH] scripts: fix API parsing of *** pointers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/20/21 6:27 PM, Daniel P. Berrangé wrote:
> The currrent generated API contains *** pointer types with bogus
> whitespace in the middle:
> 
>   <arg name='keys' type='char ** *' info='pointer to a variable to store authorized keys'/>
> 
> because the tokenizer only tries to merge 2 distinct '*' together.
> This refactors the code to merge an arbitrary number, resulting
> in
> 
>   <arg name='keys' type='char ***' info='pointer to a variable to store authorized keys'/>
> 
> Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
> ---
>  scripts/apibuild.py | 13 ++++++-------
>  1 file changed, 6 insertions(+), 7 deletions(-)

Reviewed-by: Michal Privoznik <mprivozn@xxxxxxxxxx>

Michal




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux