X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fecore_x%2Frb_ecore_x.h;h=a18a12d8128b442b947a7ea2a7a7731573aa1ed0;hb=8f4a0888eab83e8924bc33193c8a0f73252e6202;hp=7c02194c7cb4627eba4fabb03961ac50132cdac2;hpb=810fc05e89fcbdc679cb866b178d6036d1e67235;p=ruby-ecore.git diff --git a/src/ecore_x/rb_ecore_x.h b/src/ecore_x/rb_ecore_x.h index 7c02194..a18a12d 100644 --- a/src/ecore_x/rb_ecore_x.h +++ b/src/ecore_x/rb_ecore_x.h @@ -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 @@ -21,6 +21,10 @@ #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