Removed RCS-style IDs.
[ruby-ecore.git] / src / ecore_evas / rb_ecore_evas.h
index 88c788fa81d3af0e7937967f245c95ec5f47e23f..573b4a5c6b8545cb98fa68a8140ff25ee432d311 100644 (file)
@@ -1,7 +1,5 @@
 /*
- * $Id$
- *
- * 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
 
-VALUE cEcoreEvas;
+#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