X-Git-Url: http://git.code-monkey.de/?p=ruby-ecore.git;a=blobdiff_plain;f=src%2Fecore%2Frb_ecore.h;h=5f3565b0b34d6d20d9fe35f5432f52ff87f55622;hp=0c46a434f8f33f247b4391a58e9cd2e9a26490fc;hb=0f8d24c745efc1057f8d25ada1375c88a1ab2ed7;hpb=f805cf241a9d1fb9765892f0af48ede8359e9b65 diff --git a/src/ecore/rb_ecore.h b/src/ecore/rb_ecore.h index 0c46a43..5f3565b 100644 --- a/src/ecore/rb_ecore.h +++ b/src/ecore/rb_ecore.h @@ -1,7 +1,5 @@ /* - * $Id: rb_ecore.h 50 2004-08-01 10:18:39Z 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 +52,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