X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Frb_evas_main.c;h=958e87719b00b8d5d0959b7a372a1402a971aac7;hb=fd0de4e1c0f50ac6a3c502d9004f5796cfdfb302;hp=288408a1340714717f91b3e7617d0acc5af1d2dc;hpb=57c054bb97ec81f443c45cae635bb4c7036091c2;p=ruby-evas.git diff --git a/src/rb_evas_main.c b/src/rb_evas_main.c index 288408a..958e877 100644 --- a/src/rb_evas_main.c +++ b/src/rb_evas_main.c @@ -1,5 +1,5 @@ /* - * $Id: rb_evas_main.c 29 2004-07-08 18:47:44Z tilman $ + * $Id: rb_evas_main.c 61 2004-08-12 10:04:07Z tilman $ * * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de) * @@ -31,28 +31,12 @@ #include "rb_polygon.h" #include "rb_image.h" #include "rb_text.h" - -#ifdef DEBUG -static VALUE m_init (VALUE self) -{ - return INT2FIX (evas_init ()); -} - -static VALUE m_shutdown (VALUE self) -{ - return INT2FIX (evas_shutdown ()); -} -#endif +#include "rb_smart.h" 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); -#endif - Init_Evas (); Init_EvasObject (); Init_Rectangle (); @@ -61,4 +45,5 @@ void Init_evas (void) Init_Polygon (); Init_Image (); Init_Text (); + Init_Smart (); }