diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-25 02:54:48 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-25 02:54:48 +0000 |
commit | ce9d84a9f05c2bc891826aa87cc38faac1a1c5b8 (patch) | |
tree | f144a192f11ae3d39713ff37fcd77e5b9e17a9b3 | |
parent | eab122534dbff7f79f9b01a5e36aeb730ee24acf (diff) | |
download | ruby-ce9d84a9f05c2bc891826aa87cc38faac1a1c5b8.tar.gz |
* ext/curses/curses.c: Remove color constants block.
[Ruby 1.9 - Bug #4748]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/curses/curses.c | 37 |
2 files changed, 16 insertions, 26 deletions
@@ -1,3 +1,8 @@ +Wed May 25 11:54:31 2011 Eric Hodel <drbrain@segment7.net> + + * ext/curses/curses.c: Remove color constants block. + [Ruby 1.9 - Bug #4748] + Wed May 25 09:56:45 2011 Eric Hodel <drbrain@segment7.net> * ext/curses/curses.c: Add missing documentation for button state, MIN diff --git a/ext/curses/curses.c b/ext/curses/curses.c index b8e3bfa760..a479bf9cf2 100644 --- a/ext/curses/curses.c +++ b/ext/curses/curses.c @@ -2463,23 +2463,8 @@ window_timeout(VALUE obj, VALUE delay) * * === Modules * - * * Curses - basis for the curses implementation - * * Curses::Key - the collection of constants - * - * === Constants - * - * For whatever reason, these are not picked up in the RDoc - * These are Integer of the colors. - * - * * COLOR_BLACK = 0 - * * COLOR_RED = 1 - * * COLOR_GREEN = 2 - * * COLOR_YELLOW = 3 - * * COLOR_BLUE = 4 - * * COLOR_MAGENTA = 5 - * * COLOR_CYAN = 6 - * * COLOR_WHITE = 7 - * + * Curses:: The curses implementation + * Curses::Key:: Collection of constants for keypress events * * == Examples * @@ -2740,56 +2725,56 @@ Init_curses(void) /* * Document-const: Curses::COLORS * - * Integer of the colors available + * Number of the colors available */ rb_curses_define_const(COLORS); #endif /* * Document-const: Curses::COLOR_BLACK * - * Integer of the color black + * Value of the color black */ rb_curses_define_const(COLOR_BLACK); /* * Document-const: COLOR_RED * - * Integer of the color red + * Value of the color red */ rb_curses_define_const(COLOR_RED); /* * Document-const: COLOR_GREEN * - * Integer of the color green + * Value of the color green */ rb_curses_define_const(COLOR_GREEN); /* * Document-const: COLOR_YELLOW * - * Integer of the color yellow + * Value of the color yellow */ rb_curses_define_const(COLOR_YELLOW); /* * Document-const: COLOR_BLUE * - * Integer of the color blue + * Value of the color blue */ rb_curses_define_const(COLOR_BLUE); /* * Document-const: COLOR_MAGENTA * - * Integer of the color magenta + * Value of the color magenta */ rb_curses_define_const(COLOR_MAGENTA); /* * Document-const: COLOR_CYAN * - * Integer of the color cyan + * Value of the color cyan */ rb_curses_define_const(COLOR_CYAN); /* * Document-const: COLOR_WHITE * - * Integer of the color white + * Value of the color white */ rb_curses_define_const(COLOR_WHITE); #endif /* USE_COLOR */ |