Sha256: 510a80e961656a6ad59982f8aa6a7fe415ea59a70685cb755eadfcd4ff9f626e

Contents?: true

Size: 679 Bytes

Versions: 14

Compression:

Stored size: 679 Bytes

Contents

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

  rbatknoopobject.c -

  $Author: mutoh $
  $Date: 2003/12/04 18:06:17 $

  Copyright (C) 2003 Masao Mutoh
************************************************/

#include "rbatk.h"

#define _SELF(s) (ATK_NOOPOBJECT(RVAL2GOBJ(s)))

static VALUE
rbatk_no_op_object_initialize(self, gobj)
    VALUE self, gobj;
{
    G_INITIALIZE(self, atk_no_op_object_new(RVAL2GOBJ(gobj)));
    return Qnil;
}

void
Init_atk_noopobject()
{
    VALUE noop = G_DEF_CLASS(ATK_TYPE_NO_OP_OBJECT, "NoOpObject", mAtk);

    rb_define_method(noop, "initialize", rbatk_no_op_object_initialize, 1);
}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
atk-0.90.7-x86-mingw32 ext/atk/rbatknoopobject.c
atk-0.90.7 ext/atk/rbatknoopobject.c
atk-0.90.6 ext/atk/rbatknoopobject.c
atk-0.90.6-x86-mingw32 ext/atk/rbatknoopobject.c
atk-0.90.5 ext/atk/rbatknoopobject.c
atk-0.90.5-x86-mingw32 ext/atk/rbatknoopobject.c
atk-0.90.4 ext/atk/rbatknoopobject.c
atk-0.90.4-x86-mingw32 ext/atk/rbatknoopobject.c
atk-0.90.3 ext/atk/rbatknoopobject.c
atk-0.90.3-x86-mingw32 ext/atk/rbatknoopobject.c
atk-0.90.2 ext/atk/rbatknoopobject.c
atk-0.90.2-x86-mingw32 ext/atk/rbatknoopobject.c
atk-0.20.1 src/rbatknoopobject.c
atk-0.20.0 src/rbatknoopobject.c