Oops, forgot to do the same to cEvasObject.
authorTilman Sauerbeck <tilman@code-monkey.de>
Mon, 26 Jul 2004 11:14:50 +0000 (11:14 +0000)
committerTilman Sauerbeck <tilman@code-monkey.de>
Mon, 26 Jul 2004 11:14:50 +0000 (11:14 +0000)
src/rb_evas_object.c
src/rb_evas_object.h

index 52a31f5f1790df934956072fd2c520b6cfa1bac0..7fe3298837ff962c589679dbdf4036ee9ca974ee 100644 (file)
@@ -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)
  *
 
 #include <Evas.h>
 
+#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 */
index fee1a15f60e0381262e5cd65792723e7f1cc82b0..99190eae82f41ab7545d09d237c99f9fe918d75c 100644 (file)
@@ -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);