Added the Ecore::X::Cursor class.
[ruby-ecore.git] / src / ecore_x / rb_ecore_x.h
index 4179c02621b03026821d990c500fec2186273483..a18a12d8128b442b947a7ea2a7a7731573aa1ed0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rb_ecore_x.h 77 2004-08-19 17:39:29Z tilman $
+ * $Id: rb_ecore_x.h 98 2004-08-26 13:12:55Z tilman $
  *
  * Copyright (C) 2004 ruby-ecore team (see AUTHORS)
  *
 #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