Hi, everyone
While trying to combine GSL and GLib functions in the same code I faced the
following question. Can I refer to *GArray object like an ordinar C-like
array? For example:
GArray * g_array_data
g_array_new (TRUE, TRUE, sizeof(double)); // A first 'true' is for
zero-terminated G-array.
.
Hi;
On 3 April 2015 at 12:35, Sergei Kolomeeyets wrote:
> While trying to combine GSL and GLib functions in the same code I faced the
> following question. Can I refer to *GArray object like an ordinar C-like
> array?
No, you can't.
But you can use the `data` field, with some casting, and usin