/*
- * $Id: rb_evas_object.h 42 2004-07-25 16:08:00Z tilman $
- *
* Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
*
* This library is free software; you can redistribute it and/or
#ifndef __RB_EVAS_OBJECT_H
#define __RB_EVAS_OBJECT_H
+#include <stdbool.h>
+
#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