Andreas Stricker schrieb:
> Micah Carrick schrieb:
> I would prefer the later one. The first one can easily lead to errors,
> especially if the glib allocators don't use libc malloc implementation
> sometime.
I should have looked at a recent glib documentation, where it is
clearly defined that the
Micah Carrick schrieb:
> When I am working with a structure from this library, I should be using
> those same functions on those structures right? Because *my* parts of my
> application (elsewhere) are using the g_ functions.
I won't mix them, depending on circumstance, see below.
> For exa
I have a GTK application which is working with a C library (Libmtp).
This C library uses standard C functions such as free, malloc, strndup, etc.
When I am working with a structure from this library, I should be using
those same functions on those structures right? Because *my* parts of my
appl