Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
self
/
root
/
proc
/
self
/
root
/
usr
/
share
/
gobject-introspection-1.0
/
tests
/
//proc/self/root/proc/self/root/usr/share/gobject-introspection-1.0/tests/warnlib.c
/* -*- 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); }