projects
/
ruby-evas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduced TO_EVAS_OBJECT.
[ruby-evas.git]
/
src
/
rb_evas_object.h
diff --git
a/src/rb_evas_object.h
b/src/rb_evas_object.h
index 9f0c73e5da4e73ca38a0ca409f9c8ac69d2c9cac..91a90c5a18052d39b9b8257022d17b68c5ef3640 100644
(file)
--- a/
src/rb_evas_object.h
+++ b/
src/rb_evas_object.h
@@
-1,5
+1,5
@@
/*
/*
- * $Id$
+ * $Id
: rb_evas_object.h 68 2004-08-16 15:42:19Z tilman
$
*
* Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
*
*
* Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
*
@@
-21,11
+21,24
@@
#ifndef __RB_EVAS_OBJECT_H
#define __RB_EVAS_OBJECT_H
#ifndef __RB_EVAS_OBJECT_H
#define __RB_EVAS_OBJECT_H
-VALUE cEvasObject;
+#include <stdbool.h>
+
+#define RUBY_EVAS_OBJECT_KEY "__RB_EVAS_OBJECT_OBJECT"
+
+typedef struct {
+ Evas_Object *real;
+ VALUE parent;
+} RbEvasObject;
void Init_EvasObject (void);
void Init_EvasObject (void);
-void c_evas_object_free (Evas_Object **e);
-void c_evas_object_mark (Evas_Object **e);
+void c_evas_object_free (RbEvasObject *e, bool free_mem);
+void c_evas_object_mark (RbEvasObject *e);
+
+VALUE TO_EVAS_OBJECT (Evas_Object *o);
+
+#ifndef __RB_EVAS_OBJECT_C
+extern VALUE cEvasObject;
+#endif
#endif
#endif