X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Frb_evas.h;h=9bb8e39c3ee2ec1a81e0a1c6b6c51a0c5386cbe1;hb=8efd0235a6bb26710fd89dd07a5fdb55cafde247;hp=aae1cd65c4a87a8764668ec0fd07dd4fe652cf8a;hpb=2118372cfbb06b10e6254539b30887e0342650fd;p=ruby-evas.git diff --git a/src/rb_evas.h b/src/rb_evas.h index aae1cd6..9bb8e39 100644 --- a/src/rb_evas.h +++ b/src/rb_evas.h @@ -1,5 +1,5 @@ /* - * $Id: rb_evas.h 20 2004-06-22 20:46:56Z tilman $ + * $Id: rb_evas.h 49 2004-08-01 10:17:39Z tilman $ * * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de) * @@ -21,11 +21,16 @@ #ifndef __RB_EVAS_H #define __RB_EVAS_H -#define RUBY_EVAS_OBJECT_KEY "__RB_EVAS_OBJECT_OBJECT" - -VALUE cEvas; +typedef struct { + Evas *real; + VALUE parent; +} RbEvas; void Init_Evas (void); VALUE TO_EVAS (VALUE parent, Evas *e); +#ifndef __RB_EVAS_C +extern VALUE cEvas; +#endif + #endif