Sha256: 7fc11fac2593333753b5898666192c740bc05dc76a29497f4b93ad50990b030e

Contents?: true

Size: 1.15 KB

Versions: 6

Compression:

Stored size: 1.15 KB

Contents

/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */

#ifndef __WARNLIB_H__
#define __WARNLIB_H__

#include <gio/gio.h>

#define WARNLIB_UNPAIRED_ERROR (warnlib_unpaired_error_quark ())
GQuark warnlib_unpaired_error_quark (void);

gboolean warnlib_throw_unpaired (GError **error);

/* interface */
#define WARNLIB_TYPE_WHATEVER              (warnlib_whatever_get_type ())
#define WARNLIB_WHATEVER(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), WARNLIB_TYPE_WHATEVER, WarnLibWhatever))
#define WARNLIB_IS_WHATEVER(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), WARNLIB_TYPE_WHATEVER))
#define WARNLIB_WHATEVER_GET_IFACE(obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), WARNLIB_TYPE_WHATEVER, WarnLibWhateverIface))

typedef struct _WarnLibWhateverIface WarnLibWhateverIface;
typedef struct _WarnLibWhatever WarnLibWhatever;

struct _WarnLibWhateverIface
{
  GTypeInterface parent_iface;

  /* virtual table */

  /* explicitly test un-named parameters */
  void (*do_moo) (WarnLibWhatever *self, int, gpointer);
};

void warnlib_whatever_do_moo (WarnLibWhatever *self, int, gpointer);

GType warnlib_whatever_get_type (void) G_GNUC_CONST;

#endif

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gobject-introspection-2.2.0-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.h
gobject-introspection-2.1.0-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.h
gobject-introspection-2.0.3-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.h
gobject-introspection-2.0.2-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.h
gobject-introspection-2.0.1-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.h
gobject-introspection-2.0.0-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.h