projects
/
ruby-ecore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added the Ecore::X::Cursor class.
[ruby-ecore.git]
/
src
/
ecore_x
/
rb_ecore_x.h
diff --git
a/src/ecore_x/rb_ecore_x.h
b/src/ecore_x/rb_ecore_x.h
index 4179c02621b03026821d990c500fec2186273483..a18a12d8128b442b947a7ea2a7a7731573aa1ed0 100644
(file)
--- a/
src/ecore_x/rb_ecore_x.h
+++ b/
src/ecore_x/rb_ecore_x.h
@@
-1,5
+1,5
@@
/*
/*
- * $Id: rb_ecore_x.h
77 2004-08-19 17:39:29
Z tilman $
+ * $Id: rb_ecore_x.h
98 2004-08-26 13:12:55
Z tilman $
*
* Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
*
* Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
@@
-21,6
+21,10
@@
#ifndef __RB_ECORE_X_H
#define __RB_ECORE_X_H
#ifndef __RB_ECORE_X_H
#define __RB_ECORE_X_H
+#define DEF_CONST(mod, prefix, name) \
+ rb_define_const ((mod), #name, \
+ INT2FIX (prefix##name));
+
VALUE mX;
#endif
VALUE mX;
#endif