Sha256: 6e1a08bead01f5bfc1a9ee98e220ccc71a9af3a3f0af428ac2b15ec7d6a347c0

Contents?: true

Size: 988 Bytes

Versions: 67

Compression:

Stored size: 988 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);
}

/**
 * warnlib_whatever_do_boo:
 * @self: a WarnLibWhatever
 * @x: x parameter
 * @y: y parameter
 *
 * Does boo.
 */
void
warnlib_whatever_do_boo (WarnLibWhatever *self, int x, gpointer y)
{
  WARNLIB_WHATEVER_GET_IFACE(self)->do_boo (self, x, y);
}

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
gobject-introspection-3.2.9-x64-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-3.2.9-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-3.2.8-x64-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-3.2.8-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-3.2.7-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-3.2.7-x64-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-3.2.6-x64-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-3.2.6-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-3.2.5-x64-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-3.2.5-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-3.2.4-x64-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-3.2.4-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-3.2.3-x64-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-3.2.3-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-3.2.2-x64-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-3.2.2-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-3.2.1-x64-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-3.2.1-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-3.2.0-x64-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c
gobject-introspection-3.2.0-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/warnlib.c