projects
/
ruby-ecore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed RCS-style IDs.
[ruby-ecore.git]
/
src
/
ecore
/
rb_ecore.h
diff --git
a/src/ecore/rb_ecore.h
b/src/ecore/rb_ecore.h
index 5afbc03c9a9f42434aded7dadb31783a67d60544..5f3565b0b34d6d20d9fe35f5432f52ff87f55622 100644
(file)
--- a/
src/ecore/rb_ecore.h
+++ b/
src/ecore/rb_ecore.h
@@
-1,6
+1,4
@@
/*
/*
- * $Id: rb_ecore.h 77 2004-08-19 17:39:29Z tilman $
- *
* Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
* This library is free software; you can redistribute it and/or
* Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
* This library is free software; you can redistribute it and/or
@@
-54,6
+52,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