• Karl Wette's avatar
    SWIG: enforce tagnames for typedef'd enums · ff26971b
    Karl Wette authored
    - Enums without tagnames can trigger bugs in SWIG, e.g. for an enum
         typedef enum { ... } myenum
      and a function
         void myfunction(const myenum *e);
      SWIG generates the incorrect cast
         (enum myenum const*) e
      whereas if the enum is given a tagname
         typedef enum tagmyenum { ... } myenum
      SWIG generates the correct cast
         (enum tagmyenum const*) e
    Original: 02dad312c4563c6ff2c1e4e7f008503eb4abfd22
    ff26971b
LALDetCharGlibTypes.h 3.4 KB