Sha256: a986894f5dc5872a18676b723b37c42d575c56ee8506072dd467ae7d3edcec8a

Contents?: true

Size: 669 Bytes

Versions: 12

Compression:

Stored size: 669 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(VALUE self, VALUE 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

12 entries across 12 versions & 1 rubygems

Version Path
atk-1.0.3-x86-mingw32 ext/atk/rbatknoopobject.c
atk-1.0.3 ext/atk/rbatknoopobject.c
atk-1.0.2-x86-mingw32 ext/atk/rbatknoopobject.c
atk-1.0.2 ext/atk/rbatknoopobject.c
atk-1.0.1 ext/atk/rbatknoopobject.c
atk-1.0.1-x86-mingw32 ext/atk/rbatknoopobject.c
atk-1.0.0-x86-mingw32 ext/atk/rbatknoopobject.c
atk-1.0.0 ext/atk/rbatknoopobject.c
atk-0.90.9 ext/atk/rbatknoopobject.c
atk-0.90.9-x86-mingw32 ext/atk/rbatknoopobject.c
atk-0.90.8-x86-mingw32 ext/atk/rbatknoopobject.c
atk-0.90.8 ext/atk/rbatknoopobject.c