Generalize expansion array code on host adapter

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Parse nodes expand into an array of variant<AstNode, ParseNode>. During expansion, the populated array is assumed to be owned to the caller as soon as the call returns. This process requires creating a handle for each array element which can manage the lifetime of the array element on the host side of the API.

      This code is easy critical in order to prevent memory leaks in error situations.

      We'd like to templatize this code so it can be used in other array cases with a low maintenance burden. 

            Assignee:
            Santiago Roche
            Reporter:
            Santiago Roche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: