Top | ![]() |
![]() |
![]() |
![]() |
Gwyddion classes has to be initialized before they can be safely deserialized. The function gwy_type_init()
performs this initialization.
void
gwy_type_init (void
);
Makes libgwyddion types safe for deserialisation and performs other initialisation. You have to call this function from the main thread before using objects from libgwyddion. However, most programs do not use libgwyddion alone. If you use a higher-level Gwyddion library, call its initialisation function instead.
It is safe to call this function more than once, subsequent calls are no-op.