Converting a string[] to char**

Stanislav Blinov via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 9 00:59:19 PDT 2017


On Tuesday, 9 May 2017 at 07:50:33 UTC, David  Zhang wrote:

> If indeed there is no way to avoid allocation, do the 
> allocations have to remain 'alive' for the duration of the 
> instance? Or can I deallocate immediately afterwards? I can't 
> seem to find it in the Vulkan spec.

2.3.1. Object Lifetime:

> Application-owned memory is immediately consumed by any Vulkan 
> command it is passed into. The application can alter or free 
> this memory as soon as the commands that consume it have 
> returned.


More information about the Digitalmars-d-learn mailing list