We now use real structs to wrap objects.
[ruby-evas.git] / src / rb_evas.h
index eef52779e213118186df57fbe5e21d6898edfc92..9bb8e39c3ee2ec1a81e0a1c6b6c51a0c5386cbe1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id$
+ * $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
 
-VALUE cEvas;
+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