Added Ecore::Evas::EcoreEvas#has_alpha? and #has_alpha=.
[ruby-ecore.git] / src / ecore / rb_ecore.h
index 0c46a434f8f33f247b4391a58e9cd2e9a26490fc..95cbde4c7bab2bea284f9901cefa056470a0b355 100644 (file)
@@ -1,7 +1,7 @@
 /*
- * $Id: rb_ecore.h 50 2004-08-01 10:18:39Z tilman $
+ * $Id: rb_ecore.h 109 2004-09-01 20:33:15Z 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
 \
        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