| Server IP : 160.187.147.141 / Your IP : 216.73.216.229 Web Server : nginx/1.28.0 System : Linux inter3 6.8.0-63-generic #66-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 13 20:25:30 UTC 2025 x86_64 User : butparkerkhactencom ( 1005) PHP Version : 8.4.8 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/share/gobject-introspection-1.0/tests/ |
Upload File : |
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* This file gets installed, so we can't assume config.h is available */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#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 G_GNUC_UNUSED)
{
}
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);
}