X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Frb_evas.h;h=defaa7097b7e86472d75f472fc1cd14ba9f9f322;hb=bacd52d1a8b4136d8dfc98a610aedda1f3cd126e;hp=aae1cd65c4a87a8764668ec0fd07dd4fe652cf8a;hpb=2118372cfbb06b10e6254539b30887e0342650fd;p=ruby-evas.git diff --git a/src/rb_evas.h b/src/rb_evas.h index aae1cd6..defaa70 100644 --- a/src/rb_evas.h +++ b/src/rb_evas.h @@ -1,6 +1,4 @@ /* - * $Id: rb_evas.h 20 2004-06-22 20:46:56Z tilman $ - * * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de) * * This library is free software; you can redistribute it and/or @@ -21,11 +19,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