Typedef bt_intern_str
[babeltrace.git] / formats / registry.c
index 12912561773fd3884ab3fad7015624fd6683be5d..829ede9da77bf12dce5da544e3ea0bb3538a8049 100644 (file)
@@ -40,12 +40,12 @@ void __attribute__((destructor)) format_finalize(void);
  */
 GHashTable *format_registry;
 
-struct format *bt_lookup_format(GQuark qname)
+struct format *bt_lookup_format(bt_intern_str name)
 {
        if (!init_done)
                return NULL;
        return g_hash_table_lookup(format_registry,
-                                  (gconstpointer) (unsigned long) qname);
+                                  (gconstpointer) (unsigned long) name);
 }
 
 static void show_format(gpointer key, gpointer value, gpointer user_data)
This page took 0.022854 seconds and 4 git commands to generate.