Declare class variables the right way.
[ruby-evas.git] / src / rb_evas.h
index aae1cd65c4a87a8764668ec0fd07dd4fe652cf8a..6f5359a766abcbb2080f1b32f0ab9177ea97a337 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rb_evas.h 20 2004-06-22 20:46:56Z tilman $
+ * $Id: rb_evas.h 43 2004-07-26 10:49:51Z tilman $
  *
  * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
  *
@@ -21,9 +21,9 @@
 #ifndef __RB_EVAS_H
 #define __RB_EVAS_H
 
-#define RUBY_EVAS_OBJECT_KEY "__RB_EVAS_OBJECT_OBJECT"
-
-VALUE cEvas;
+#ifndef __RB_EVAS_C
+extern VALUE cEvas;
+#endif
 
 void Init_Evas (void);
 VALUE TO_EVAS (VALUE parent, Evas *e);