X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Frb_evas_object.h;h=fb08ed0cf4aac9cf6fa667874542b0a38111d211;hb=ff457c57c3ac469622c2fcd6bf9e66a55c1df678;hp=fee1a15f60e0381262e5cd65792723e7f1cc82b0;hpb=08a63f63dbe7a5ffa9f04526c68b5d298c2e5f41;p=ruby-evas.git diff --git a/src/rb_evas_object.h b/src/rb_evas_object.h index fee1a15..fb08ed0 100644 --- a/src/rb_evas_object.h +++ b/src/rb_evas_object.h @@ -1,5 +1,5 @@ /* - * $Id: rb_evas_object.h 42 2004-07-25 16:08:00Z tilman $ + * $Id: rb_evas_object.h 354 2006-02-10 18:14:08Z tilman $ * * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de) * @@ -21,13 +21,23 @@ #ifndef __RB_EVAS_OBJECT_H #define __RB_EVAS_OBJECT_H +#include + #define RUBY_EVAS_OBJECT_KEY "__RB_EVAS_OBJECT_OBJECT" -VALUE cEvasObject; +typedef struct { + Evas_Object *real; + VALUE parent; + VALUE callbacks; + VALUE userdata; +} RbEvasObject; void Init_EvasObject (void); -void c_evas_object_free (Evas_Object **e); -void c_evas_object_mark (Evas_Object **e); +VALUE TO_EVAS_OBJECT (Evas_Object *o); + +#ifndef __RB_EVAS_OBJECT_C +extern VALUE cEvasObject; +#endif #endif