Skip to content
  • David Gobbi's avatar
    Use RAII instead of new/delete for wrapper temp array · e258c73c
    David Gobbi authored
    For array and pointer args, the Python wrappers sometimes have to
    dynamically allocate an array.  This patch adds a simple class that
    uses stack storage for small arrays, heap storage for large arrays,
    and releases resources upon destruction.
    e258c73c