/* below functions will be called when dlopen or dlclose is called */
void __attribute__ ((constructor)) lib_init()
{
+ /* remove for deprecated-declarations build warning: glib ver > 2.36 */
+#if !GLIB_CHECK_VERSION (2, 35, 0)
g_type_init();
+#endif
}
void __attribute__ ((destructor)) lib_fini()