2 #include <glib-object.h>
7 static unsigned initialized;
9 static void dl_print_errors(const char *prefix)
12 while (err = lt_dlerror()) {
13 if (prefix) fprintf(stderr, "%s: ", prefix);
21 if (lt_dlinit() != 0) {
22 dl_print_errors(__func__);
38 if (lt_dlexit() != 0) {
39 dl_print_errors(__func__);