Added the Ecore::X::Cursor class.
[ruby-ecore.git] / src / ecore_x / rb_ecore_x.h
index 7c02194c7cb4627eba4fabb03961ac50132cdac2..a18a12d8128b442b947a7ea2a7a7731573aa1ed0 100644 (file)
@@ -1,7 +1,7 @@
 /*
- * $Id: rb_ecore_x.h 39 2004-07-25 13:13:57Z tilman $
+ * $Id: rb_ecore_x.h 98 2004-08-26 13:12:55Z 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
 #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