1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/-test-/win32/console/init.c
nobu 43b00d8a11 win32.c: manage reverse video
* win32/win32.c (constat_attr): manage reverse video internally
  since Windows console window does not manage it.  based on the
  patch by white leaf in [ruby-dev:48483].  [Bug #10158]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 08:10:34 +00:00

11 lines
225 B
C

#include "ruby.h"
#define init(n) {void Init_##n(VALUE m); Init_##n(m);}
void
Init_console(void)
{
VALUE mBug = rb_define_module("Bug");
VALUE m = rb_define_module_under(mBug, "Win32");
TEST_INIT_FUNCS(init);
}