projects
/
ruby-evas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
evas_shutdown() isn't exported anymore.
[ruby-evas.git]
/
src
/
rb_evas_main.c
diff --git
a/src/rb_evas_main.c
b/src/rb_evas_main.c
index 719320d4b9df14015628b3579a2e9cf9b789d3e4..288408a1340714717f91b3e7617d0acc5af1d2dc 100644
(file)
--- a/
src/rb_evas_main.c
+++ b/
src/rb_evas_main.c
@@
-1,5
+1,5
@@
/*
/*
- * $Id: rb_evas_main.c 2
0 2004-06-22 20:46:56
Z tilman $
+ * $Id: rb_evas_main.c 2
9 2004-07-08 18:47:44
Z tilman $
*
* Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
*
*
* Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
*
@@
-25,20
+25,40
@@
#include "rb_evas_main.h"
#include "rb_evas.h"
#include "rb_evas_object.h"
#include "rb_evas_main.h"
#include "rb_evas.h"
#include "rb_evas_object.h"
+#include "rb_rectangle.h"
+#include "rb_line.h"
+#include "rb_gradient.h"
+#include "rb_polygon.h"
+#include "rb_image.h"
+#include "rb_text.h"
-static VALUE m_shutdown (VALUE self)
+#ifdef DEBUG
+static VALUE m_init (VALUE self)
{
{
- evas_shutdown ();
+ return INT2FIX (evas_init ());
+}
- return Qnil;
+static VALUE m_shutdown (VALUE self)
+{
+ return INT2FIX (evas_shutdown ());
}
}
+#endif
void Init_evas (void)
{
mEvas = rb_define_module ("Evas");
void Init_evas (void)
{
mEvas = rb_define_module ("Evas");
+#ifdef DEBUG
+ rb_define_module_function (mEvas, "init", m_init, 0);
rb_define_module_function (mEvas, "shutdown", m_shutdown, 0);
rb_define_module_function (mEvas, "shutdown", m_shutdown, 0);
+#endif
Init_Evas ();
Init_EvasObject ();
Init_Evas ();
Init_EvasObject ();
+ Init_Rectangle ();
+ Init_Line ();
+ Init_Gradient ();
+ Init_Polygon ();
+ Init_Image ();
+ Init_Text ();
}
}