/*
- * $Id: rb_event_handler.h 365 2006-02-14 21:50:47Z tilman $
- *
* Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
* This library is free software; you can redistribute it and/or
#define __RB_EVENT_HANDLER_H
#define ADD_EVENT(mod, constname, clsname, obj) \
- rb_define_singleton_method (cEcoreEvent, "inherited", \
- c_ev_inherited_noop, 1); \
+ rb_remove_method (rb_singleton_class (cEcoreEvent), "inherited"); \
\
(obj) = rb_define_class_under ((mod), (clsname), cEcoreEvent); \
rb_define_private_method (rb_singleton_class ((obj)), \
void Init_EventHandler (void);
VALUE c_ev_inherited (VALUE klass, VALUE child);
-VALUE c_ev_inherited_noop (VALUE klass, VALUE child);
#ifndef __RB_EVENT_HANDLER_C
extern VALUE event_classes, cEcoreEvent;