Skip to content
  • Ray Strode's avatar
    giscanner: Look for _finish functions in constructors too · 2b5b9397
    Ray Strode authored
    async _new functions get treated as static methods, while
    their finish functions get treated as constructors.
    
    That leads to g-ir-scanner unable to match them up, causing
    warnings like this for gdbus codegen'd code:
    
     Warning: Namespace: Couldn't find 'new_finish' for the corresponding async function: 'new'
    
    This commit merges static methods and constructors together for
    the purposes of finding async/finish pairs.
    2b5b9397