Removed init/shutdown methods.
authorTilman Sauerbeck <tilman@code-monkey.de>
Sat, 7 Aug 2004 11:22:00 +0000 (11:22 +0000)
committerTilman Sauerbeck <tilman@code-monkey.de>
Sat, 7 Aug 2004 11:22:00 +0000 (11:22 +0000)
src/ecore/rb_ecore.c
src/ecore_evas/rb_ecore_evas_main.c
src/ecore_x/rb_ecore_x.c

index 5a30c628118cb6fe1348fcfe4ebd108bd2fa8c7d..9355e36280a404ca0417a9004b60f28d0bf46be5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rb_ecore.c 45 2004-07-26 11:00:14Z tilman $
+ * $Id: rb_ecore.c 53 2004-08-07 11:22:00Z tilman $
  *
  * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
  *
 
 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
-
 static VALUE m_main_loop_begin (VALUE self)
 {
        ecore_main_loop_begin ();
@@ -66,13 +54,6 @@ void Init_ecore (void)
 {
        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",
index 8ef7c2cd7e9c69ef78441b2ff35ed8482c696cdd..f48a1585fc634f2b39e1ca62cc822d505ae55be1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rb_ecore_evas_main.c 27 2004-07-08 18:25:05Z tilman $
+ * $Id: rb_ecore_evas_main.c 53 2004-08-07 11:22:00Z tilman $
  *
  * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
  *
 #include "rb_gl_x11.h"
 #include "rb_fb.h"
 
-#ifdef DEBUG
-static VALUE m_init (VALUE self)
-{
-       return INT2FIX (ecore_evas_init ());
-}
-
-static VALUE m_shutdown (VALUE self)
-{
-       return INT2FIX (ecore_evas_shutdown ());
-}
-#endif
-
 void Init_ecore_evas (void)
 {
        rb_require ("ecore");
@@ -48,11 +36,6 @@ void Init_ecore_evas (void)
 
        mEvas = rb_define_module_under (mEcore, "Evas");
 
-#ifdef DEBUG
-       rb_define_module_function (mEvas, "init", m_init, 0);
-       rb_define_module_function (mEvas, "shutdown", m_shutdown, 0);
-#endif
-
        Init_EcoreEvas ();
        Init_SoftwareX11 ();
        Init_GlX11 ();
index c23492c703d7b95f2a765e9876cd4de348fb64bc..c90daecaf064c946843b34125b6eb7f5e3a25851 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rb_ecore_x.c 39 2004-07-25 13:13:57Z tilman $
+ * $Id: rb_ecore_x.c 53 2004-08-07 11:22:00Z tilman $
  *
  * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
  *
 #include "rb_ecore_x.h"
 #include "rb_window.h"
 
-#ifdef DEBUG
-static VALUE m_init (VALUE self)
-{
-       return INT2FIX (ecore_x_init ());
-}
-
-static VALUE m_shutdown (VALUE self)
-{
-       return INT2FIX (ecore_x_shutdown ());
-}
-#endif
-
 void Init_ecore_x (void)
 {
        rb_require ("ecore");
 
        mX = rb_define_module_under (mEcore, "X");
 
-#ifdef DEBUG
-       rb_define_module_function (mx, "init", m_init, 0);
-       rb_define_module_function (mx, "shutdown", m_shutdown, 0);
-#endif
-
        Init_Window ();
 }