X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fecore_evas%2Frb_ecore_evas.h;h=8e5849ac789e74c00bbe7ccade5b4cc5fdc8db3b;hb=0ad70bf579b712a8bf770e2775cffa4a50097557;hp=88c788fa81d3af0e7937967f245c95ec5f47e23f;hpb=627a83d5b49b1abd92bd73a10a56042a6d202dfa;p=ruby-ecore.git diff --git a/src/ecore_evas/rb_ecore_evas.h b/src/ecore_evas/rb_ecore_evas.h index 88c788f..8e5849a 100644 --- a/src/ecore_evas/rb_ecore_evas.h +++ b/src/ecore_evas/rb_ecore_evas.h @@ -1,7 +1,7 @@ /* - * $Id$ + * $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 @@ -21,10 +21,21 @@ #ifndef __RB_ECORE_EVAS_H #define __RB_ECORE_EVAS_H -VALUE cEcoreEvas; +#include + +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