/*
- * $Id: rb_ecore_evas.h 45 2004-07-26 11:00:14Z tilman $
+ * $Id: rb_ecore_evas.h 77 2004-08-19 17:39:29Z tilman $
*
- * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
+ * Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
#ifndef __RB_ECORE_EVAS_H
#define __RB_ECORE_EVAS_H
-#ifndef __RB_ECORE_EVAS_C
-VALUE cEcoreEvas;
-#endif
+#include <stdbool.h>
+
+typedef struct {
+ Ecore_Evas *real;
+ VALUE evas;
+ VALUE callbacks;
+} RbEcoreEvas;
void Init_EcoreEvas (void);
-void c_ecore_evas_free (Ecore_Evas **ee);
+void c_ecore_evas_mark (RbEcoreEvas *ee);
+void c_ecore_evas_free (RbEcoreEvas *ee, bool free_mem);
+
+#ifndef __RB_ECORE_EVAS_C
+VALUE cEcoreEvas;
+#endif
#endif