Sha256: 5a0f2bb1c4add05e22d36b23e66f798dfa9e939c4928fbe0f7e89ce96900b044

Contents?: true

Size: 1.13 KB

Versions: 67

Compression:

Stored size: 1.13 KB

Contents

/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "config.h"

#include "drawable.h"

G_DEFINE_ABSTRACT_TYPE (RegressTestInheritDrawable, regress_test_inherit_drawable, G_TYPE_OBJECT);

static void
regress_test_inherit_drawable_class_init (RegressTestInheritDrawableClass *klass)
{

}

static void
regress_test_inherit_drawable_init (RegressTestInheritDrawable *drawable)
{

}

void
regress_test_inherit_drawable_do_foo (RegressTestInheritDrawable *drawable, int x)
{

}

/**
 * regress_test_inherit_drawable_get_origin:
 * @drawable:
 * @x: (out):
 * @y: (out):
 */
void
regress_test_inherit_drawable_get_origin (RegressTestInheritDrawable *drawable, int *x, int *y)
{
  *x = 0;
  *y = 0;
}

/**
 * regress_test_inherit_drawable_get_size:
 * @drawable:
 * @width: (out):
 * @height: (out):
 */
void
regress_test_inherit_drawable_get_size (RegressTestInheritDrawable *drawable, guint *width, guint *height)
{
  *width = 42;
  *height = 42;
}

void
regress_test_inherit_drawable_do_foo_maybe_throw (RegressTestInheritDrawable *drawable, int x, GError **error)
{
  if (x != 42)
    g_set_error(error, 0, 12, "The answer should be 42!");
}

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/drawable.c
gobject-introspection-3.2.9-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/drawable.c
gobject-introspection-3.2.8-x64-mingw32 vendor/local/share/gobject-introspection-1.0/tests/drawable.c
gobject-introspection-3.2.8-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/drawable.c
gobject-introspection-3.2.7-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/drawable.c
gobject-introspection-3.2.7-x64-mingw32 vendor/local/share/gobject-introspection-1.0/tests/drawable.c
gobject-introspection-3.2.6-x64-mingw32 vendor/local/share/gobject-introspection-1.0/tests/drawable.c
gobject-introspection-3.2.6-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/drawable.c
gobject-introspection-3.2.5-x64-mingw32 vendor/local/share/gobject-introspection-1.0/tests/drawable.c
gobject-introspection-3.2.5-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/drawable.c
gobject-introspection-3.2.4-x64-mingw32 vendor/local/share/gobject-introspection-1.0/tests/drawable.c
gobject-introspection-3.2.4-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/drawable.c
gobject-introspection-3.2.3-x64-mingw32 vendor/local/share/gobject-introspection-1.0/tests/drawable.c
gobject-introspection-3.2.3-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/drawable.c
gobject-introspection-3.2.2-x64-mingw32 vendor/local/share/gobject-introspection-1.0/tests/drawable.c
gobject-introspection-3.2.2-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/drawable.c
gobject-introspection-3.2.1-x64-mingw32 vendor/local/share/gobject-introspection-1.0/tests/drawable.c
gobject-introspection-3.2.1-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/drawable.c
gobject-introspection-3.2.0-x64-mingw32 vendor/local/share/gobject-introspection-1.0/tests/drawable.c
gobject-introspection-3.2.0-x86-mingw32 vendor/local/share/gobject-introspection-1.0/tests/drawable.c