/*
- * $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
\
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