projects
/
ruby-ecore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed the build with the latest Ecore snapshot.
[ruby-ecore.git]
/
src
/
ecore
/
rb_ecore.c
diff --git
a/src/ecore/rb_ecore.c
b/src/ecore/rb_ecore.c
index 91d8a853db9c673a20bd1f6e8f1fbe897f06fd20..0d18a9a3a3ea502e40d00de17d665a8b7a1d0d3c 100644
(file)
--- a/
src/ecore/rb_ecore.c
+++ b/
src/ecore/rb_ecore.c
@@
-1,6
+1,4
@@
/*
/*
- * $Id: rb_ecore.c 342 2005-05-07 12:26:37Z tilman $
- *
* Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
* This library is free software; you can redistribute it and/or
* Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
* This library is free software; you can redistribute it and/or
@@
-77,6
+75,7
@@
static VALUE m_time_get (VALUE self)
return rb_float_new (ecore_time_get ());
}
return rb_float_new (ecore_time_get ());
}
+#if 0
static VALUE c_ev_exe_exit_init (VALUE self, VALUE event)
{
VALUE c = CLASS_OF (self);
static VALUE c_ev_exe_exit_init (VALUE self, VALUE event)
{
VALUE c = CLASS_OF (self);
@@
-96,6
+95,7
@@
static VALUE c_ev_exe_exit_init (VALUE self, VALUE event)
return self;
}
return self;
}
+#endif
static VALUE c_ev_sig_user_init (VALUE self, VALUE event)
{
static VALUE c_ev_sig_user_init (VALUE self, VALUE event)
{
@@
-166,32
+166,32
@@
void Init_ecore (void)
Init_FdHandler ();
/* SIGNAL_HUP */
Init_FdHandler ();
/* SIGNAL_HUP */
- ADD_EVENT (mEcore, ECORE_EVENT_, SIGNAL_HUP,
- "SignalHup", c);
- rb_define_private_method (c, "initialize", c_ev_generic_init, 1);
+ ADD_EVENT (mEcore, ECORE_EVENT_SIGNAL_HUP,
+ "SignalHupEvent", c);
/* SIGNAL_POWER */
/* SIGNAL_POWER */
- ADD_EVENT (mEcore, ECORE_EVENT_, SIGNAL_POWER,
- "SignalPower", c);
- rb_define_private_method (c, "initialize", c_ev_generic_init, 1);
+ ADD_EVENT (mEcore, ECORE_EVENT_SIGNAL_POWER,
+ "SignalPowerEvent", c);
+#if 0
/* EXE_EXIT */
/* EXE_EXIT */
- ADD_EVENT (mEcore, ECORE_EVENT_
, EXE_EXIT, "ExeExi
t", c);
+ ADD_EVENT (mEcore, ECORE_EVENT_
EXE_EXIT, "ExeExitEven
t", c);
rb_define_private_method (c, "initialize", c_ev_exe_exit_init, 1);
rb_define_private_method (c, "initialize", c_ev_exe_exit_init, 1);
+#endif
/* SIGNAL_USER */
/* SIGNAL_USER */
- ADD_EVENT (mEcore, ECORE_EVENT_
,
SIGNAL_USER,
- "SignalUser", c);
+ ADD_EVENT (mEcore, ECORE_EVENT_SIGNAL_USER,
+ "SignalUser
Event
", c);
rb_define_private_method (c, "initialize", c_ev_sig_user_init, 1);
/* SIGNAL_EXIT */
rb_define_private_method (c, "initialize", c_ev_sig_user_init, 1);
/* SIGNAL_EXIT */
- ADD_EVENT (mEcore, ECORE_EVENT_
,
SIGNAL_EXIT,
- "SignalExit", c);
+ ADD_EVENT (mEcore, ECORE_EVENT_SIGNAL_EXIT,
+ "SignalExit
Event
", c);
rb_define_private_method (c, "initialize", c_ev_sig_exit_init, 1);
/* SIGNAL_REALTIME */
rb_define_private_method (c, "initialize", c_ev_sig_exit_init, 1);
/* SIGNAL_REALTIME */
- ADD_EVENT (mEcore, ECORE_EVENT_
,
SIGNAL_REALTIME,
- "SignalRealtime", c);
+ ADD_EVENT (mEcore, ECORE_EVENT_SIGNAL_REALTIME,
+ "SignalRealtime
Event
", c);
rb_define_private_method (c, "initialize", c_ev_sig_rt_init, 1);
}
rb_define_private_method (c, "initialize", c_ev_sig_rt_init, 1);
}