1. 21 7月, 2017 1 次提交
    • M
      libvirt-domain.h: Fix enum description placement · f4cb85c6
      Michal Privoznik 提交于
      There are only two acceptable places for describing enum values.
      It's either:
      
          typedef enum {
              /* Some long description. Therefore it's placed before
               * the value. */
              VIR_ENUM_A_VAL = 1,
          } virEnumA;
      
      or:
      
          typedef enum {
              VIR_ENUM_B_VAL = 1, /* Some short description */
          } virEnumB;
      
      However, during review of a patch sent upstream I realized that
      is not always the case. I went through all the public header
      files and identified all the offenders. Luckily there were just
      two of them.
      
      Yes, this makes our HTML generated documentation broken, but
      that's bug of the generator. Our header files shouldn't be forced
      to use something we don't want to.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      f4cb85c6
  2. 20 7月, 2017 25 次提交
  3. 19 7月, 2017 12 次提交
  4. 18 7月, 2017 2 次提交