Declare class variables the right way.
[ruby-evas.git] / src / rb_evas.c
index 029504a3bbe943281a6ab4e1537fc420fe7a5c26..1f72188acc7dbfa7672034e03e7cd4b36741f8eb 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rb_evas.c 38 2004-07-25 11:27:25Z tilman $
+ * $Id: rb_evas.c 43 2004-07-26 10:49:51Z tilman $
  *
  * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
  *
 
 #include <Evas.h>
 
+#define __RB_EVAS_C
 #include "rb_evas_main.h"
 #include "rb_evas.h"
 #include "rb_evas_object.h"
 
+VALUE cEvas;
 static VALUE parents;
 
 static void c_mark (Evas **e)