/*
- * $Id: rb_ecore_evas_main.c 9 2004-06-19 19:53:47Z tilman $
+ * $Id: rb_ecore_evas_main.c 27 2004-07-08 18:25:05Z tilman $
*
* Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
*
#include "rb_ecore_evas_main.h"
#include "rb_ecore_evas.h"
#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 ());
{
return INT2FIX (ecore_evas_shutdown ());
}
+#endif
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_FrameBuffer ();*/
+ Init_Fb ();
}