projects
/
ruby-evas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use a configure task and an extension task to build ruby-evas.
[ruby-evas.git]
/
src
/
rb_evas_object.h
diff --git
a/src/rb_evas_object.h
b/src/rb_evas_object.h
index 02188816777047b6c65eb3f6a86c69093a8829b0..91cbf354946739f58ec112b0280f20c587f936f0 100644
(file)
--- a/
src/rb_evas_object.h
+++ b/
src/rb_evas_object.h
@@
-1,6
+1,4
@@
/*
/*
- * $Id: rb_evas_object.h 2 2004-06-19 18:55:39Z tilman $
- *
* Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
*
* This library is free software; you can redistribute it and/or
* 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
#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;
+ VALUE callbacks;
+ VALUE userdata;
+} 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);
+VALUE TO_EVAS_OBJECT (Evas_Object *o);
+
+#ifndef __RB_EVAS_OBJECT_C
+extern VALUE cEvasObject;
+#endif
#endif
#endif