projects
/
ruby-ecore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added Ecore::FdHandler. Moved DEF_CONST.
[ruby-ecore.git]
/
src
/
ecore
/
rb_ecore.h
diff --git
a/src/ecore/rb_ecore.h
b/src/ecore/rb_ecore.h
index 5afbc03c9a9f42434aded7dadb31783a67d60544..95cbde4c7bab2bea284f9901cefa056470a0b355 100644
(file)
--- a/
src/ecore/rb_ecore.h
+++ b/
src/ecore/rb_ecore.h
@@
-1,5
+1,5
@@
/*
/*
- * $Id: rb_ecore.h
77 2004-08-19 17:39:29
Z tilman $
+ * $Id: rb_ecore.h
109 2004-09-01 20:33:15
Z tilman $
*
* Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
*
* Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
@@
-54,6
+54,10
@@
\
return rb_str_new2 (buf);
\
return rb_str_new2 (buf);
+#define DEF_CONST(mod, prefix, name) \
+ rb_define_const ((mod), #name, \
+ INT2FIX (prefix##name));
+
#ifndef __RB_ECORE_C
VALUE mEcore;
#endif
#ifndef __RB_ECORE_C
VALUE mEcore;
#endif