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 0c46a434f8f33f247b4391a58e9cd2e9a26490fc..5f3565b0b34d6d20d9fe35f5432f52ff87f55622 100644
(file)
--- a/
src/ecore/rb_ecore.h
+++ b/
src/ecore/rb_ecore.h
@@
-1,7
+1,5
@@
/*
/*
- * $Id: rb_ecore.h 50 2004-08-01 10:18:39Z tilman $
- *
- * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
+ * Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@
-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