/*
- * $Id: rb_ecore.c 146 2004-11-27 15:38:52Z tilman $
+ * $Id: rb_ecore.c 147 2004-11-27 15:42:34Z tilman $
*
* Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
return Qnil;
}
+static VALUE m_time_get (VALUE self)
+{
+ return rb_float_new (ecore_time_get ());
+}
+
static VALUE c_ev_exe_exit_init (VALUE self, VALUE event)
{
VALUE c = CLASS_OF (self);
m_main_loop_iterate, 0);
rb_define_module_function (mEcore, "main_loop_quit",
m_main_loop_quit, 0);
+ rb_define_module_function (mEcore, "time", m_time_get, 0);
Init_Timer ();
Init_Animator ();