We now use real structs to wrap objects.
[ruby-evas.git] / src / rb_evas.h
index 6f5359a766abcbb2080f1b32f0ab9177ea97a337..9bb8e39c3ee2ec1a81e0a1c6b6c51a0c5386cbe1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rb_evas.h 43 2004-07-26 10:49:51Z tilman $
+ * $Id: rb_evas.h 49 2004-08-01 10:17:39Z tilman $
  *
  * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
  *
 #ifndef __RB_EVAS_H
 #define __RB_EVAS_H
 
-#ifndef __RB_EVAS_C
-extern VALUE cEvas;
-#endif
+typedef struct {
+       Evas *real;
+       VALUE parent;
+} RbEvas;
 
 void Init_Evas (void);
 VALUE TO_EVAS (VALUE parent, Evas *e);
 
+#ifndef __RB_EVAS_C
+extern VALUE cEvas;
+#endif
+
 #endif