Added Ecore::Evas::Buffer.
[ruby-ecore.git] / src / ecore_evas / rb_ecore_evas_main.c
index 8ef7c2cd7e9c69ef78441b2ff35ed8482c696cdd..da98b48066b2acfb31b9eacd3234cb1841e6ca6b 100644 (file)
@@ -1,7 +1,7 @@
 /*
- * $Id: rb_ecore_evas_main.c 27 2004-07-08 18:25:05Z tilman $
+ * $Id: rb_ecore_evas_main.c 174 2005-01-19 21:31:04Z tilman $
  *
- * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
+ * Copyright (C) 2004-2005 ruby-ecore team (see AUTHORS)
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
 #include "rb_software_x11.h"
 #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
+#include "rb_buffer.h"
 
 void Init_ecore_evas (void)
 {
@@ -48,14 +37,9 @@ 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 ();
        Init_Fb ();
+       Init_Buffer ();
 }
-