From: Tilman Sauerbeck Date: Mon, 26 Jul 2004 11:14:50 +0000 (+0000) Subject: Oops, forgot to do the same to cEvasObject. X-Git-Url: http://git.code-monkey.de/?p=ruby-evas.git;a=commitdiff_plain;h=6875d95e45841dbac62479cc583d13a7d1fd3803 Oops, forgot to do the same to cEvasObject. --- diff --git a/src/rb_evas_object.c b/src/rb_evas_object.c index 52a31f5..7fe3298 100644 --- a/src/rb_evas_object.c +++ b/src/rb_evas_object.c @@ -1,5 +1,5 @@ /* - * $Id: rb_evas_object.c 38 2004-07-25 11:27:25Z tilman $ + * $Id: rb_evas_object.c 46 2004-07-26 11:14:50Z tilman $ * * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de) * @@ -22,10 +22,12 @@ #include +#define __RB_EVAS_OBJECT_C #include "rb_evas_main.h" #include "rb_evas.h" #include "rb_evas_object.h" +VALUE cEvasObject; static VALUE parents; /* called by the child classes */ diff --git a/src/rb_evas_object.h b/src/rb_evas_object.h index fee1a15..99190ea 100644 --- a/src/rb_evas_object.h +++ b/src/rb_evas_object.h @@ -1,5 +1,5 @@ /* - * $Id: rb_evas_object.h 42 2004-07-25 16:08:00Z tilman $ + * $Id: rb_evas_object.h 46 2004-07-26 11:14:50Z tilman $ * * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de) * @@ -23,7 +23,9 @@ #define RUBY_EVAS_OBJECT_KEY "__RB_EVAS_OBJECT_OBJECT" -VALUE cEvasObject; +#ifndef __RB_EVAS_OBJECT_C +extern VALUE cEvasObject; +#endif void Init_EvasObject (void);