Thanks Ian!
My C's a bit rusty, I'd expected I'd have to explicitly allocate some
memory for rLimits, similar to askedHosts, turns out that isn't required
after all and your suggestion of setting element by element is working like
a charm!
Thanks again,
Mark
On Tuesday, January 28, 2020 at 3
On Tue, Jan 28, 2020 at 4:44 AM mark mellar wrote:
>
> Hi Folks, I'm having some trouble instantiating a C struct from a 3rd party
> API.
>
> I'm not sure if this is more a C question or a Go question, details in the
> code below, any help would be much appreciated!
>
> M
>
> // This non-compili
Hi Folks, I'm having some trouble instantiating a C struct from a 3rd party
API.
I'm not sure if this is more a C question or a Go question, details in the
code below, any help would be much appreciated!
M
// This non-compiling example demonstrates an issue I'm having integrating
a 3rd party