Wrap the ptr UncheckedArray, len pair in an object and write custom =destroy
and = procs. (= would be `proc `=`(self: var Foo; other: Foo) {.error.}` since
you want to avoid copies. The destructor frees the memory using whatever
function is provided by the C library.
- Creating a seq or openarray on unmanaged memory snej
- Re: Creating a seq or openarray on unmanaged memory spip
- Re: Creating a seq or openarray on unmanaged memory mratsim
- Re: Creating a seq or openarray on unmanaged memory snej
- Re: Creating a seq or openarray on unmanaged mem... jasonfi
- Re: Creating a seq or openarray on unmanage... b3liever
