Re: C Style char**

2019-05-13 Thread Doug Clayton via Digitalmars-d-learn
On Monday, 13 May 2019 at 09:56:19 UTC, evilrat wrote: On Monday, 13 May 2019 at 09:24:34 UTC, Doug Clayton wrote: [...] You don't need to cast it, arrays have .ptr property to get pointer to first element, and in @safe you just &arr[0] instead, or so I think. If you are using static/liter

C Style char**

2019-05-13 Thread Doug Clayton via Digitalmars-d-learn
Hi All, First time poster :) I'm working on getting a binding to Vulkan working properly in D, but I've run into a roadblock. The good news is that the binding seems to work fine, but I'm having an issue getting a parameter that needs an input of a const(char*)* to receive all of the members