Converting a string[] to char**

David Zhang via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 9 01:16:39 PDT 2017


On Tuesday, 9 May 2017 at 07:59:19 UTC, Stanislav Blinov wrote:
> 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.

I see, thanks.


More information about the Digitalmars-d-learn mailing list