Commit 2be66c04 authored by Jonathon Jongsma's avatar Jonathon Jongsma Committed by Alexander Larsson

Typedef GResolverClass in the standard way

It's a bit lame, but some of our C++ wrapping scripts expect objects to be
typedefed like:
    typedef struct _FooClass FooClass;
    struct {} _FooClass;

Rather than:
    typedef struct {} FooClass;

Functionally they're the same, but the former makes our lives easier in the
short term
parent cb7a300e
......@@ -41,7 +41,8 @@ struct _GResolver {
};
typedef struct {
typedef struct _GResolverClass GResolverClass;
struct _GResolverClass {
GObjectClass parent_class;
GList * ( *lookup_by_name) (GResolver *resolver,
......@@ -91,7 +92,7 @@ typedef struct {
void (*_g_reserved5) (void);
void (*_g_reserved6) (void);
} GResolverClass;
};
GType g_resolver_get_type (void) G_GNUC_CONST;
GResolver *g_resolver_get_default (void);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment