On 2/20/18 9:59 PM, Nicholas Wilson wrote:
FYI, File is a reference counted FILE* so theres not really any point of heap allocating it.
More FYI, the reference counted payload is actually allocated on the C heap :) So you are wasting a lot of effort to do something that is already done.
-Steve