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