/*
- * $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 ();
{
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",
/*
- * $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");
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 ();
/*
- * $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 ();
}