X-Git-Url: http://git.code-monkey.de/?p=ruby-evas.git;a=blobdiff_plain;f=src%2Frb_evas_object.h;h=91cbf354946739f58ec112b0280f20c587f936f0;hp=9f0c73e5da4e73ca38a0ca409f9c8ac69d2c9cac;hb=c3202d026f3800676461ee407f2a5e46dc20e2f2;hpb=57899c370e21841e01a3cecd3ad976dca250cf07 diff --git a/src/rb_evas_object.h b/src/rb_evas_object.h index 9f0c73e..91cbf35 100644 --- a/src/rb_evas_object.h +++ b/src/rb_evas_object.h @@ -1,6 +1,4 @@ /* - * $Id$ - * * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de) * * This library is free software; you can redistribute it and/or @@ -21,11 +19,23 @@ #ifndef __RB_EVAS_OBJECT_H #define __RB_EVAS_OBJECT_H -VALUE cEvasObject; +#include + +#define RUBY_EVAS_OBJECT_KEY "__RB_EVAS_OBJECT_OBJECT" + +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