projects
/
ruby-ecore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Explicitly initialize the deleted flag for the timer, idler and job objects.
[ruby-ecore.git]
/
src
/
ecore
/
rb_ecore.c
diff --git
a/src/ecore/rb_ecore.c
b/src/ecore/rb_ecore.c
index 5a30c628118cb6fe1348fcfe4ebd108bd2fa8c7d..3487662a5f446d1ae8edd6660891db7baab76a16 100644
(file)
--- a/
src/ecore/rb_ecore.c
+++ b/
src/ecore/rb_ecore.c
@@
-1,5
+1,5
@@
/*
/*
- * $Id: rb_ecore.c
45 2004-07-26 11:00:14
Z tilman $
+ * $Id: rb_ecore.c
60 2004-08-10 14:12:36
Z tilman $
*
* Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
*
*
* Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
*
@@
-29,18
+29,12
@@
VALUE mEcore;
VALUE mEcore;
-#ifdef DEBUG
-static VALUE m_init (VALUE self)
-{
- return INT2FIX (ecore_init ());
-}
-
-static VALUE m_shutdown (VALUE self)
-{
- return INT2FIX (ecore_shutdown ());
-}
-#endif
-
+/*
+ * call-seq:
+ * Ecore.main_loop_begin
+ *
+ * Starts the Ecore main loop.
+ */
static VALUE m_main_loop_begin (VALUE self)
{
ecore_main_loop_begin ();
static VALUE m_main_loop_begin (VALUE self)
{
ecore_main_loop_begin ();
@@
-48,6
+42,12
@@
static VALUE m_main_loop_begin (VALUE self)
return Qnil;
}
return Qnil;
}
+/*
+ * call-seq:
+ * Ecore.main_loop_iterate
+ *
+ * Run one iteration of the Ecore main loop.
+ */
static VALUE m_main_loop_iterate (VALUE self)
{
ecore_main_loop_iterate ();
static VALUE m_main_loop_iterate (VALUE self)
{
ecore_main_loop_iterate ();
@@
-55,6
+55,12
@@
static VALUE m_main_loop_iterate (VALUE self)
return Qnil;
}
return Qnil;
}
+/*
+ * call-seq:
+ * Ecore.main_loop_quit
+ *
+ * Stops the Ecore main loop.
+ */
static VALUE m_main_loop_quit (VALUE self)
{
ecore_main_loop_quit ();
static VALUE m_main_loop_quit (VALUE self)
{
ecore_main_loop_quit ();
@@
-66,13
+72,6
@@
void Init_ecore (void)
{
mEcore = rb_define_module ("Ecore");
{
mEcore = rb_define_module ("Ecore");
-#ifdef DEBUG
- rb_define_module_function (mEcore, "init",
- m_init, 0);
- rb_define_module_function (mEcore, "shutdown",
- m_shutdown, 0);
-#endif
-
rb_define_module_function (mEcore, "main_loop_begin",
m_main_loop_begin, 0);
rb_define_module_function (mEcore, "main_loop_iterate",
rb_define_module_function (mEcore, "main_loop_begin",
m_main_loop_begin, 0);
rb_define_module_function (mEcore, "main_loop_iterate",