Sha256: dcc74454b9c0f9560342cc2b2a2a4a79f5354794221f35465c30c91fe9d7d07c

Contents?: true

Size: 736 Bytes

Versions: 6

Compression:

Stored size: 736 Bytes

Contents

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

#include "config.h"

#include "warnlib.h"

GQuark
warnlib_unpaired_error_quark (void)
{
  return g_quark_from_static_string ("warnlib-unpaired-error");
}

gboolean
warnlib_throw_unpaired (GError **error)
{
  g_set_error_literal (error, warnlib_unpaired_error_quark (), 0,
                       "Unpaired error");
  return FALSE;
}

typedef WarnLibWhateverIface WarnLibWhateverInterface;
G_DEFINE_INTERFACE (WarnLibWhatever, warnlib_whatever, G_TYPE_OBJECT)

static void
warnlib_whatever_default_init(WarnLibWhateverIface *iface)
{
}

void
warnlib_whatever_do_moo (WarnLibWhatever *self, int x, gpointer y)
{
  WARNLIB_WHATEVER_GET_IFACE(self)->do_moo (self, x, y);
}

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.c
gobject-introspection-2.1.0-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-2.0.3-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-2.0.2-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-2.0.1-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-2.0.0-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c