X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fecore%2Frb_ecore.h;h=95cbde4c7bab2bea284f9901cefa056470a0b355;hb=efd95201fd9c368eef6a4986e7c3bfe260da7e2c;hp=0c46a434f8f33f247b4391a58e9cd2e9a26490fc;hpb=f805cf241a9d1fb9765892f0af48ede8359e9b65;p=ruby-ecore.git diff --git a/src/ecore/rb_ecore.h b/src/ecore/rb_ecore.h index 0c46a43..95cbde4 100644 --- a/src/ecore/rb_ecore.h +++ b/src/ecore/rb_ecore.h @@ -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 @@ -54,6 +54,10 @@ \ 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