1. 10 Aug, 2016 1 commit
    • 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
  2. 20 Jul, 2015 1 commit
  3. 24 Feb, 2014 2 commits
    • Karl Wette's avatar
      LALDetChar: add SWIG RETURNS_PROPERTY directive to XLALGSequenceBegin() · 44200f43
      Karl Wette authored
      - To prevent gsequence being freed until its iterators are also freed
      Original: bb98eacabfc1d2a0f12f75f7d77f694bc320902c
      44200f43
    • Karl Wette's avatar
      LALDetChar: fix double-free in gsequence-wrapping code · 074f7d6b
      Karl Wette authored
      - Do not free LALGSequenceIter* from within XLALGSequenceNext(), as this
        interacts badly with SWIG's parent tracking for XLALGetGSeqSnglBurst().
        Instead XLALGSequenceNext() returns a boolean, indicating whether iteration
        should continue, and calling (C) code must free iterator themselves.
        (Python code will free the iterator automatically once it is no longer needed.)
      Original: 120eea010713db4010313d5b61585358f5f8804b
      074f7d6b
  4. 27 Aug, 2013 1 commit
  5. 29 Jul, 2013 1 commit