• D
    scripts: emit enum parameters in API build description · 38f3fa61
    Daniel P. Berrangé 提交于
    Currently the information about enums in the API document lacks any
    mention of parameters, so it is impossible to tell what kind of enum
    declaration is present in the libvirt API header. With this change
    
      <macro name='LIBVIR_CHECK_VERSION' file='libvirt-common'>
      <macro name='VIR_COPY_CPUMAP' file='libvirt-domain'>
      ...snip...
    
    becomes
    
      <macro name='LIBVIR_CHECK_VERSION' file='libvirt-common' params='major,minor,micro'>
      <macro name='VIR_COPY_CPUMAP' file='libvirt-domain' params='cpumaps,maplen,vcpu,cpumap'>
      ...snip...
    Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
    Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
    38f3fa61
apibuild.py 92.0 KB