Made on_ecore_event static.
authorTilman Sauerbeck <tilman@code-monkey.de>
Sat, 7 May 2005 20:22:56 +0000 (20:22 +0000)
committerTilman Sauerbeck <tilman@code-monkey.de>
Sat, 7 May 2005 20:22:56 +0000 (20:22 +0000)
src/ecore/rb_event_handler.c
src/ecore/rb_event_handler.h

index 1edc71d4fdd3da45712a751659fd817cfc4959c3..9a72a0da801cd1badf28eaa604abb70d124f5414 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rb_event_handler.c 107 2004-08-29 18:37:58Z tilman $
+ * $Id: rb_event_handler.c 343 2005-05-07 20:22:56Z tilman $
  *
  * Copyright (C) 2004 ruby-ecore team (see AUTHORS)
  *
@@ -27,6 +27,8 @@
 #include "rb_ecore.h"
 #include "rb_event_handler.h"
 
+static int on_ecore_event (void *data, int type, void *event);
+
 VALUE event_classes, cEcoreEvent;
 static VALUE handlers;
 
@@ -68,7 +70,7 @@ static VALUE c_delete (VALUE self)
        return Qnil;
 }
 
-int on_ecore_event (void *data, int type, void *event)
+static int on_ecore_event (void *data, int type, void *event)
 {
        VALUE handler, klass, obj, argv[1], res;
        int handler_type, len, i;
index 80aa232427348a875d71102b976a35bc483937b5..1c4015352aaa6b8bf9b5346d101fd37f0ac7d765 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rb_event_handler.h 107 2004-08-29 18:37:58Z tilman $
+ * $Id: rb_event_handler.h 343 2005-05-07 20:22:56Z tilman $
  *
  * Copyright (C) 2004 ruby-ecore team (see AUTHORS)
  *
@@ -33,7 +33,6 @@
 
 void Init_EventHandler (void);
 
-int on_ecore_event (void *data, int type, void *event);
 VALUE c_ev_generic_init (VALUE self, VALUE event);
 
 #ifndef __RB_EVENT_HANDLER_C