/* Generated automatically from ./console.scm.  DO NOT EDIT */
#include <gauche.h>
#include <gauche/code.h>
#include "gauche/extend.h"
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_alloc_console(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(consolesys_alloc_console__STUB, 0, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, consolesys_alloc_console, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_free_console(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(consolesys_free_console__STUB, 0, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, consolesys_free_console, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_generate_console_ctrl_event(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(consolesys_generate_console_ctrl_event__STUB, 2, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, consolesys_generate_console_ctrl_event, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_create_console_screen_buffer(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(consolesys_create_console_screen_buffer__STUB, 3, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, consolesys_create_console_screen_buffer, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_set_console_active_screen_buffer(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_set_console_active_screen_buffer__STUB, 1, 0,SCM_FALSE,consolesys_set_console_active_screen_buffer, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_scroll_console_screen_buffer(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_scroll_console_screen_buffer__STUB, 6, 0,SCM_FALSE,consolesys_scroll_console_screen_buffer, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_get_console_cp(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(consolesys_get_console_cp__STUB, 0, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, consolesys_get_console_cp, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_get_console_output_cp(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(consolesys_get_console_output_cp__STUB, 0, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, consolesys_get_console_output_cp, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_set_console_cp(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(consolesys_set_console_cp__STUB, 1, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, consolesys_set_console_cp, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_set_console_output_cp(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(consolesys_set_console_output_cp__STUB, 1, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, consolesys_set_console_output_cp, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_get_console_cursor_info(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_get_console_cursor_info__STUB, 1, 0,SCM_FALSE,consolesys_get_console_cursor_info, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_set_console_cursor_info(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_set_console_cursor_info__STUB, 3, 0,SCM_FALSE,consolesys_set_console_cursor_info, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_set_console_cursor_position(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_set_console_cursor_position__STUB, 3, 0,SCM_FALSE,consolesys_set_console_cursor_position, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_get_console_mode(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_get_console_mode__STUB, 1, 0,SCM_FALSE,consolesys_get_console_mode, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_set_console_mode(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_set_console_mode__STUB, 2, 0,SCM_FALSE,consolesys_set_console_mode, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#include <gauche/class.h>
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
typedef struct ScmWinConsoleScreenBufferInfoRec {
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_HEADER;
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  CONSOLE_SCREEN_BUFFER_INFO info;
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
} ScmWinConsoleScreenBufferInfo;
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
SCM_CLASS_DECL(Scm_WinConsoleScreenBufferInfoClass);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#define SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO_P(obj) SCM_XTYPEP(obj, &Scm_WinConsoleScreenBufferInfoClass)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#define SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(obj) ((ScmWinConsoleScreenBufferInfo*)obj)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj make_console_screen_buffer_info();
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_get_console_screen_buffer_info(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_get_console_screen_buffer_info__STUB, 1, 0,SCM_FALSE,consolesys_get_console_screen_buffer_info, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_get_largest_console_window_size(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_get_largest_console_window_size__STUB, 1, 0,SCM_FALSE,consolesys_get_largest_console_window_size, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_set_screen_buffer_size(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_set_screen_buffer_size__STUB, 3, 0,SCM_FALSE,consolesys_set_screen_buffer_size, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
typedef struct ScmWinInputRecordRec {
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_HEADER;
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  INPUT_RECORD rec;
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
} ScmWinInputRecord;
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
SCM_CLASS_DECL(Scm_WinInputRecordClass);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#define SCM_WIN_INPUT_RECORD_P(obj) SCM_XTYPEP(obj, &Scm_WinInputRecordClass)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#define SCM_WIN_INPUT_RECORD(obj) ((ScmWinInputRecord*)obj)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj make_input_record();
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_get_number_of_console_input_events(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_get_number_of_console_input_events__STUB, 1, 0,SCM_FALSE,consolesys_get_number_of_console_input_events, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_get_number_of_console_mouse_buttons(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(consolesys_get_number_of_console_mouse_buttons__STUB, 0, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, consolesys_get_number_of_console_mouse_buttons, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_peek_console_input(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_peek_console_input__STUB, 1, 0,SCM_FALSE,consolesys_peek_console_input, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_read_console_input(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_read_console_input__STUB, 1, 0,SCM_FALSE,consolesys_read_console_input, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_read_console(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_read_console__STUB, 2, 0,SCM_FALSE,consolesys_read_console, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_read_console_output(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_read_console_output__STUB, 7, 0,SCM_FALSE,consolesys_read_console_output, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_read_console_output_attribute(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_read_console_output_attribute__STUB, 4, 0,SCM_FALSE,consolesys_read_console_output_attribute, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_read_console_output_character(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_read_console_output_character__STUB, 4, 0,SCM_FALSE,consolesys_read_console_output_character, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_set_console_text_attribute(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_set_console_text_attribute__STUB, 2, 0,SCM_FALSE,consolesys_set_console_text_attribute, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_set_console_window_info(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_set_console_window_info__STUB, 3, 0,SCM_FALSE,consolesys_set_console_window_info, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_write_console(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_write_console__STUB, 2, 0,SCM_FALSE,consolesys_write_console, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_write_console_output_character(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_write_console_output_character__STUB, 4, 0,SCM_FALSE,consolesys_write_console_output_character, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_fill_console_output_character(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_fill_console_output_character__STUB, 5, 0,SCM_FALSE,consolesys_fill_console_output_character, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_fill_console_output_attribute(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_fill_console_output_attribute__STUB, 5, 0,SCM_FALSE,consolesys_fill_console_output_attribute, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_flush_console_input_buffer(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_flush_console_input_buffer__STUB, 1, 0,SCM_FALSE,consolesys_flush_console_input_buffer, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_get_console_title(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(consolesys_get_console_title__STUB, 0, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, consolesys_get_console_title, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_set_console_title(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(consolesys_set_console_title__STUB, 1, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, consolesys_set_console_title, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_get_std_handle(ScmObj*, int, void*);
static SCM_DEFINE_SUBRX(consolesys_get_std_handle__STUB, 1, 0,0, SCM_FALSE,SCM_SUBR_IMMEDIATE_ARG, consolesys_get_std_handle, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj consolesys_set_std_handle(ScmObj*, int, void*);
static SCM_DEFINE_SUBR(consolesys_set_std_handle__STUB, 2, 0,SCM_FALSE,consolesys_set_std_handle, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(__CYGWIN__) || defined(GAUCHE_WINDOWS)
#define SCM_CGEN_CONST /*empty*/
#else
#define SCM_CGEN_CONST const
#endif
static SCM_CGEN_CONST struct scm__scRec {
#if defined(GAUCHE_WINDOWS)
  ScmString d1725[109];
#endif /*defined(GAUCHE_WINDOWS)*/
  ScmString d1718[1];
} scm__sc SCM_UNUSED = {
#if defined(GAUCHE_WINDOWS)
  {   /* ScmString d1725 */
      SCM_STRING_CONST_INITIALIZER("sys-alloc-console", 17, 17),
      SCM_STRING_CONST_INITIALIZER("source-info", 11, 11),
      SCM_STRING_CONST_INITIALIZER("./console.scm", 13, 13),
      SCM_STRING_CONST_INITIALIZER("bind-info", 9, 9),
      SCM_STRING_CONST_INITIALIZER("os.windows", 10, 10),
      SCM_STRING_CONST_INITIALIZER("->", 2, 2),
      SCM_STRING_CONST_INITIALIZER("<void>", 6, 6),
      SCM_STRING_CONST_INITIALIZER("sys-free-console", 16, 16),
      SCM_STRING_CONST_INITIALIZER("CTRL_C_EVENT", 12, 12),
      SCM_STRING_CONST_INITIALIZER("CTRL_BREAK_EVENT", 16, 16),
      SCM_STRING_CONST_INITIALIZER("sys-generate-console-ctrl-event", 31, 31),
      SCM_STRING_CONST_INITIALIZER("event", 5, 5),
      SCM_STRING_CONST_INITIALIZER("pgid", 4, 4),
      SCM_STRING_CONST_INITIALIZER("<int>", 5, 5),
      SCM_STRING_CONST_INITIALIZER("<uint>", 6, 6),
      SCM_STRING_CONST_INITIALIZER("GENERIC_READ", 12, 12),
      SCM_STRING_CONST_INITIALIZER("GENERIC_WRITE", 13, 13),
      SCM_STRING_CONST_INITIALIZER("FILE_SHARE_READ", 15, 15),
      SCM_STRING_CONST_INITIALIZER("FILE_SHARE_WRITE", 16, 16),
      SCM_STRING_CONST_INITIALIZER("sys-create-console-screen-buffer", 32, 32),
      SCM_STRING_CONST_INITIALIZER("console-buffer", 14, 14),
      SCM_STRING_CONST_INITIALIZER("desired-access", 14, 14),
      SCM_STRING_CONST_INITIALIZER("share-mode", 10, 10),
      SCM_STRING_CONST_INITIALIZER("inheritable", 11, 11),
      SCM_STRING_CONST_INITIALIZER("<boolean>", 9, 9),
      SCM_STRING_CONST_INITIALIZER("<top>", 5, 5),
      SCM_STRING_CONST_INITIALIZER("sys-set-console-active-screen-buffer", 36, 36),
      SCM_STRING_CONST_INITIALIZER("h", 1, 1),
      SCM_STRING_CONST_INITIALIZER("sys-scroll-console-screen-buffer", 32, 32),
      SCM_STRING_CONST_INITIALIZER("handle", 6, 6),
      SCM_STRING_CONST_INITIALIZER("scroll-rectangle", 16, 16),
      SCM_STRING_CONST_INITIALIZER("clip-rectangle", 14, 14),
      SCM_STRING_CONST_INITIALIZER("x", 1, 1),
      SCM_STRING_CONST_INITIALIZER("y", 1, 1),
      SCM_STRING_CONST_INITIALIZER("fill", 4, 4),
      SCM_STRING_CONST_INITIALIZER("<s16vector>", 11, 11),
      SCM_STRING_CONST_INITIALIZER("<s16vector>\077", 12, 12),
      SCM_STRING_CONST_INITIALIZER("<short>", 7, 7),
      SCM_STRING_CONST_INITIALIZER("<ulong>", 7, 7),
      SCM_STRING_CONST_INITIALIZER("sys-get-console-cp", 18, 18),
      SCM_STRING_CONST_INITIALIZER("sys-get-console-output-cp", 25, 25),
      SCM_STRING_CONST_INITIALIZER("sys-set-console-cp", 18, 18),
      SCM_STRING_CONST_INITIALIZER("cp", 2, 2),
      SCM_STRING_CONST_INITIALIZER("sys-set-console-output-cp", 25, 25),
      SCM_STRING_CONST_INITIALIZER("sys-get-console-cursor-info", 27, 27),
      SCM_STRING_CONST_INITIALIZER("sys-set-console-cursor-info", 27, 27),
      SCM_STRING_CONST_INITIALIZER("size", 4, 4),
      SCM_STRING_CONST_INITIALIZER("visible", 7, 7),
      SCM_STRING_CONST_INITIALIZER("sys-set-console-cursor-position", 31, 31),
      SCM_STRING_CONST_INITIALIZER("ENABLE_LINE_INPUT", 17, 17),
      SCM_STRING_CONST_INITIALIZER("ENABLE_ECHO_INPUT", 17, 17),
      SCM_STRING_CONST_INITIALIZER("ENABLE_PROCESSED_INPUT", 22, 22),
      SCM_STRING_CONST_INITIALIZER("ENABLE_WINDOW_INPUT", 19, 19),
      SCM_STRING_CONST_INITIALIZER("ENABLE_MOUSE_INPUT", 18, 18),
      SCM_STRING_CONST_INITIALIZER("ENABLE_PROCESSED_OUTPUT", 23, 23),
      SCM_STRING_CONST_INITIALIZER("ENABLE_WRAP_AT_EOL_OUTPUT", 25, 25),
      SCM_STRING_CONST_INITIALIZER("sys-get-console-mode", 20, 20),
      SCM_STRING_CONST_INITIALIZER("sys-set-console-mode", 20, 20),
      SCM_STRING_CONST_INITIALIZER("mode", 4, 4),
      SCM_STRING_CONST_INITIALIZER("FOREGROUND_BLUE", 15, 15),
      SCM_STRING_CONST_INITIALIZER("FOREGROUND_GREEN", 16, 16),
      SCM_STRING_CONST_INITIALIZER("FOREGROUND_RED", 14, 14),
      SCM_STRING_CONST_INITIALIZER("FOREGROUND_INTENSITY", 20, 20),
      SCM_STRING_CONST_INITIALIZER("BACKGROUND_BLUE", 15, 15),
      SCM_STRING_CONST_INITIALIZER("BACKGROUND_GREEN", 16, 16),
      SCM_STRING_CONST_INITIALIZER("BACKGROUND_RED", 14, 14),
      SCM_STRING_CONST_INITIALIZER("BACKGROUND_INTENSITY", 20, 20),
      SCM_STRING_CONST_INITIALIZER("sys-get-console-screen-buffer-info", 34, 34),
      SCM_STRING_CONST_INITIALIZER("sys-get-largest-console-window-size", 35, 35),
      SCM_STRING_CONST_INITIALIZER("sys-set-screen-buffer-size", 26, 26),
      SCM_STRING_CONST_INITIALIZER("sys-get-number-of-console-input-events", 38, 38),
      SCM_STRING_CONST_INITIALIZER("sys-get-number-of-console-mouse-buttons", 39, 39),
      SCM_STRING_CONST_INITIALIZER("sys-peek-console-input", 22, 22),
      SCM_STRING_CONST_INITIALIZER("sys-read-console-input", 22, 22),
      SCM_STRING_CONST_INITIALIZER("sys-read-console", 16, 16),
      SCM_STRING_CONST_INITIALIZER("buf", 3, 3),
      SCM_STRING_CONST_INITIALIZER("<uvector>", 9, 9),
      SCM_STRING_CONST_INITIALIZER("sys-read-console-output", 23, 23),
      SCM_STRING_CONST_INITIALIZER("w", 1, 1),
      SCM_STRING_CONST_INITIALIZER("region", 6, 6),
      SCM_STRING_CONST_INITIALIZER("<u32vector>", 11, 11),
      SCM_STRING_CONST_INITIALIZER("sys-read-console-output-attribute", 33, 33),
      SCM_STRING_CONST_INITIALIZER("<u16vector>", 11, 11),
      SCM_STRING_CONST_INITIALIZER("sys-read-console-output-character", 33, 33),
      SCM_STRING_CONST_INITIALIZER("len", 3, 3),
      SCM_STRING_CONST_INITIALIZER("<const-cstring>", 15, 15),
      SCM_STRING_CONST_INITIALIZER("sys-set-console-text-attribute", 30, 30),
      SCM_STRING_CONST_INITIALIZER("attr", 4, 4),
      SCM_STRING_CONST_INITIALIZER("<ushort>", 8, 8),
      SCM_STRING_CONST_INITIALIZER("sys-set-console-window-info", 27, 27),
      SCM_STRING_CONST_INITIALIZER("absolute", 8, 8),
      SCM_STRING_CONST_INITIALIZER("window", 6, 6),
      SCM_STRING_CONST_INITIALIZER("sys-write-console", 17, 17),
      SCM_STRING_CONST_INITIALIZER("s", 1, 1),
      SCM_STRING_CONST_INITIALIZER("<string>", 8, 8),
      SCM_STRING_CONST_INITIALIZER("sys-write-console-output-character", 34, 34),
      SCM_STRING_CONST_INITIALIZER("sys-fill-console-output-character", 33, 33),
      SCM_STRING_CONST_INITIALIZER("c", 1, 1),
      SCM_STRING_CONST_INITIALIZER("<char>", 6, 6),
      SCM_STRING_CONST_INITIALIZER("sys-fill-console-output-attribute", 33, 33),
      SCM_STRING_CONST_INITIALIZER("sys-flush-console-input-buffer", 30, 30),
      SCM_STRING_CONST_INITIALIZER("sys-get-console-title", 21, 21),
      SCM_STRING_CONST_INITIALIZER("sys-set-console-title", 21, 21),
      SCM_STRING_CONST_INITIALIZER("STD_INPUT_HANDLE", 16, 16),
      SCM_STRING_CONST_INITIALIZER("STD_OUTPUT_HANDLE", 17, 17),
      SCM_STRING_CONST_INITIALIZER("STD_ERROR_HANDLE", 16, 16),
      SCM_STRING_CONST_INITIALIZER("sys-get-std-handle", 18, 18),
      SCM_STRING_CONST_INITIALIZER("which", 5, 5),
      SCM_STRING_CONST_INITIALIZER("sys-set-std-handle", 18, 18),
  },
#endif /*defined(GAUCHE_WINDOWS)*/
  {   /* ScmString d1718 */
      SCM_STRING_CONST_INITIALIZER("os.windows", 10, 10),
  },
};
static struct scm__rcRec {
#if defined(GAUCHE_WINDOWS)
  ScmPair d1737[347] SCM_ALIGN_PAIR;
#endif /*defined(GAUCHE_WINDOWS)*/
#if defined(GAUCHE_WINDOWS)
  ScmObj d1736[382];
#endif /*defined(GAUCHE_WINDOWS)*/
  ScmObj d1717[2];
} scm__rc SCM_UNUSED = {
#if defined(GAUCHE_WINDOWS)
  {   /* ScmPair d1737 */
       { SCM_NIL, SCM_NIL },
       { SCM_MAKE_INT(72U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[1])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[2])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[4])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[5])},
       { SCM_OBJ(&scm__rc.d1737[6]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[3]), SCM_OBJ(&scm__rc.d1737[7])},
       { SCM_MAKE_INT(73U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[9])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[10])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[12])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[13])},
       { SCM_OBJ(&scm__rc.d1737[14]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[11]), SCM_OBJ(&scm__rc.d1737[15])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[17])},
       { SCM_MAKE_INT(78U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[19])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[20])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[22])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[23])},
       { SCM_OBJ(&scm__rc.d1737[24]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[21]), SCM_OBJ(&scm__rc.d1737[25])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[27])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[28])},
       { SCM_MAKE_INT(91U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[30])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[31])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[33])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[34])},
       { SCM_OBJ(&scm__rc.d1737[35]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[32]), SCM_OBJ(&scm__rc.d1737[36])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_MAKE_INT(104U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[39])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[40])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[42])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[43])},
       { SCM_OBJ(&scm__rc.d1737[44]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[41]), SCM_OBJ(&scm__rc.d1737[45])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[47])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[48])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[49])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[50])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[51])},
       { SCM_MAKE_INT(107U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[53])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[54])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[56])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[57])},
       { SCM_OBJ(&scm__rc.d1737[58]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[55]), SCM_OBJ(&scm__rc.d1737[59])},
       { SCM_MAKE_INT(131U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[61])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[62])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[64])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[65])},
       { SCM_OBJ(&scm__rc.d1737[66]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[63]), SCM_OBJ(&scm__rc.d1737[67])},
       { SCM_MAKE_INT(132U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[69])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[70])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[72])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[73])},
       { SCM_OBJ(&scm__rc.d1737[74]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[71]), SCM_OBJ(&scm__rc.d1737[75])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_MAKE_INT(133U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[78])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[79])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[81])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[82])},
       { SCM_OBJ(&scm__rc.d1737[83]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[80]), SCM_OBJ(&scm__rc.d1737[84])},
       { SCM_MAKE_INT(135U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[86])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[87])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[89])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[90])},
       { SCM_OBJ(&scm__rc.d1737[91]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[88]), SCM_OBJ(&scm__rc.d1737[92])},
       { SCM_MAKE_INT(142U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[94])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[95])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[97])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[98])},
       { SCM_OBJ(&scm__rc.d1737[99]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[96]), SCM_OBJ(&scm__rc.d1737[100])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[102])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[103])},
       { SCM_MAKE_INT(146U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[105])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[106])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[108])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[109])},
       { SCM_OBJ(&scm__rc.d1737[110]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[107]), SCM_OBJ(&scm__rc.d1737[111])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[113])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[114])},
       { SCM_MAKE_INT(152U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[116])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[117])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[119])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[120])},
       { SCM_OBJ(&scm__rc.d1737[121]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[118]), SCM_OBJ(&scm__rc.d1737[122])},
       { SCM_MAKE_INT(169U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[124])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[125])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[127])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[128])},
       { SCM_OBJ(&scm__rc.d1737[129]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[126]), SCM_OBJ(&scm__rc.d1737[130])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[132])},
       { SCM_MAKE_INT(174U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[134])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[135])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[137])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[138])},
       { SCM_OBJ(&scm__rc.d1737[139]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[136]), SCM_OBJ(&scm__rc.d1737[140])},
       { SCM_MAKE_INT(227U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[142])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[143])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[145])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[146])},
       { SCM_OBJ(&scm__rc.d1737[147]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[144]), SCM_OBJ(&scm__rc.d1737[148])},
       { SCM_MAKE_INT(234U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[150])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[151])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[153])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[154])},
       { SCM_OBJ(&scm__rc.d1737[155]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[152]), SCM_OBJ(&scm__rc.d1737[156])},
       { SCM_MAKE_INT(238U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[158])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[159])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[161])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[162])},
       { SCM_OBJ(&scm__rc.d1737[163]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[160]), SCM_OBJ(&scm__rc.d1737[164])},
       { SCM_MAKE_INT(304U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[166])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[167])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[169])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[170])},
       { SCM_OBJ(&scm__rc.d1737[171]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[168]), SCM_OBJ(&scm__rc.d1737[172])},
       { SCM_MAKE_INT(309U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[174])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[175])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[177])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[178])},
       { SCM_OBJ(&scm__rc.d1737[179]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[176]), SCM_OBJ(&scm__rc.d1737[180])},
       { SCM_MAKE_INT(324U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[182])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[183])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[185])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[186])},
       { SCM_OBJ(&scm__rc.d1737[187]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[184]), SCM_OBJ(&scm__rc.d1737[188])},
       { SCM_MAKE_INT(326U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[190])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[191])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[193])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[194])},
       { SCM_OBJ(&scm__rc.d1737[195]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[192]), SCM_OBJ(&scm__rc.d1737[196])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[198])},
       { SCM_MAKE_INT(329U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[200])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[201])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[203])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[204])},
       { SCM_OBJ(&scm__rc.d1737[205]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[202]), SCM_OBJ(&scm__rc.d1737[206])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[208])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[209])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[210])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[211])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[212])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[213])},
       { SCM_MAKE_INT(340U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[215])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[216])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[218])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[219])},
       { SCM_OBJ(&scm__rc.d1737[220]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[217]), SCM_OBJ(&scm__rc.d1737[221])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[114])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[223])},
       { SCM_MAKE_INT(362U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[225])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[226])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[228])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[229])},
       { SCM_OBJ(&scm__rc.d1737[230]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[227]), SCM_OBJ(&scm__rc.d1737[231])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[114])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[233])},
       { SCM_MAKE_INT(374U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[235])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[236])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[238])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[239])},
       { SCM_OBJ(&scm__rc.d1737[240]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[237]), SCM_OBJ(&scm__rc.d1737[241])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[243])},
       { SCM_MAKE_INT(387U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[245])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[246])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[248])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[249])},
       { SCM_OBJ(&scm__rc.d1737[250]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[247]), SCM_OBJ(&scm__rc.d1737[251])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[253])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[254])},
       { SCM_MAKE_INT(390U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[256])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[257])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[259])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[260])},
       { SCM_OBJ(&scm__rc.d1737[261]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[258]), SCM_OBJ(&scm__rc.d1737[262])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[264])},
       { SCM_MAKE_INT(400U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[266])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[267])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[269])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[270])},
       { SCM_OBJ(&scm__rc.d1737[271]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[268]), SCM_OBJ(&scm__rc.d1737[272])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[114])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[274])},
       { SCM_MAKE_INT(409U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[276])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[277])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[279])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[280])},
       { SCM_OBJ(&scm__rc.d1737[281]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[278]), SCM_OBJ(&scm__rc.d1737[282])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[233])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[284])},
       { SCM_MAKE_INT(421U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[286])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[287])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[289])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[290])},
       { SCM_OBJ(&scm__rc.d1737[291]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[288]), SCM_OBJ(&scm__rc.d1737[292])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[233])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[294])},
       { SCM_MAKE_INT(433U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[296])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[297])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[299])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[300])},
       { SCM_OBJ(&scm__rc.d1737[301]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[298]), SCM_OBJ(&scm__rc.d1737[302])},
       { SCM_MAKE_INT(444U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[304])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[305])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[307])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[308])},
       { SCM_OBJ(&scm__rc.d1737[309]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[306]), SCM_OBJ(&scm__rc.d1737[310])},
       { SCM_MAKE_INT(450U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[312])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[313])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[315])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[316])},
       { SCM_OBJ(&scm__rc.d1737[317]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[314]), SCM_OBJ(&scm__rc.d1737[318])},
       { SCM_MAKE_INT(457U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[320])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[321])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[323])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[324])},
       { SCM_OBJ(&scm__rc.d1737[325]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[322]), SCM_OBJ(&scm__rc.d1737[326])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_MAKE_INT(470U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[329])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[330])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[332])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[333])},
       { SCM_OBJ(&scm__rc.d1737[334]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[331]), SCM_OBJ(&scm__rc.d1737[335])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[337])},
       { SCM_MAKE_INT(479U), SCM_NIL},
       { SCM_OBJ(&scm__sc.d1725[2]), SCM_OBJ(&scm__rc.d1737[339])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[340])},
       { SCM_UNDEFINED, SCM_NIL},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[342])},
       { SCM_UNDEFINED, SCM_OBJ(&scm__rc.d1737[343])},
       { SCM_OBJ(&scm__rc.d1737[344]), SCM_NIL},
       { SCM_OBJ(&scm__rc.d1737[341]), SCM_OBJ(&scm__rc.d1737[345])},
  },
#endif /*defined(GAUCHE_WINDOWS)*/
#if defined(GAUCHE_WINDOWS)
  {   /* ScmObj d1736 */
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(4, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(6, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(7, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(5, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(10, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(4, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(5, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(6, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(7, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(7, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(5, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(6, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(5, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(6, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(6, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(11, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(8, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(8, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(6, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(7, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(6, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(8, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(9, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(9, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(4, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(5, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(5, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_OBJ(SCM_CLASS_STATIC_TAG(Scm_VectorClass)) /* <vector> */,
    SCM_VECTOR_SIZE_SLOT_INITIALIZER(6, FALSE),
    SCM_MAKE_INT(1U),
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
    SCM_UNDEFINED,
  },
#endif /*defined(GAUCHE_WINDOWS)*/
  {   /* ScmObj d1717 */
    SCM_UNBOUND,
    SCM_UNBOUND,
  },
};
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_alloc_console(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  SCM_ENTER_SUBR("sys-alloc-console");
  {

#line 72 "./console.scm"
{BOOL G1726=AllocConsole();if ((G1726)==(0)){{Scm_SysError("AllocConsole failed");}}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_free_console(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  SCM_ENTER_SUBR("sys-free-console");
  {

#line 73 "./console.scm"
{BOOL G1738=FreeConsole();if ((G1738)==(0)){{Scm_SysError("FreeConsole failed");}}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_generate_console_ctrl_event(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj event_scm;
  int event;
  ScmObj pgid_scm;
  u_int pgid;
  ScmObj SCM_SUBRARGS[2];
  SCM_ENTER_SUBR("sys-generate-console-ctrl-event");
  for (int SCM_i=0; SCM_i<2; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  event_scm = SCM_SUBRARGS[0];
  if (!SCM_INTEGERP(event_scm)) Scm_Error("int required, but got %S", event_scm);
  event = Scm_GetInteger(event_scm);
  pgid_scm = SCM_SUBRARGS[1];
  if (!SCM_UINTEGERP(pgid_scm)) Scm_Error("u_int required, but got %S", pgid_scm);
  pgid = Scm_GetIntegerU(pgid_scm);
  {

#line 80 "./console.scm"
{BOOL G1739=GenerateConsoleCtrlEvent(((DWORD )(event)),((DWORD )(pgid)));if ((G1739)==(0)){{Scm_SysError("GenerateConsoleCtrlEvent failed");}}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_create_console_screen_buffer(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj desired_access_scm;
  int desired_access;
  ScmObj share_mode_scm;
  u_int share_mode;
  ScmObj inheritable_scm;
  int inheritable;
  ScmObj SCM_SUBRARGS[3];
  SCM_ENTER_SUBR("sys-create-console-screen-buffer");
  for (int SCM_i=0; SCM_i<3; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  desired_access_scm = SCM_SUBRARGS[0];
  if (!SCM_INTEGERP(desired_access_scm)) Scm_Error("int required, but got %S", desired_access_scm);
  desired_access = Scm_GetInteger(desired_access_scm);
  share_mode_scm = SCM_SUBRARGS[1];
  if (!SCM_UINTEGERP(share_mode_scm)) Scm_Error("u_int required, but got %S", share_mode_scm);
  share_mode = Scm_GetIntegerU(share_mode_scm);
  inheritable_scm = SCM_SUBRARGS[2];
  if (!SCM_BOOLP(inheritable_scm)) Scm_Error("boolean required, but got %S", inheritable_scm);
  inheritable = SCM_BOOL_VALUE(inheritable_scm);
  {
{
ScmObj SCM_RESULT;

#line 94 "./console.scm"
{SECURITY_ATTRIBUTES sa;
if (inheritable){{
(sa).nLength=(sizeof(SECURITY_ATTRIBUTES)),
(sa).lpSecurityDescriptor=(NULL),
(sa).bInheritHandle=(TRUE);}}
{HANDLE G1740=
CreateConsoleScreenBuffer(desired_access,share_mode,
((inheritable)?(&(sa)):(NULL)),CONSOLE_TEXTMODE_BUFFER,NULL);if ((G1740)==(INVALID_HANDLE_VALUE)){{Scm_SysError("CreateConsoleScreenBuffer failed");}}SCM_RESULT=(Scm_MakeWinHandle(G1740,
#line 99 "./console.scm"
scm__rc.d1736[35]));}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_set_console_active_screen_buffer(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj h_scm;
  ScmObj h;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("sys-set-console-active-screen-buffer");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  h_scm = SCM_SUBRARGS[0];
  if (!(h_scm)) Scm_Error("scheme object required, but got %S", h_scm);
  h = (h_scm);
  {

#line 105 "./console.scm"
{BOOL G1741=SetConsoleActiveScreenBuffer(Scm_WinHandle(h,SCM_FALSE));if ((G1741)==(0)){{Scm_SysError("SetConsoleActiveScreenBuffer failed");}}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_scroll_console_screen_buffer(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj handle_scm;
  ScmObj handle;
  ScmObj scroll_rectangle_scm;
  ScmUVector* scroll_rectangle;
  ScmObj clip_rectangle_scm;
  ScmUVector* clip_rectangle;
  ScmObj x_scm;
  short x;
  ScmObj y_scm;
  short y;
  ScmObj fill_scm;
  u_long fill;
  ScmObj SCM_SUBRARGS[6];
  SCM_ENTER_SUBR("sys-scroll-console-screen-buffer");
  for (int SCM_i=0; SCM_i<6; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  handle_scm = SCM_SUBRARGS[0];
  if (!(handle_scm)) Scm_Error("scheme object required, but got %S", handle_scm);
  handle = (handle_scm);
  scroll_rectangle_scm = SCM_SUBRARGS[1];
  if (!SCM_S16VECTORP(scroll_rectangle_scm)) Scm_Error("<s16vector> required, but got %S", scroll_rectangle_scm);
  scroll_rectangle = SCM_S16VECTOR(scroll_rectangle_scm);
  clip_rectangle_scm = SCM_SUBRARGS[2];
  if (!SCM_MAYBE_P(SCM_S16VECTORP, clip_rectangle_scm)) Scm_Error("<s16vector> or #f required, but got %S", clip_rectangle_scm);
  clip_rectangle = SCM_MAYBE(SCM_S16VECTOR, clip_rectangle_scm);
  x_scm = SCM_SUBRARGS[3];
  if (!SCM_INTP(x_scm)) Scm_Error("short required, but got %S", x_scm);
  x = (short)SCM_INT_VALUE(x_scm);
  y_scm = SCM_SUBRARGS[4];
  if (!SCM_INTP(y_scm)) Scm_Error("short required, but got %S", y_scm);
  y = (short)SCM_INT_VALUE(y_scm);
  fill_scm = SCM_SUBRARGS[5];
  if (!SCM_UINTEGERP(fill_scm)) Scm_Error("u_long required, but got %S", fill_scm);
  fill = Scm_GetIntegerU(fill_scm);
  {

#line 113 "./console.scm"
if ((SCM_UVECTOR_SIZE(scroll_rectangle))<(4)){{
Scm_Error("s16vector of minimum length 4 required for scroll-rectangle: %S",scroll_rectangle);}}

#line 116 "./console.scm"
if ((clip_rectangle)&&((SCM_UVECTOR_SIZE(clip_rectangle))<(4))){{
Scm_Error("s16vector of minimum length 4 required for clip-rectangle: %S",clip_rectangle);}}

#line 119 "./console.scm"
{COORD c;CHAR_INFO ci;
(c).X=(x),(c).Y=(y);
memcpy(&(ci),&(fill),sizeof(CHAR_INFO));
{BOOL G1742=ScrollConsoleScreenBuffer(
Scm_WinHandle(handle,SCM_FALSE),
((SMALL_RECT* )(SCM_UVECTOR_ELEMENTS(scroll_rectangle))),
((clip_rectangle)?(((SMALL_RECT* )(SCM_UVECTOR_ELEMENTS(clip_rectangle)))):(NULL)),c,
&(ci));if ((G1742)==(0)){{Scm_SysError("ScrollConsoleScreenBuffer failed");}}}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_get_console_cp(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  SCM_ENTER_SUBR("sys-get-console-cp");
  {
{
u_int SCM_RESULT;
{SCM_RESULT=(GetConsoleCP());goto SCM_STUB_RETURN;}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(Scm_MakeIntegerU(SCM_RESULT));
}
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_get_console_output_cp(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  SCM_ENTER_SUBR("sys-get-console-output-cp");
  {
{
u_int SCM_RESULT;
{SCM_RESULT=(GetConsoleOutputCP());goto SCM_STUB_RETURN;}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(Scm_MakeIntegerU(SCM_RESULT));
}
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_set_console_cp(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj cp_scm;
  u_int cp;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("sys-set-console-cp");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  cp_scm = SCM_SUBRARGS[0];
  if (!SCM_UINTEGERP(cp_scm)) Scm_Error("u_int required, but got %S", cp_scm);
  cp = Scm_GetIntegerU(cp_scm);
  {

#line 134 "./console.scm"
{BOOL G1743=SetConsoleCP(cp);if ((G1743)==(0)){{Scm_SysError("SetConsoleCP failed");}}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_set_console_output_cp(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj cp_scm;
  u_int cp;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("sys-set-console-output-cp");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  cp_scm = SCM_SUBRARGS[0];
  if (!SCM_UINTEGERP(cp_scm)) Scm_Error("u_int required, but got %S", cp_scm);
  cp = Scm_GetIntegerU(cp_scm);
  {

#line 136 "./console.scm"
{BOOL G1744=SetConsoleOutputCP(cp);if ((G1744)==(0)){{Scm_SysError("SetConsoleOutputCP failed");}}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_get_console_cursor_info(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj h_scm;
  ScmObj h;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("sys-get-console-cursor-info");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  h_scm = SCM_SUBRARGS[0];
  if (!(h_scm)) Scm_Error("scheme object required, but got %S", h_scm);
  h = (h_scm);
  {
int SCM_RESULT0;
int SCM_RESULT1;
{

#line 143 "./console.scm"
{CONSOLE_CURSOR_INFO ci;
{BOOL G1745=GetConsoleCursorInfo(Scm_WinHandle(h,SCM_FALSE),&(ci));if ((G1745)==(0)){{Scm_SysError("GetConsoleCursorInfo failed");}}}
SCM_RESULT0=(((int )((ci).dwSize))),SCM_RESULT1=((ci).bVisible);}
}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(Scm_Values2(Scm_MakeInteger(SCM_RESULT0),SCM_MAKE_BOOL(SCM_RESULT1)));
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_set_console_cursor_info(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj h_scm;
  ScmObj h;
  ScmObj size_scm;
  int size;
  ScmObj visible_scm;
  int visible;
  ScmObj SCM_SUBRARGS[3];
  SCM_ENTER_SUBR("sys-set-console-cursor-info");
  for (int SCM_i=0; SCM_i<3; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  h_scm = SCM_SUBRARGS[0];
  if (!(h_scm)) Scm_Error("scheme object required, but got %S", h_scm);
  h = (h_scm);
  size_scm = SCM_SUBRARGS[1];
  if (!SCM_INTEGERP(size_scm)) Scm_Error("int required, but got %S", size_scm);
  size = Scm_GetInteger(size_scm);
  visible_scm = SCM_SUBRARGS[2];
  if (!SCM_BOOLP(visible_scm)) Scm_Error("boolean required, but got %S", visible_scm);
  visible = SCM_BOOL_VALUE(visible_scm);
  {

#line 148 "./console.scm"
{CONSOLE_CURSOR_INFO ci;
(ci).dwSize=(size),(ci).bVisible=(visible);
{BOOL G1746=SetConsoleCursorInfo(Scm_WinHandle(h,SCM_FALSE),&(ci));if ((G1746)==(0)){{Scm_SysError("SetConsoleCursorInfo failed");}}}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_set_console_cursor_position(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj h_scm;
  ScmObj h;
  ScmObj x_scm;
  short x;
  ScmObj y_scm;
  short y;
  ScmObj SCM_SUBRARGS[3];
  SCM_ENTER_SUBR("sys-set-console-cursor-position");
  for (int SCM_i=0; SCM_i<3; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  h_scm = SCM_SUBRARGS[0];
  if (!(h_scm)) Scm_Error("scheme object required, but got %S", h_scm);
  h = (h_scm);
  x_scm = SCM_SUBRARGS[1];
  if (!SCM_INTP(x_scm)) Scm_Error("short required, but got %S", x_scm);
  x = (short)SCM_INT_VALUE(x_scm);
  y_scm = SCM_SUBRARGS[2];
  if (!SCM_INTP(y_scm)) Scm_Error("short required, but got %S", y_scm);
  y = (short)SCM_INT_VALUE(y_scm);
  {

#line 154 "./console.scm"
{COORD c;
(c).X=(x),(c).Y=(y);
{BOOL G1747=SetConsoleCursorPosition(Scm_WinHandle(h,SCM_FALSE),c);if ((G1747)==(0)){{Scm_SysError("SetConsoleCursorPosition failed");}}}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_get_console_mode(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj h_scm;
  ScmObj h;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("sys-get-console-mode");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  h_scm = SCM_SUBRARGS[0];
  if (!(h_scm)) Scm_Error("scheme object required, but got %S", h_scm);
  h = (h_scm);
  {
{
u_int SCM_RESULT;

#line 170 "./console.scm"
{DWORD m=0;
{BOOL G1748=GetConsoleMode(Scm_WinHandle(h,SCM_FALSE),&(m));if ((G1748)==(0)){{Scm_SysError("GetConsoleMode failed");}}}
SCM_RESULT=(m);}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(Scm_MakeIntegerU(SCM_RESULT));
}
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_set_console_mode(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj h_scm;
  ScmObj h;
  ScmObj mode_scm;
  u_int mode;
  ScmObj SCM_SUBRARGS[2];
  SCM_ENTER_SUBR("sys-set-console-mode");
  for (int SCM_i=0; SCM_i<2; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  h_scm = SCM_SUBRARGS[0];
  if (!(h_scm)) Scm_Error("scheme object required, but got %S", h_scm);
  h = (h_scm);
  mode_scm = SCM_SUBRARGS[1];
  if (!SCM_UINTEGERP(mode_scm)) Scm_Error("u_int required, but got %S", mode_scm);
  mode = Scm_GetIntegerU(mode_scm);
  {

#line 175 "./console.scm"
{BOOL G1749=SetConsoleMode(Scm_WinHandle(h,SCM_FALSE),mode);if ((G1749)==(0)){{Scm_SysError("SetConsoleMode failed");}}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj make_console_screen_buffer_info(){{
#line 193 "./console.scm"
{ScmWinConsoleScreenBufferInfo* z=
SCM_NEW(ScmWinConsoleScreenBufferInfo);
SCM_SET_CLASS(z,&(Scm_WinConsoleScreenBufferInfoClass));
return (SCM_OBJ(z));}}}
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
SCM_DEFINE_BUILTIN_CLASS(Scm_WinConsoleScreenBufferInfoClass, NULL, NULL, NULL, make_console_screen_buffer_info, SCM_CLASS_DEFAULT_CPL);

static ScmObj Scm_WinConsoleScreenBufferInfoClass_size_2ex_GET(ScmObj OBJARG)
{
  ScmWinConsoleScreenBufferInfo* obj = SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(OBJARG);
  return SCM_MAKE_INT(obj->info.dwSize.X);
}

static void Scm_WinConsoleScreenBufferInfoClass_size_2ex_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinConsoleScreenBufferInfo* obj = SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(OBJARG);
  if (!SCM_INTP(value)) Scm_Error("short required, but got %S", value);
  obj->info.dwSize.X = (short)SCM_INT_VALUE(value);
}

static ScmObj Scm_WinConsoleScreenBufferInfoClass_size_2ey_GET(ScmObj OBJARG)
{
  ScmWinConsoleScreenBufferInfo* obj = SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(OBJARG);
  return SCM_MAKE_INT(obj->info.dwSize.Y);
}

static void Scm_WinConsoleScreenBufferInfoClass_size_2ey_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinConsoleScreenBufferInfo* obj = SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(OBJARG);
  if (!SCM_INTP(value)) Scm_Error("short required, but got %S", value);
  obj->info.dwSize.Y = (short)SCM_INT_VALUE(value);
}

static ScmObj Scm_WinConsoleScreenBufferInfoClass_cursor_position_2ex_GET(ScmObj OBJARG)
{
  ScmWinConsoleScreenBufferInfo* obj = SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(OBJARG);
  return SCM_MAKE_INT(obj->info.dwCursorPosition.X);
}

static void Scm_WinConsoleScreenBufferInfoClass_cursor_position_2ex_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinConsoleScreenBufferInfo* obj = SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(OBJARG);
  if (!SCM_INTP(value)) Scm_Error("short required, but got %S", value);
  obj->info.dwCursorPosition.X = (short)SCM_INT_VALUE(value);
}

static ScmObj Scm_WinConsoleScreenBufferInfoClass_cursor_position_2ey_GET(ScmObj OBJARG)
{
  ScmWinConsoleScreenBufferInfo* obj = SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(OBJARG);
  return SCM_MAKE_INT(obj->info.dwCursorPosition.Y);
}

static void Scm_WinConsoleScreenBufferInfoClass_cursor_position_2ey_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinConsoleScreenBufferInfo* obj = SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(OBJARG);
  if (!SCM_INTP(value)) Scm_Error("short required, but got %S", value);
  obj->info.dwCursorPosition.Y = (short)SCM_INT_VALUE(value);
}

static ScmObj Scm_WinConsoleScreenBufferInfoClass_attributes_GET(ScmObj OBJARG)
{
  ScmWinConsoleScreenBufferInfo* obj = SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(OBJARG);
  return Scm_MakeIntegerU(obj->info.wAttributes);
}

static void Scm_WinConsoleScreenBufferInfoClass_attributes_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinConsoleScreenBufferInfo* obj = SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(OBJARG);
  if (!SCM_UINTEGERP(value)) Scm_Error("u_int required, but got %S", value);
  obj->info.wAttributes = Scm_GetIntegerU(value);
}

static ScmObj Scm_WinConsoleScreenBufferInfoClass_window_2eleft_GET(ScmObj OBJARG)
{
  ScmWinConsoleScreenBufferInfo* obj = SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(OBJARG);
  return SCM_MAKE_INT(obj->info.srWindow.Left);
}

static void Scm_WinConsoleScreenBufferInfoClass_window_2eleft_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinConsoleScreenBufferInfo* obj = SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(OBJARG);
  if (!SCM_INTP(value)) Scm_Error("short required, but got %S", value);
  obj->info.srWindow.Left = (short)SCM_INT_VALUE(value);
}

static ScmObj Scm_WinConsoleScreenBufferInfoClass_window_2etop_GET(ScmObj OBJARG)
{
  ScmWinConsoleScreenBufferInfo* obj = SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(OBJARG);
  return SCM_MAKE_INT(obj->info.srWindow.Top);
}

static void Scm_WinConsoleScreenBufferInfoClass_window_2etop_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinConsoleScreenBufferInfo* obj = SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(OBJARG);
  if (!SCM_INTP(value)) Scm_Error("short required, but got %S", value);
  obj->info.srWindow.Top = (short)SCM_INT_VALUE(value);
}

static ScmObj Scm_WinConsoleScreenBufferInfoClass_window_2eright_GET(ScmObj OBJARG)
{
  ScmWinConsoleScreenBufferInfo* obj = SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(OBJARG);
  return SCM_MAKE_INT(obj->info.srWindow.Right);
}

static void Scm_WinConsoleScreenBufferInfoClass_window_2eright_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinConsoleScreenBufferInfo* obj = SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(OBJARG);
  if (!SCM_INTP(value)) Scm_Error("short required, but got %S", value);
  obj->info.srWindow.Right = (short)SCM_INT_VALUE(value);
}

static ScmObj Scm_WinConsoleScreenBufferInfoClass_window_2ebottom_GET(ScmObj OBJARG)
{
  ScmWinConsoleScreenBufferInfo* obj = SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(OBJARG);
  return SCM_MAKE_INT(obj->info.srWindow.Bottom);
}

static void Scm_WinConsoleScreenBufferInfoClass_window_2ebottom_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinConsoleScreenBufferInfo* obj = SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(OBJARG);
  if (!SCM_INTP(value)) Scm_Error("short required, but got %S", value);
  obj->info.srWindow.Bottom = (short)SCM_INT_VALUE(value);
}

static ScmObj Scm_WinConsoleScreenBufferInfoClass_maximum_window_size_2ex_GET(ScmObj OBJARG)
{
  ScmWinConsoleScreenBufferInfo* obj = SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(OBJARG);
  return SCM_MAKE_INT(obj->info.dwMaximumWindowSize.X);
}

static void Scm_WinConsoleScreenBufferInfoClass_maximum_window_size_2ex_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinConsoleScreenBufferInfo* obj = SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(OBJARG);
  if (!SCM_INTP(value)) Scm_Error("short required, but got %S", value);
  obj->info.dwMaximumWindowSize.X = (short)SCM_INT_VALUE(value);
}

static ScmObj Scm_WinConsoleScreenBufferInfoClass_maximum_window_size_2ey_GET(ScmObj OBJARG)
{
  ScmWinConsoleScreenBufferInfo* obj = SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(OBJARG);
  return SCM_MAKE_INT(obj->info.dwMaximumWindowSize.Y);
}

static void Scm_WinConsoleScreenBufferInfoClass_maximum_window_size_2ey_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinConsoleScreenBufferInfo* obj = SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(OBJARG);
  if (!SCM_INTP(value)) Scm_Error("short required, but got %S", value);
  obj->info.dwMaximumWindowSize.Y = (short)SCM_INT_VALUE(value);
}

static ScmClassStaticSlotSpec Scm_WinConsoleScreenBufferInfoClass__SLOTS[] = {
  SCM_CLASS_SLOT_SPEC("size.x", Scm_WinConsoleScreenBufferInfoClass_size_2ex_GET, Scm_WinConsoleScreenBufferInfoClass_size_2ex_SET),
  SCM_CLASS_SLOT_SPEC("size.y", Scm_WinConsoleScreenBufferInfoClass_size_2ey_GET, Scm_WinConsoleScreenBufferInfoClass_size_2ey_SET),
  SCM_CLASS_SLOT_SPEC("cursor-position.x", Scm_WinConsoleScreenBufferInfoClass_cursor_position_2ex_GET, Scm_WinConsoleScreenBufferInfoClass_cursor_position_2ex_SET),
  SCM_CLASS_SLOT_SPEC("cursor-position.y", Scm_WinConsoleScreenBufferInfoClass_cursor_position_2ey_GET, Scm_WinConsoleScreenBufferInfoClass_cursor_position_2ey_SET),
  SCM_CLASS_SLOT_SPEC("attributes", Scm_WinConsoleScreenBufferInfoClass_attributes_GET, Scm_WinConsoleScreenBufferInfoClass_attributes_SET),
  SCM_CLASS_SLOT_SPEC("window.left", Scm_WinConsoleScreenBufferInfoClass_window_2eleft_GET, Scm_WinConsoleScreenBufferInfoClass_window_2eleft_SET),
  SCM_CLASS_SLOT_SPEC("window.top", Scm_WinConsoleScreenBufferInfoClass_window_2etop_GET, Scm_WinConsoleScreenBufferInfoClass_window_2etop_SET),
  SCM_CLASS_SLOT_SPEC("window.right", Scm_WinConsoleScreenBufferInfoClass_window_2eright_GET, Scm_WinConsoleScreenBufferInfoClass_window_2eright_SET),
  SCM_CLASS_SLOT_SPEC("window.bottom", Scm_WinConsoleScreenBufferInfoClass_window_2ebottom_GET, Scm_WinConsoleScreenBufferInfoClass_window_2ebottom_SET),
  SCM_CLASS_SLOT_SPEC("maximum-window-size.x", Scm_WinConsoleScreenBufferInfoClass_maximum_window_size_2ex_GET, Scm_WinConsoleScreenBufferInfoClass_maximum_window_size_2ex_SET),
  SCM_CLASS_SLOT_SPEC("maximum-window-size.y", Scm_WinConsoleScreenBufferInfoClass_maximum_window_size_2ey_GET, Scm_WinConsoleScreenBufferInfoClass_maximum_window_size_2ey_SET),
  SCM_CLASS_SLOT_SPEC_END()
};

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_get_console_screen_buffer_info(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj h_scm;
  ScmObj h;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("sys-get-console-screen-buffer-info");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  h_scm = SCM_SUBRARGS[0];
  if (!(h_scm)) Scm_Error("scheme object required, but got %S", h_scm);
  h = (h_scm);
  {
{
ScmObj SCM_RESULT;

#line 228 "./console.scm"
{ScmObj info=make_console_screen_buffer_info();
{BOOL G1750=GetConsoleScreenBufferInfo(
Scm_WinHandle(h,SCM_FALSE),
&((SCM_WIN_CONSOLE_SCREEN_BUFFER_INFO(info))->info));if ((G1750)==(0)){{Scm_SysError("GetConsoleScreenBufferInfo failed");}}}
SCM_RESULT=(info);}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_get_largest_console_window_size(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj h_scm;
  ScmObj h;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("sys-get-largest-console-window-size");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  h_scm = SCM_SUBRARGS[0];
  if (!(h_scm)) Scm_Error("scheme object required, but got %S", h_scm);
  h = (h_scm);
  {
int SCM_RESULT0;
int SCM_RESULT1;
{

#line 235 "./console.scm"
{COORD c=GetLargestConsoleWindowSize(Scm_WinHandle(h,SCM_FALSE));
SCM_RESULT0=((c).X),SCM_RESULT1=((c).Y);}
}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(Scm_Values2(Scm_MakeInteger(SCM_RESULT0),Scm_MakeInteger(SCM_RESULT1)));
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_set_screen_buffer_size(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj h_scm;
  ScmObj h;
  ScmObj x_scm;
  short x;
  ScmObj y_scm;
  short y;
  ScmObj SCM_SUBRARGS[3];
  SCM_ENTER_SUBR("sys-set-screen-buffer-size");
  for (int SCM_i=0; SCM_i<3; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  h_scm = SCM_SUBRARGS[0];
  if (!(h_scm)) Scm_Error("scheme object required, but got %S", h_scm);
  h = (h_scm);
  x_scm = SCM_SUBRARGS[1];
  if (!SCM_INTP(x_scm)) Scm_Error("short required, but got %S", x_scm);
  x = (short)SCM_INT_VALUE(x_scm);
  y_scm = SCM_SUBRARGS[2];
  if (!SCM_INTP(y_scm)) Scm_Error("short required, but got %S", y_scm);
  y = (short)SCM_INT_VALUE(y_scm);
  {

#line 239 "./console.scm"
{COORD c;
(c).X=(x),(c).Y=(y);
{BOOL G1751=SetConsoleScreenBufferSize(Scm_WinHandle(h,SCM_FALSE),c);if ((G1751)==(0)){{Scm_SysError("SetConsoleScreenBufferSize failed");}}}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj make_input_record(){{
#line 258 "./console.scm"
{ScmWinInputRecord* z=SCM_NEW(ScmWinInputRecord);
SCM_SET_CLASS(z,&(Scm_WinInputRecordClass));
return (SCM_OBJ(z));}}}
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
SCM_DEFINE_BUILTIN_CLASS(Scm_WinInputRecordClass, NULL, NULL, NULL, make_input_record, SCM_CLASS_DEFAULT_CPL);

static ScmObj Scm_WinInputRecordClass_event_type_GET(ScmObj OBJARG)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  return Scm_MakeInteger(obj->rec.EventType);
}

static void Scm_WinInputRecordClass_event_type_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  if (!SCM_INTEGERP(value)) Scm_Error("int required, but got %S", value);
  obj->rec.EventType = Scm_GetInteger(value);
}

static ScmObj Scm_WinInputRecordClass_key_2edown_GET(ScmObj OBJARG)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  return SCM_MAKE_BOOL(obj->rec.Event.KeyEvent.bKeyDown);
}

static void Scm_WinInputRecordClass_key_2edown_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  if (!SCM_BOOLP(value)) Scm_Error("int required, but got %S", value);
  obj->rec.Event.KeyEvent.bKeyDown = SCM_BOOL_VALUE(value);
}

static ScmObj Scm_WinInputRecordClass_key_2erepeat_count_GET(ScmObj OBJARG)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  return Scm_MakeInteger(obj->rec.Event.KeyEvent.wRepeatCount);
}

static void Scm_WinInputRecordClass_key_2erepeat_count_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  if (!SCM_INTEGERP(value)) Scm_Error("int required, but got %S", value);
  obj->rec.Event.KeyEvent.wRepeatCount = Scm_GetInteger(value);
}

static ScmObj Scm_WinInputRecordClass_key_2evirtual_key_code_GET(ScmObj OBJARG)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  return Scm_MakeInteger(obj->rec.Event.KeyEvent.wVirtualKeyCode);
}

static void Scm_WinInputRecordClass_key_2evirtual_key_code_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  if (!SCM_INTEGERP(value)) Scm_Error("int required, but got %S", value);
  obj->rec.Event.KeyEvent.wVirtualKeyCode = Scm_GetInteger(value);
}

static ScmObj Scm_WinInputRecordClass_key_2evirtual_scan_code_GET(ScmObj OBJARG)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  return Scm_MakeInteger(obj->rec.Event.KeyEvent.wVirtualScanCode);
}

static void Scm_WinInputRecordClass_key_2evirtual_scan_code_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  if (!SCM_INTEGERP(value)) Scm_Error("int required, but got %S", value);
  obj->rec.Event.KeyEvent.wVirtualScanCode = Scm_GetInteger(value);
}

static ScmObj Scm_WinInputRecordClass_key_2eunicode_char_GET(ScmObj OBJARG)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  return Scm_MakeIntegerU(obj->rec.Event.KeyEvent.uChar.UnicodeChar);
}

static void Scm_WinInputRecordClass_key_2eunicode_char_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  if (!SCM_UINTEGERP(value)) Scm_Error("u_int required, but got %S", value);
  obj->rec.Event.KeyEvent.uChar.UnicodeChar = Scm_GetIntegerU(value);
}

static ScmObj Scm_WinInputRecordClass_key_2eascii_char_GET(ScmObj OBJARG)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  return Scm_MakeIntegerU(obj->rec.Event.KeyEvent.uChar.AsciiChar);
}

static void Scm_WinInputRecordClass_key_2eascii_char_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  if (!SCM_UINTEGERP(value)) Scm_Error("u_int required, but got %S", value);
  obj->rec.Event.KeyEvent.uChar.AsciiChar = Scm_GetIntegerU(value);
}

static ScmObj Scm_WinInputRecordClass_key_2econtrol_key_state_GET(ScmObj OBJARG)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  return Scm_MakeIntegerU(obj->rec.Event.KeyEvent.dwControlKeyState);
}

static void Scm_WinInputRecordClass_key_2econtrol_key_state_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  if (!SCM_UINTEGERP(value)) Scm_Error("u_int required, but got %S", value);
  obj->rec.Event.KeyEvent.dwControlKeyState = Scm_GetIntegerU(value);
}

static ScmObj Scm_WinInputRecordClass_mouse_2ex_GET(ScmObj OBJARG)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  return SCM_MAKE_INT(obj->rec.Event.MouseEvent.dwMousePosition.X);
}

static void Scm_WinInputRecordClass_mouse_2ex_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  if (!SCM_INTP(value)) Scm_Error("short required, but got %S", value);
  obj->rec.Event.MouseEvent.dwMousePosition.X = (short)SCM_INT_VALUE(value);
}

static ScmObj Scm_WinInputRecordClass_mouse_2ey_GET(ScmObj OBJARG)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  return SCM_MAKE_INT(obj->rec.Event.MouseEvent.dwMousePosition.Y);
}

static void Scm_WinInputRecordClass_mouse_2ey_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  if (!SCM_INTP(value)) Scm_Error("short required, but got %S", value);
  obj->rec.Event.MouseEvent.dwMousePosition.Y = (short)SCM_INT_VALUE(value);
}

static ScmObj Scm_WinInputRecordClass_mouse_2ebutton_state_GET(ScmObj OBJARG)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  return Scm_MakeIntegerU(obj->rec.Event.MouseEvent.dwButtonState);
}

static void Scm_WinInputRecordClass_mouse_2ebutton_state_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  if (!SCM_UINTEGERP(value)) Scm_Error("u_int required, but got %S", value);
  obj->rec.Event.MouseEvent.dwButtonState = Scm_GetIntegerU(value);
}

static ScmObj Scm_WinInputRecordClass_mouse_2econtrol_key_state_GET(ScmObj OBJARG)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  return Scm_MakeIntegerU(obj->rec.Event.MouseEvent.dwControlKeyState);
}

static void Scm_WinInputRecordClass_mouse_2econtrol_key_state_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  if (!SCM_UINTEGERP(value)) Scm_Error("u_int required, but got %S", value);
  obj->rec.Event.MouseEvent.dwControlKeyState = Scm_GetIntegerU(value);
}

static ScmObj Scm_WinInputRecordClass_mouse_2eevent_flags_GET(ScmObj OBJARG)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  return Scm_MakeIntegerU(obj->rec.Event.MouseEvent.dwEventFlags);
}

static void Scm_WinInputRecordClass_mouse_2eevent_flags_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  if (!SCM_UINTEGERP(value)) Scm_Error("u_int required, but got %S", value);
  obj->rec.Event.MouseEvent.dwEventFlags = Scm_GetIntegerU(value);
}

static ScmObj Scm_WinInputRecordClass_window_buffer_size_2ex_GET(ScmObj OBJARG)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  return SCM_MAKE_INT(obj->rec.Event.WindowBufferSizeEvent.dwSize.X);
}

static void Scm_WinInputRecordClass_window_buffer_size_2ex_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  if (!SCM_INTP(value)) Scm_Error("short required, but got %S", value);
  obj->rec.Event.WindowBufferSizeEvent.dwSize.X = (short)SCM_INT_VALUE(value);
}

static ScmObj Scm_WinInputRecordClass_window_buffer_size_2ey_GET(ScmObj OBJARG)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  return SCM_MAKE_INT(obj->rec.Event.WindowBufferSizeEvent.dwSize.Y);
}

static void Scm_WinInputRecordClass_window_buffer_size_2ey_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  if (!SCM_INTP(value)) Scm_Error("short required, but got %S", value);
  obj->rec.Event.WindowBufferSizeEvent.dwSize.Y = (short)SCM_INT_VALUE(value);
}

static ScmObj Scm_WinInputRecordClass_menu_2ecommand_id_GET(ScmObj OBJARG)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  return Scm_MakeIntegerU(obj->rec.Event.MenuEvent.dwCommandId);
}

static void Scm_WinInputRecordClass_menu_2ecommand_id_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  if (!SCM_UINTEGERP(value)) Scm_Error("u_int required, but got %S", value);
  obj->rec.Event.MenuEvent.dwCommandId = Scm_GetIntegerU(value);
}

static ScmObj Scm_WinInputRecordClass_focus_2eset_focus_GET(ScmObj OBJARG)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  return SCM_MAKE_BOOL(obj->rec.Event.FocusEvent.bSetFocus);
}

static void Scm_WinInputRecordClass_focus_2eset_focus_SET(ScmObj OBJARG, ScmObj value)
{
  ScmWinInputRecord* obj = SCM_WIN_INPUT_RECORD(OBJARG);
  if (!SCM_BOOLP(value)) Scm_Error("int required, but got %S", value);
  obj->rec.Event.FocusEvent.bSetFocus = SCM_BOOL_VALUE(value);
}

static ScmClassStaticSlotSpec Scm_WinInputRecordClass__SLOTS[] = {
  SCM_CLASS_SLOT_SPEC("event-type", Scm_WinInputRecordClass_event_type_GET, Scm_WinInputRecordClass_event_type_SET),
  SCM_CLASS_SLOT_SPEC("key.down", Scm_WinInputRecordClass_key_2edown_GET, Scm_WinInputRecordClass_key_2edown_SET),
  SCM_CLASS_SLOT_SPEC("key.repeat-count", Scm_WinInputRecordClass_key_2erepeat_count_GET, Scm_WinInputRecordClass_key_2erepeat_count_SET),
  SCM_CLASS_SLOT_SPEC("key.virtual-key-code", Scm_WinInputRecordClass_key_2evirtual_key_code_GET, Scm_WinInputRecordClass_key_2evirtual_key_code_SET),
  SCM_CLASS_SLOT_SPEC("key.virtual-scan-code", Scm_WinInputRecordClass_key_2evirtual_scan_code_GET, Scm_WinInputRecordClass_key_2evirtual_scan_code_SET),
  SCM_CLASS_SLOT_SPEC("key.unicode-char", Scm_WinInputRecordClass_key_2eunicode_char_GET, Scm_WinInputRecordClass_key_2eunicode_char_SET),
  SCM_CLASS_SLOT_SPEC("key.ascii-char", Scm_WinInputRecordClass_key_2eascii_char_GET, Scm_WinInputRecordClass_key_2eascii_char_SET),
  SCM_CLASS_SLOT_SPEC("key.control-key-state", Scm_WinInputRecordClass_key_2econtrol_key_state_GET, Scm_WinInputRecordClass_key_2econtrol_key_state_SET),
  SCM_CLASS_SLOT_SPEC("mouse.x", Scm_WinInputRecordClass_mouse_2ex_GET, Scm_WinInputRecordClass_mouse_2ex_SET),
  SCM_CLASS_SLOT_SPEC("mouse.y", Scm_WinInputRecordClass_mouse_2ey_GET, Scm_WinInputRecordClass_mouse_2ey_SET),
  SCM_CLASS_SLOT_SPEC("mouse.button-state", Scm_WinInputRecordClass_mouse_2ebutton_state_GET, Scm_WinInputRecordClass_mouse_2ebutton_state_SET),
  SCM_CLASS_SLOT_SPEC("mouse.control-key-state", Scm_WinInputRecordClass_mouse_2econtrol_key_state_GET, Scm_WinInputRecordClass_mouse_2econtrol_key_state_SET),
  SCM_CLASS_SLOT_SPEC("mouse.event-flags", Scm_WinInputRecordClass_mouse_2eevent_flags_GET, Scm_WinInputRecordClass_mouse_2eevent_flags_SET),
  SCM_CLASS_SLOT_SPEC("window-buffer-size.x", Scm_WinInputRecordClass_window_buffer_size_2ex_GET, Scm_WinInputRecordClass_window_buffer_size_2ex_SET),
  SCM_CLASS_SLOT_SPEC("window-buffer-size.y", Scm_WinInputRecordClass_window_buffer_size_2ey_GET, Scm_WinInputRecordClass_window_buffer_size_2ey_SET),
  SCM_CLASS_SLOT_SPEC("menu.command-id", Scm_WinInputRecordClass_menu_2ecommand_id_GET, Scm_WinInputRecordClass_menu_2ecommand_id_SET),
  SCM_CLASS_SLOT_SPEC("focus.set-focus", Scm_WinInputRecordClass_focus_2eset_focus_GET, Scm_WinInputRecordClass_focus_2eset_focus_SET),
  SCM_CLASS_SLOT_SPEC_END()
};

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_get_number_of_console_input_events(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj h_scm;
  ScmObj h;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("sys-get-number-of-console-input-events");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  h_scm = SCM_SUBRARGS[0];
  if (!(h_scm)) Scm_Error("scheme object required, but got %S", h_scm);
  h = (h_scm);
  {
{
u_int SCM_RESULT;

#line 305 "./console.scm"
{DWORD num=0;
{BOOL G1752=GetNumberOfConsoleInputEvents(Scm_WinHandle(h,SCM_FALSE),&(num));if ((G1752)==(0)){{Scm_SysError("GetNumberOfConsoleInputEvents failed");}}}
SCM_RESULT=(num);}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(Scm_MakeIntegerU(SCM_RESULT));
}
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_get_number_of_console_mouse_buttons(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  SCM_ENTER_SUBR("sys-get-number-of-console-mouse-buttons");
  {
{
u_int SCM_RESULT;

#line 310 "./console.scm"
{DWORD num=0;
{BOOL G1753=GetNumberOfConsoleMouseButtons(&(num));if ((G1753)==(0)){{Scm_SysError("GetNumberOfConsoleMouseButtons failed");}}}
SCM_RESULT=(num);}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(Scm_MakeIntegerU(SCM_RESULT));
}
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_peek_console_input(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj h_scm;
  ScmObj h;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("sys-peek-console-input");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  h_scm = SCM_SUBRARGS[0];
  if (!(h_scm)) Scm_Error("scheme object required, but got %S", h_scm);
  h = (h_scm);
  {
{
ScmObj SCM_RESULT;

#line 325 "./console.scm"
{ScmObj rec=make_input_record();DWORD cnt=0;{BOOL G1756=PeekConsoleInput(Scm_WinHandle(h,SCM_FALSE),&((SCM_WIN_INPUT_RECORD(rec))->rec),1,&(cnt));if ((G1756)==(0)){{Scm_SysError("PeekConsoleInput failed");}}}if ((cnt)==(0)){SCM_RESULT=(SCM_NIL);} else {SCM_RESULT=(SCM_LIST1(rec));}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_read_console_input(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj h_scm;
  ScmObj h;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("sys-read-console-input");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  h_scm = SCM_SUBRARGS[0];
  if (!(h_scm)) Scm_Error("scheme object required, but got %S", h_scm);
  h = (h_scm);
  {
{
ScmObj SCM_RESULT;

#line 327 "./console.scm"
{ScmObj rec=make_input_record();DWORD cnt=0;{BOOL G1757=ReadConsoleInput(Scm_WinHandle(h,SCM_FALSE),&((SCM_WIN_INPUT_RECORD(rec))->rec),1,&(cnt));if ((G1757)==(0)){{Scm_SysError("ReadConsoleInput failed");}}}if ((cnt)==(0)){SCM_RESULT=(SCM_NIL);} else {SCM_RESULT=(SCM_LIST1(rec));}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_read_console(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj h_scm;
  ScmObj h;
  ScmObj buf_scm;
  ScmUVector* buf;
  ScmObj SCM_SUBRARGS[2];
  SCM_ENTER_SUBR("sys-read-console");
  for (int SCM_i=0; SCM_i<2; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  h_scm = SCM_SUBRARGS[0];
  if (!(h_scm)) Scm_Error("scheme object required, but got %S", h_scm);
  h = (h_scm);
  buf_scm = SCM_SUBRARGS[1];
  if (!SCM_UVECTORP(buf_scm)) Scm_Error("<uvector> required, but got %S", buf_scm);
  buf = SCM_UVECTOR(buf_scm);
  {
{
u_int SCM_RESULT;

#line 330 "./console.scm"
if (!((SCM_U8VECTORP(buf))||(SCM_U16VECTORP(buf)))){{
Scm_TypeError("buf","u8vector or u16vector",SCM_OBJ(buf));}}

#line 332 "./console.scm"
SCM_UVECTOR_CHECK_MUTABLE(buf);

#line 333 "./console.scm"
{DWORD nc=(Scm_UVectorSizeInBytes(buf))/(sizeof(TCHAR));DWORD nread=0;
#line 335 "./console.scm"
{BOOL G1758=ReadConsole(Scm_WinHandle(h,SCM_FALSE),
SCM_UVECTOR_ELEMENTS(buf),nc,
&(nread),NULL);if ((G1758)==(0)){{Scm_SysError("ReadConsole failed");}}}
SCM_RESULT=(nread);}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(Scm_MakeIntegerU(SCM_RESULT));
}
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_read_console_output(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj handle_scm;
  ScmObj handle;
  ScmObj buf_scm;
  ScmUVector* buf;
  ScmObj w_scm;
  short w;
  ScmObj h_scm;
  short h;
  ScmObj x_scm;
  short x;
  ScmObj y_scm;
  short y;
  ScmObj region_scm;
  ScmUVector* region;
  ScmObj SCM_SUBRARGS[7];
  SCM_ENTER_SUBR("sys-read-console-output");
  for (int SCM_i=0; SCM_i<7; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  handle_scm = SCM_SUBRARGS[0];
  if (!(handle_scm)) Scm_Error("scheme object required, but got %S", handle_scm);
  handle = (handle_scm);
  buf_scm = SCM_SUBRARGS[1];
  if (!SCM_U32VECTORP(buf_scm)) Scm_Error("<u32vector> required, but got %S", buf_scm);
  buf = SCM_U32VECTOR(buf_scm);
  w_scm = SCM_SUBRARGS[2];
  if (!SCM_INTP(w_scm)) Scm_Error("short required, but got %S", w_scm);
  w = (short)SCM_INT_VALUE(w_scm);
  h_scm = SCM_SUBRARGS[3];
  if (!SCM_INTP(h_scm)) Scm_Error("short required, but got %S", h_scm);
  h = (short)SCM_INT_VALUE(h_scm);
  x_scm = SCM_SUBRARGS[4];
  if (!SCM_INTP(x_scm)) Scm_Error("short required, but got %S", x_scm);
  x = (short)SCM_INT_VALUE(x_scm);
  y_scm = SCM_SUBRARGS[5];
  if (!SCM_INTP(y_scm)) Scm_Error("short required, but got %S", y_scm);
  y = (short)SCM_INT_VALUE(y_scm);
  region_scm = SCM_SUBRARGS[6];
  if (!SCM_S16VECTORP(region_scm)) Scm_Error("<s16vector> required, but got %S", region_scm);
  region = SCM_S16VECTOR(region_scm);
  {
{
ScmObj SCM_RESULT;

#line 345 "./console.scm"
if ((SCM_UVECTOR_SIZE(buf))<((w)*(h))){{
Scm_Error("ReadConsoleOutput: buffer argument too small (required at least %dx%d)",w,h);}}

#line 348 "./console.scm"
if ((SCM_UVECTOR_SIZE(region))<(4)){{
Scm_Error("ReadConsoleOutput: region argument must be at least 4 elements long: %S",region);}}

#line 351 "./console.scm"
SCM_UVECTOR_CHECK_MUTABLE(buf);

#line 352 "./console.scm"
SCM_UVECTOR_CHECK_MUTABLE(region);

#line 353 "./console.scm"
{COORD siz;COORD coord;
(siz).X=(w),(siz).Y=(h),
(coord).X=(x),(coord).Y=(y);
{BOOL G1759=ReadConsoleOutput(Scm_WinHandle(handle,SCM_FALSE),
((PCHAR_INFO )(SCM_UVECTOR_ELEMENTS(buf))),siz,coord,
#line 359 "./console.scm"
((PSMALL_RECT )(SCM_UVECTOR_ELEMENTS(region))));if ((G1759)==(0)){{Scm_SysError("ReadConsoleOutput failed");}}}
SCM_RESULT=(SCM_OBJ(buf));}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_read_console_output_attribute(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj handle_scm;
  ScmObj handle;
  ScmObj buf_scm;
  ScmUVector* buf;
  ScmObj x_scm;
  short x;
  ScmObj y_scm;
  short y;
  ScmObj SCM_SUBRARGS[4];
  SCM_ENTER_SUBR("sys-read-console-output-attribute");
  for (int SCM_i=0; SCM_i<4; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  handle_scm = SCM_SUBRARGS[0];
  if (!(handle_scm)) Scm_Error("scheme object required, but got %S", handle_scm);
  handle = (handle_scm);
  buf_scm = SCM_SUBRARGS[1];
  if (!SCM_U16VECTORP(buf_scm)) Scm_Error("<u16vector> required, but got %S", buf_scm);
  buf = SCM_U16VECTOR(buf_scm);
  x_scm = SCM_SUBRARGS[2];
  if (!SCM_INTP(x_scm)) Scm_Error("short required, but got %S", x_scm);
  x = (short)SCM_INT_VALUE(x_scm);
  y_scm = SCM_SUBRARGS[3];
  if (!SCM_INTP(y_scm)) Scm_Error("short required, but got %S", y_scm);
  y = (short)SCM_INT_VALUE(y_scm);
  {
{
u_int SCM_RESULT;

#line 366 "./console.scm"
{DWORD len=SCM_UVECTOR_SIZE(buf);DWORD nread;COORD coord;
(coord).X=(x),(coord).Y=(y);
{BOOL G1760=ReadConsoleOutputAttribute(Scm_WinHandle(handle,SCM_FALSE),
((LPWORD )(SCM_UVECTOR_ELEMENTS(buf))),len,coord,
&(nread));if ((G1760)==(0)){{Scm_SysError("ReadConsoleOutputAttribute failed");}}}
SCM_RESULT=(nread);}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(Scm_MakeIntegerU(SCM_RESULT));
}
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_read_console_output_character(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj handle_scm;
  ScmObj handle;
  ScmObj len_scm;
  u_int len;
  ScmObj x_scm;
  short x;
  ScmObj y_scm;
  short y;
  ScmObj SCM_SUBRARGS[4];
  SCM_ENTER_SUBR("sys-read-console-output-character");
  for (int SCM_i=0; SCM_i<4; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  handle_scm = SCM_SUBRARGS[0];
  if (!(handle_scm)) Scm_Error("scheme object required, but got %S", handle_scm);
  handle = (handle_scm);
  len_scm = SCM_SUBRARGS[1];
  if (!SCM_UINTEGERP(len_scm)) Scm_Error("u_int required, but got %S", len_scm);
  len = Scm_GetIntegerU(len_scm);
  x_scm = SCM_SUBRARGS[2];
  if (!SCM_INTP(x_scm)) Scm_Error("short required, but got %S", x_scm);
  x = (short)SCM_INT_VALUE(x_scm);
  y_scm = SCM_SUBRARGS[3];
  if (!SCM_INTP(y_scm)) Scm_Error("short required, but got %S", y_scm);
  y = (short)SCM_INT_VALUE(y_scm);
  {
{
const char* SCM_RESULT;

#line 378 "./console.scm"
if ((len)>(USHRT_MAX)){{
Scm_Error("ReadConsoleOutputCharacter: length argument too large");}}

#line 380 "./console.scm"
{COORD coord;DWORD nread=0;LPTSTR pbuf=
SCM_NEW_ATOMIC_ARRAY(TCHAR,(len)+(1));
(coord).X=(x),(coord).Y=(y);
{BOOL G1761=ReadConsoleOutputCharacter(Scm_WinHandle(handle,SCM_FALSE),pbuf,len,coord,&(nread));if ((G1761)==(0)){{Scm_SysError("ReadConsoleOutputCharacter failed");}}}
(pbuf)[nread]=(0);
SCM_RESULT=(SCM_WCS2MBS(pbuf));}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_MAKE_STR_COPYING(SCM_RESULT));
}
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_set_console_text_attribute(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj h_scm;
  ScmObj h;
  ScmObj attr_scm;
  u_short attr;
  ScmObj SCM_SUBRARGS[2];
  SCM_ENTER_SUBR("sys-set-console-text-attribute");
  for (int SCM_i=0; SCM_i<2; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  h_scm = SCM_SUBRARGS[0];
  if (!(h_scm)) Scm_Error("scheme object required, but got %S", h_scm);
  h = (h_scm);
  attr_scm = SCM_SUBRARGS[1];
  if (!SCM_UINTEGERP(attr_scm)) Scm_Error("u_short required, but got %S", attr_scm);
  attr = (unsigned short)Scm_GetIntegerU(attr_scm);
  {

#line 388 "./console.scm"
{BOOL G1762=SetConsoleTextAttribute(Scm_WinHandle(h,SCM_FALSE),attr);if ((G1762)==(0)){{Scm_SysError("SetConsoleTextAttribute failed");}}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_set_console_window_info(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj h_scm;
  ScmObj h;
  ScmObj absolute_scm;
  int absolute;
  ScmObj window_scm;
  ScmUVector* window;
  ScmObj SCM_SUBRARGS[3];
  SCM_ENTER_SUBR("sys-set-console-window-info");
  for (int SCM_i=0; SCM_i<3; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  h_scm = SCM_SUBRARGS[0];
  if (!(h_scm)) Scm_Error("scheme object required, but got %S", h_scm);
  h = (h_scm);
  absolute_scm = SCM_SUBRARGS[1];
  if (!SCM_BOOLP(absolute_scm)) Scm_Error("boolean required, but got %S", absolute_scm);
  absolute = SCM_BOOL_VALUE(absolute_scm);
  window_scm = SCM_SUBRARGS[2];
  if (!SCM_S16VECTORP(window_scm)) Scm_Error("<s16vector> required, but got %S", window_scm);
  window = SCM_S16VECTOR(window_scm);
  {

#line 393 "./console.scm"
if ((SCM_UVECTOR_SIZE(window))<(4)){{
Scm_Error("s16vector of minimum length 4 required for window: %S",window);}}

#line 396 "./console.scm"
{BOOL G1763=SetConsoleWindowInfo(Scm_WinHandle(h,SCM_FALSE),absolute,
((SMALL_RECT* )(
SCM_UVECTOR_ELEMENTS(window))));if ((G1763)==(0)){{Scm_SysError("SetConsoleWindowInfo failed");}}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_write_console(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj h_scm;
  ScmObj h;
  ScmObj s_scm;
  ScmString* s;
  ScmObj SCM_SUBRARGS[2];
  SCM_ENTER_SUBR("sys-write-console");
  for (int SCM_i=0; SCM_i<2; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  h_scm = SCM_SUBRARGS[0];
  if (!(h_scm)) Scm_Error("scheme object required, but got %S", h_scm);
  h = (h_scm);
  s_scm = SCM_SUBRARGS[1];
  if (!SCM_STRINGP(s_scm)) Scm_Error("<string> required, but got %S", s_scm);
  s = SCM_STRING(s_scm);
  {
{
u_int SCM_RESULT;

#line 401 "./console.scm"
{LPCTSTR wcs=SCM_MBS2WCS(Scm_GetStringConst(s));DWORD nwritten=0;
#line 403 "./console.scm"
{BOOL G1764=WriteConsole(Scm_WinHandle(h,SCM_FALSE),wcs,
#line 405 "./console.scm"
_tcslen(wcs),
&(nwritten),NULL);if ((G1764)==(0)){{Scm_SysError("WriteConsole failed");}}}
SCM_RESULT=(nwritten);}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(Scm_MakeIntegerU(SCM_RESULT));
}
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_write_console_output_character(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj h_scm;
  ScmObj h;
  ScmObj s_scm;
  ScmString* s;
  ScmObj x_scm;
  short x;
  ScmObj y_scm;
  short y;
  ScmObj SCM_SUBRARGS[4];
  SCM_ENTER_SUBR("sys-write-console-output-character");
  for (int SCM_i=0; SCM_i<4; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  h_scm = SCM_SUBRARGS[0];
  if (!(h_scm)) Scm_Error("scheme object required, but got %S", h_scm);
  h = (h_scm);
  s_scm = SCM_SUBRARGS[1];
  if (!SCM_STRINGP(s_scm)) Scm_Error("<string> required, but got %S", s_scm);
  s = SCM_STRING(s_scm);
  x_scm = SCM_SUBRARGS[2];
  if (!SCM_INTP(x_scm)) Scm_Error("short required, but got %S", x_scm);
  x = (short)SCM_INT_VALUE(x_scm);
  y_scm = SCM_SUBRARGS[3];
  if (!SCM_INTP(y_scm)) Scm_Error("short required, but got %S", y_scm);
  y = (short)SCM_INT_VALUE(y_scm);
  {
{
u_int SCM_RESULT;

#line 412 "./console.scm"
{LPCTSTR wcs=SCM_MBS2WCS(Scm_GetStringConst(s));COORD c;DWORD nwritten=0;
#line 414 "./console.scm"
(c).X=(x),(c).Y=(y);
{BOOL G1765=WriteConsoleOutputCharacter(Scm_WinHandle(h,SCM_FALSE),wcs,
#line 417 "./console.scm"
_tcslen(wcs),c,
&(nwritten));if ((G1765)==(0)){{Scm_SysError("WriteConsoleOutputCharacter failed");}}}
SCM_RESULT=(nwritten);}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(Scm_MakeIntegerU(SCM_RESULT));
}
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_fill_console_output_character(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj h_scm;
  ScmObj h;
  ScmObj c_scm;
  ScmChar c;
  ScmObj len_scm;
  u_int len;
  ScmObj x_scm;
  short x;
  ScmObj y_scm;
  short y;
  ScmObj SCM_SUBRARGS[5];
  SCM_ENTER_SUBR("sys-fill-console-output-character");
  for (int SCM_i=0; SCM_i<5; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  h_scm = SCM_SUBRARGS[0];
  if (!(h_scm)) Scm_Error("scheme object required, but got %S", h_scm);
  h = (h_scm);
  c_scm = SCM_SUBRARGS[1];
  if (!SCM_CHARP(c_scm)) Scm_Error("character required, but got %S", c_scm);
  c = SCM_CHAR_VALUE(c_scm);
  len_scm = SCM_SUBRARGS[2];
  if (!SCM_UINTEGERP(len_scm)) Scm_Error("u_int required, but got %S", len_scm);
  len = Scm_GetIntegerU(len_scm);
  x_scm = SCM_SUBRARGS[3];
  if (!SCM_INTP(x_scm)) Scm_Error("short required, but got %S", x_scm);
  x = (short)SCM_INT_VALUE(x_scm);
  y_scm = SCM_SUBRARGS[4];
  if (!SCM_INTP(y_scm)) Scm_Error("short required, but got %S", y_scm);
  y = (short)SCM_INT_VALUE(y_scm);
  {
{
u_int SCM_RESULT;

#line 424 "./console.scm"
{ScmChar ch=Scm_CharToUcs(c);COORD coord;DWORD nwritten=0;
#line 426 "./console.scm"
(coord).X=(x),(coord).Y=(y);
{BOOL G1766=FillConsoleOutputCharacter(Scm_WinHandle(h,SCM_FALSE),
((TCHAR )(ch)),len,coord,
#line 430 "./console.scm"
&(nwritten));if ((G1766)==(0)){{Scm_SysError("FillConsoleOutputCharacter failed");}}}
SCM_RESULT=(nwritten);}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(Scm_MakeIntegerU(SCM_RESULT));
}
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_fill_console_output_attribute(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj h_scm;
  ScmObj h;
  ScmObj attr_scm;
  u_short attr;
  ScmObj len_scm;
  u_int len;
  ScmObj x_scm;
  short x;
  ScmObj y_scm;
  short y;
  ScmObj SCM_SUBRARGS[5];
  SCM_ENTER_SUBR("sys-fill-console-output-attribute");
  for (int SCM_i=0; SCM_i<5; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  h_scm = SCM_SUBRARGS[0];
  if (!(h_scm)) Scm_Error("scheme object required, but got %S", h_scm);
  h = (h_scm);
  attr_scm = SCM_SUBRARGS[1];
  if (!SCM_UINTEGERP(attr_scm)) Scm_Error("u_short required, but got %S", attr_scm);
  attr = (unsigned short)Scm_GetIntegerU(attr_scm);
  len_scm = SCM_SUBRARGS[2];
  if (!SCM_UINTEGERP(len_scm)) Scm_Error("u_int required, but got %S", len_scm);
  len = Scm_GetIntegerU(len_scm);
  x_scm = SCM_SUBRARGS[3];
  if (!SCM_INTP(x_scm)) Scm_Error("short required, but got %S", x_scm);
  x = (short)SCM_INT_VALUE(x_scm);
  y_scm = SCM_SUBRARGS[4];
  if (!SCM_INTP(y_scm)) Scm_Error("short required, but got %S", y_scm);
  y = (short)SCM_INT_VALUE(y_scm);
  {
{
u_int SCM_RESULT;

#line 436 "./console.scm"
{COORD c;DWORD nwritten=0;
(c).X=(x),(c).Y=(y);
{BOOL G1767=FillConsoleOutputAttribute(Scm_WinHandle(h,SCM_FALSE),attr,len,c,
#line 441 "./console.scm"
&(nwritten));if ((G1767)==(0)){{Scm_SysError("FillConsoleOutputAttribute failed");}}}
SCM_RESULT=(nwritten);}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(Scm_MakeIntegerU(SCM_RESULT));
}
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_flush_console_input_buffer(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj h_scm;
  ScmObj h;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("sys-flush-console-input-buffer");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  h_scm = SCM_SUBRARGS[0];
  if (!(h_scm)) Scm_Error("scheme object required, but got %S", h_scm);
  h = (h_scm);
  {

#line 445 "./console.scm"
{BOOL G1768=FlushConsoleInputBuffer(Scm_WinHandle(h,SCM_FALSE));if ((G1768)==(0)){{Scm_SysError("FlushConsoleInputBuffer failed");}}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_get_console_title(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  SCM_ENTER_SUBR("sys-get-console-title");
  {
{
const char* SCM_RESULT;

#line 451 "./console.scm"
{TCHAR buf[1024];DWORD r=
GetConsoleTitle(buf,1023);
if ((r)==(0)){{Scm_SysError("GetConsoleTitle failed");}}
(buf)[1023]=(0);
SCM_RESULT=(SCM_WCS2MBS(buf));}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_MAKE_STR_COPYING(SCM_RESULT));
}
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_set_console_title(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj s_scm;
  ScmString* s;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("sys-set-console-title");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  s_scm = SCM_SUBRARGS[0];
  if (!SCM_STRINGP(s_scm)) Scm_Error("<string> required, but got %S", s_scm);
  s = SCM_STRING(s_scm);
  {

#line 458 "./console.scm"
{LPCTSTR wcs=SCM_MBS2WCS(Scm_GetStringConst(s));
if ((_tcslen(wcs))>=(1024)){{
Scm_Error("SetConsoleTitle: string argument too long");}}
{BOOL G1769=SetConsoleTitle(wcs);if ((G1769)==(0)){{Scm_SysError("SetConsoleTitle failed");}}}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_get_std_handle(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj which_scm;
  int which;
  ScmObj SCM_SUBRARGS[1];
  SCM_ENTER_SUBR("sys-get-std-handle");
  for (int SCM_i=0; SCM_i<1; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  which_scm = SCM_SUBRARGS[0];
  if (!SCM_INTEGERP(which_scm)) Scm_Error("int required, but got %S", which_scm);
  which = Scm_GetInteger(which_scm);
  {
{
ScmObj SCM_RESULT;

#line 471 "./console.scm"
{HANDLE h=GetStdHandle(((DWORD )(which)));
if ((h)==(INVALID_HANDLE_VALUE)){{
Scm_SysError("GetStdHandle failed");}}
{HANDLE p=GetCurrentProcess();HANDLE h2=INVALID_HANDLE_VALUE;
#line 476 "./console.scm"
if (!(DuplicateHandle(p,h,p,&(h2),0,TRUE,DUPLICATE_SAME_ACCESS))){{
Scm_SysError("DuplicateHandle failed");}}
SCM_RESULT=(Scm_MakeWinHandle(h2,SCM_FALSE));}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

static ScmObj consolesys_set_std_handle(ScmObj *SCM_FP SCM_UNUSED, int SCM_ARGCNT SCM_UNUSED, void *data_ SCM_UNUSED)
{
  ScmObj which_scm;
  int which;
  ScmObj handle_scm;
  ScmObj handle;
  ScmObj SCM_SUBRARGS[2];
  SCM_ENTER_SUBR("sys-set-std-handle");
  for (int SCM_i=0; SCM_i<2; SCM_i++) {
    SCM_SUBRARGS[SCM_i] = SCM_ARGREF(SCM_i);
  }
  which_scm = SCM_SUBRARGS[0];
  if (!SCM_INTEGERP(which_scm)) Scm_Error("int required, but got %S", which_scm);
  which = Scm_GetInteger(which_scm);
  handle_scm = SCM_SUBRARGS[1];
  if (!(handle_scm)) Scm_Error("scheme object required, but got %S", handle_scm);
  handle = (handle_scm);
  {

#line 480 "./console.scm"
{BOOL G1770=SetStdHandle(((DWORD )(which)),Scm_WinHandle(handle,SCM_FALSE));if ((G1770)==(0)){{Scm_SysError("SetStdHandle failed");}}}
goto SCM_STUB_RETURN;
SCM_STUB_RETURN:
SCM_RETURN(SCM_UNDEFINED);
  }
}

#endif /* defined(GAUCHE_WINDOWS) */
static ScmCompiledCode *toplevels[] = {
 NULL /*termination*/
};
SCM_EXTENSION_ENTRY void Scm_Init_console() {
   Scm_SelectModule(SCM_MODULE(SCM_OBJ(Scm_GaucheModule())));
  scm__rc.d1717[1] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1718[0])),TRUE); /* os.windows */
  scm__rc.d1717[0] = SCM_OBJ(Scm_FindModule(SCM_SYMBOL(scm__rc.d1717[1]), SCM_FIND_MODULE_CREATE)); /* module os.windows */
   Scm_SelectModule(SCM_MODULE(scm__rc.d1717[0]));
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[0] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[0])),TRUE); /* sys-alloc-console */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[1] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[1])),TRUE); /* source-info */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[3]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[2] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[3])),TRUE); /* bind-info */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[3] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[4])),TRUE); /* os.windows */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[4]), scm__rc.d1736[0]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[5]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[6]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[4] = Scm_MakeExtendedPair(scm__rc.d1736[0], SCM_NIL, SCM_OBJ(&scm__rc.d1737[8]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[5] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[5])),TRUE); /* -> */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[6] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[6])),TRUE); /* <void> */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[7]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[7]))[4] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[7]))[5] = scm__rc.d1736[6];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-alloc-console")), SCM_OBJ(&consolesys_alloc_console__STUB), 0);
  consolesys_alloc_console__STUB.common.info = scm__rc.d1736[4];
  consolesys_alloc_console__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[7]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[13] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[7])),TRUE); /* sys-free-console */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[11]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[12]), scm__rc.d1736[13]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[13]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[14]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[14] = Scm_MakeExtendedPair(scm__rc.d1736[13], SCM_NIL, SCM_OBJ(&scm__rc.d1737[16]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-free-console")), SCM_OBJ(&consolesys_free_console__STUB), 0);
  consolesys_free_console__STUB.common.info = scm__rc.d1736[14];
  consolesys_free_console__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[7]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[15] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[8])),TRUE); /* CTRL_C_EVENT */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[15]), Scm_MakeInteger(CTRL_C_EVENT), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[16] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[9])),TRUE); /* CTRL_BREAK_EVENT */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[16]), Scm_MakeInteger(CTRL_BREAK_EVENT), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[17] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[10])),TRUE); /* sys-generate-console-ctrl-event */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[18] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[11])),TRUE); /* event */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[19] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[12])),TRUE); /* pgid */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[17]), scm__rc.d1736[19]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[18]), scm__rc.d1736[18]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[21]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[22]), scm__rc.d1736[17]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[23]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[24]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[20] = Scm_MakeExtendedPair(scm__rc.d1736[17], SCM_OBJ(&scm__rc.d1737[18]), SCM_OBJ(&scm__rc.d1737[26]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[21] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[13])),TRUE); /* <int> */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[22] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[14])),TRUE); /* <uint> */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[23]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[23]))[4] = scm__rc.d1736[21];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[23]))[5] = scm__rc.d1736[22];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[23]))[6] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[23]))[7] = scm__rc.d1736[6];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-generate-console-ctrl-event")), SCM_OBJ(&consolesys_generate_console_ctrl_event__STUB), 0);
  consolesys_generate_console_ctrl_event__STUB.common.info = scm__rc.d1736[20];
  consolesys_generate_console_ctrl_event__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[23]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[31] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[15])),TRUE); /* GENERIC_READ */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[31]), Scm_MakeInteger(GENERIC_READ), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[32] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[16])),TRUE); /* GENERIC_WRITE */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[32]), Scm_MakeInteger(GENERIC_WRITE), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[33] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[17])),TRUE); /* FILE_SHARE_READ */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[33]), Scm_MakeInteger(FILE_SHARE_READ), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[34] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[18])),TRUE); /* FILE_SHARE_WRITE */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[34]), Scm_MakeInteger(FILE_SHARE_WRITE), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[35] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[20])),TRUE); /* console-buffer */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[36] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[19])),TRUE); /* sys-create-console-screen-buffer */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[37] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[21])),TRUE); /* desired-access */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[38] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[22])),TRUE); /* share-mode */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[39] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[23])),TRUE); /* inheritable */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[27]), scm__rc.d1736[39]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[28]), scm__rc.d1736[38]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[29]), scm__rc.d1736[37]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[32]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[33]), scm__rc.d1736[36]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[34]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[35]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[40] = Scm_MakeExtendedPair(scm__rc.d1736[36], SCM_OBJ(&scm__rc.d1737[29]), SCM_OBJ(&scm__rc.d1737[37]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[41] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[24])),TRUE); /* <boolean> */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[42] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[25])),TRUE); /* <top> */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[43]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[43]))[4] = scm__rc.d1736[21];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[43]))[5] = scm__rc.d1736[22];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[43]))[6] = scm__rc.d1736[41];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[43]))[7] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[43]))[8] = scm__rc.d1736[42];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-create-console-screen-buffer")), SCM_OBJ(&consolesys_create_console_screen_buffer__STUB), 0);
  consolesys_create_console_screen_buffer__STUB.common.info = scm__rc.d1736[40];
  consolesys_create_console_screen_buffer__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[43]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[52] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[26])),TRUE); /* sys-set-console-active-screen-buffer */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[53] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[27])),TRUE); /* h */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[38]), scm__rc.d1736[53]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[41]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[42]), scm__rc.d1736[52]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[43]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[44]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[54] = Scm_MakeExtendedPair(scm__rc.d1736[52], SCM_OBJ(&scm__rc.d1737[38]), SCM_OBJ(&scm__rc.d1737[46]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[55]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[55]))[4] = scm__rc.d1736[42];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[55]))[5] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[55]))[6] = scm__rc.d1736[6];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-set-console-active-screen-buffer")), SCM_OBJ(&consolesys_set_console_active_screen_buffer__STUB), 0);
  consolesys_set_console_active_screen_buffer__STUB.common.info = scm__rc.d1736[54];
  consolesys_set_console_active_screen_buffer__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[55]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[62] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[28])),TRUE); /* sys-scroll-console-screen-buffer */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[63] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[29])),TRUE); /* handle */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[64] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[30])),TRUE); /* scroll-rectangle */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[65] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[31])),TRUE); /* clip-rectangle */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[66] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[32])),TRUE); /* x */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[67] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[33])),TRUE); /* y */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[68] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[34])),TRUE); /* fill */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[47]), scm__rc.d1736[68]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[48]), scm__rc.d1736[67]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[49]), scm__rc.d1736[66]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[50]), scm__rc.d1736[65]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[51]), scm__rc.d1736[64]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[52]), scm__rc.d1736[63]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[55]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[56]), scm__rc.d1736[62]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[57]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[58]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[69] = Scm_MakeExtendedPair(scm__rc.d1736[62], SCM_OBJ(&scm__rc.d1737[52]), SCM_OBJ(&scm__rc.d1737[60]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[70] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[35])),TRUE); /* <s16vector> */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[71] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[36])),TRUE); /* <s16vector>? */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[72] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[37])),TRUE); /* <short> */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[73] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[38])),TRUE); /* <ulong> */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[74]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[74]))[4] = scm__rc.d1736[42];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[74]))[5] = scm__rc.d1736[70];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[74]))[6] = scm__rc.d1736[71];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[74]))[7] = scm__rc.d1736[72];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[74]))[8] = scm__rc.d1736[72];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[74]))[9] = scm__rc.d1736[73];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[74]))[10] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[74]))[11] = scm__rc.d1736[6];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-scroll-console-screen-buffer")), SCM_OBJ(&consolesys_scroll_console_screen_buffer__STUB), 0);
  consolesys_scroll_console_screen_buffer__STUB.common.info = scm__rc.d1736[69];
  consolesys_scroll_console_screen_buffer__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[74]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[86] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[39])),TRUE); /* sys-get-console-cp */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[63]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[64]), scm__rc.d1736[86]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[65]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[66]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[87] = Scm_MakeExtendedPair(scm__rc.d1736[86], SCM_NIL, SCM_OBJ(&scm__rc.d1737[68]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[88]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[88]))[4] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[88]))[5] = scm__rc.d1736[22];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-get-console-cp")), SCM_OBJ(&consolesys_get_console_cp__STUB), 0);
  consolesys_get_console_cp__STUB.common.info = scm__rc.d1736[87];
  consolesys_get_console_cp__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[88]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[94] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[40])),TRUE); /* sys-get-console-output-cp */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[71]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[72]), scm__rc.d1736[94]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[73]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[74]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[95] = Scm_MakeExtendedPair(scm__rc.d1736[94], SCM_NIL, SCM_OBJ(&scm__rc.d1737[76]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-get-console-output-cp")), SCM_OBJ(&consolesys_get_console_output_cp__STUB), 0);
  consolesys_get_console_output_cp__STUB.common.info = scm__rc.d1736[95];
  consolesys_get_console_output_cp__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[88]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[96] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[41])),TRUE); /* sys-set-console-cp */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[97] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[42])),TRUE); /* cp */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[77]), scm__rc.d1736[97]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[80]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[81]), scm__rc.d1736[96]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[82]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[83]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[98] = Scm_MakeExtendedPair(scm__rc.d1736[96], SCM_OBJ(&scm__rc.d1737[77]), SCM_OBJ(&scm__rc.d1737[85]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[99]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[99]))[4] = scm__rc.d1736[22];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[99]))[5] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[99]))[6] = scm__rc.d1736[6];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-set-console-cp")), SCM_OBJ(&consolesys_set_console_cp__STUB), 0);
  consolesys_set_console_cp__STUB.common.info = scm__rc.d1736[98];
  consolesys_set_console_cp__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[99]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[106] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[43])),TRUE); /* sys-set-console-output-cp */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[88]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[89]), scm__rc.d1736[106]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[90]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[91]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[107] = Scm_MakeExtendedPair(scm__rc.d1736[106], SCM_OBJ(&scm__rc.d1737[77]), SCM_OBJ(&scm__rc.d1737[93]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-set-console-output-cp")), SCM_OBJ(&consolesys_set_console_output_cp__STUB), 0);
  consolesys_set_console_output_cp__STUB.common.info = scm__rc.d1736[107];
  consolesys_set_console_output_cp__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[99]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[108] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[44])),TRUE); /* sys-get-console-cursor-info */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[96]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[97]), scm__rc.d1736[108]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[98]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[99]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[109] = Scm_MakeExtendedPair(scm__rc.d1736[108], SCM_OBJ(&scm__rc.d1737[38]), SCM_OBJ(&scm__rc.d1737[101]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[110]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[110]))[4] = scm__rc.d1736[42];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[110]))[5] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[110]))[6] = scm__rc.d1736[21];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[110]))[7] = scm__rc.d1736[41];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-get-console-cursor-info")), SCM_OBJ(&consolesys_get_console_cursor_info__STUB), 0);
  consolesys_get_console_cursor_info__STUB.common.info = scm__rc.d1736[109];
  consolesys_get_console_cursor_info__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[110]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[118] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[45])),TRUE); /* sys-set-console-cursor-info */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[119] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[46])),TRUE); /* size */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[120] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[47])),TRUE); /* visible */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[102]), scm__rc.d1736[120]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[103]), scm__rc.d1736[119]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[104]), scm__rc.d1736[53]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[107]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[108]), scm__rc.d1736[118]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[109]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[110]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[121] = Scm_MakeExtendedPair(scm__rc.d1736[118], SCM_OBJ(&scm__rc.d1737[104]), SCM_OBJ(&scm__rc.d1737[112]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[122]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[122]))[4] = scm__rc.d1736[42];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[122]))[5] = scm__rc.d1736[21];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[122]))[6] = scm__rc.d1736[41];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[122]))[7] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[122]))[8] = scm__rc.d1736[6];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-set-console-cursor-info")), SCM_OBJ(&consolesys_set_console_cursor_info__STUB), 0);
  consolesys_set_console_cursor_info__STUB.common.info = scm__rc.d1736[121];
  consolesys_set_console_cursor_info__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[122]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[131] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[48])),TRUE); /* sys-set-console-cursor-position */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[113]), scm__rc.d1736[67]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[114]), scm__rc.d1736[66]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[115]), scm__rc.d1736[53]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[118]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[119]), scm__rc.d1736[131]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[120]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[121]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[132] = Scm_MakeExtendedPair(scm__rc.d1736[131], SCM_OBJ(&scm__rc.d1737[115]), SCM_OBJ(&scm__rc.d1737[123]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[133]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[133]))[4] = scm__rc.d1736[42];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[133]))[5] = scm__rc.d1736[72];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[133]))[6] = scm__rc.d1736[72];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[133]))[7] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[133]))[8] = scm__rc.d1736[6];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-set-console-cursor-position")), SCM_OBJ(&consolesys_set_console_cursor_position__STUB), 0);
  consolesys_set_console_cursor_position__STUB.common.info = scm__rc.d1736[132];
  consolesys_set_console_cursor_position__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[133]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[142] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[49])),TRUE); /* ENABLE_LINE_INPUT */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[142]), Scm_MakeInteger(ENABLE_LINE_INPUT), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[143] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[50])),TRUE); /* ENABLE_ECHO_INPUT */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[143]), Scm_MakeInteger(ENABLE_ECHO_INPUT), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[144] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[51])),TRUE); /* ENABLE_PROCESSED_INPUT */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[144]), Scm_MakeInteger(ENABLE_PROCESSED_INPUT), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[145] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[52])),TRUE); /* ENABLE_WINDOW_INPUT */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[145]), Scm_MakeInteger(ENABLE_WINDOW_INPUT), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[146] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[53])),TRUE); /* ENABLE_MOUSE_INPUT */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[146]), Scm_MakeInteger(ENABLE_MOUSE_INPUT), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[147] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[54])),TRUE); /* ENABLE_PROCESSED_OUTPUT */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[147]), Scm_MakeInteger(ENABLE_PROCESSED_OUTPUT), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[148] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[55])),TRUE); /* ENABLE_WRAP_AT_EOL_OUTPUT */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[148]), Scm_MakeInteger(ENABLE_WRAP_AT_EOL_OUTPUT), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[149] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[56])),TRUE); /* sys-get-console-mode */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[126]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[127]), scm__rc.d1736[149]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[128]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[129]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[150] = Scm_MakeExtendedPair(scm__rc.d1736[149], SCM_OBJ(&scm__rc.d1737[38]), SCM_OBJ(&scm__rc.d1737[131]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[151]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[151]))[4] = scm__rc.d1736[42];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[151]))[5] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[151]))[6] = scm__rc.d1736[22];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-get-console-mode")), SCM_OBJ(&consolesys_get_console_mode__STUB), 0);
  consolesys_get_console_mode__STUB.common.info = scm__rc.d1736[150];
  consolesys_get_console_mode__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[151]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[158] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[57])),TRUE); /* sys-set-console-mode */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[159] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[58])),TRUE); /* mode */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[132]), scm__rc.d1736[159]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[133]), scm__rc.d1736[53]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[136]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[137]), scm__rc.d1736[158]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[138]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[139]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[160] = Scm_MakeExtendedPair(scm__rc.d1736[158], SCM_OBJ(&scm__rc.d1737[133]), SCM_OBJ(&scm__rc.d1737[141]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[161]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[161]))[4] = scm__rc.d1736[42];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[161]))[5] = scm__rc.d1736[22];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[161]))[6] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[161]))[7] = scm__rc.d1736[6];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-set-console-mode")), SCM_OBJ(&consolesys_set_console_mode__STUB), 0);
  consolesys_set_console_mode__STUB.common.info = scm__rc.d1736[160];
  consolesys_set_console_mode__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[161]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_InitStaticClassWithMeta(&Scm_WinConsoleScreenBufferInfoClass, "<win:console-screen-buffer-info>", SCM_MODULE(scm__rc.d1717[0]), NULL, SCM_FALSE, Scm_WinConsoleScreenBufferInfoClass__SLOTS, 0);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[169] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[59])),TRUE); /* FOREGROUND_BLUE */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[169]), Scm_MakeInteger(FOREGROUND_BLUE), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[170] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[60])),TRUE); /* FOREGROUND_GREEN */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[170]), Scm_MakeInteger(FOREGROUND_GREEN), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[171] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[61])),TRUE); /* FOREGROUND_RED */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[171]), Scm_MakeInteger(FOREGROUND_RED), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[172] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[62])),TRUE); /* FOREGROUND_INTENSITY */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[172]), Scm_MakeInteger(FOREGROUND_INTENSITY), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[173] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[63])),TRUE); /* BACKGROUND_BLUE */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[173]), Scm_MakeInteger(BACKGROUND_BLUE), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[174] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[64])),TRUE); /* BACKGROUND_GREEN */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[174]), Scm_MakeInteger(BACKGROUND_GREEN), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[175] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[65])),TRUE); /* BACKGROUND_RED */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[175]), Scm_MakeInteger(BACKGROUND_RED), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[176] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[66])),TRUE); /* BACKGROUND_INTENSITY */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[176]), Scm_MakeInteger(BACKGROUND_INTENSITY), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[177] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[67])),TRUE); /* sys-get-console-screen-buffer-info */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[144]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[145]), scm__rc.d1736[177]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[146]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[147]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[178] = Scm_MakeExtendedPair(scm__rc.d1736[177], SCM_OBJ(&scm__rc.d1737[38]), SCM_OBJ(&scm__rc.d1737[149]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[179]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[179]))[4] = scm__rc.d1736[42];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[179]))[5] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[179]))[6] = scm__rc.d1736[42];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-get-console-screen-buffer-info")), SCM_OBJ(&consolesys_get_console_screen_buffer_info__STUB), 0);
  consolesys_get_console_screen_buffer_info__STUB.common.info = scm__rc.d1736[178];
  consolesys_get_console_screen_buffer_info__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[179]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[186] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[68])),TRUE); /* sys-get-largest-console-window-size */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[152]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[153]), scm__rc.d1736[186]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[154]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[155]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[187] = Scm_MakeExtendedPair(scm__rc.d1736[186], SCM_OBJ(&scm__rc.d1737[38]), SCM_OBJ(&scm__rc.d1737[157]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[188]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[188]))[4] = scm__rc.d1736[42];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[188]))[5] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[188]))[6] = scm__rc.d1736[21];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[188]))[7] = scm__rc.d1736[21];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-get-largest-console-window-size")), SCM_OBJ(&consolesys_get_largest_console_window_size__STUB), 0);
  consolesys_get_largest_console_window_size__STUB.common.info = scm__rc.d1736[187];
  consolesys_get_largest_console_window_size__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[188]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[196] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[69])),TRUE); /* sys-set-screen-buffer-size */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[160]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[161]), scm__rc.d1736[196]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[162]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[163]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[197] = Scm_MakeExtendedPair(scm__rc.d1736[196], SCM_OBJ(&scm__rc.d1737[115]), SCM_OBJ(&scm__rc.d1737[165]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-set-screen-buffer-size")), SCM_OBJ(&consolesys_set_screen_buffer_size__STUB), 0);
  consolesys_set_screen_buffer_size__STUB.common.info = scm__rc.d1736[197];
  consolesys_set_screen_buffer_size__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[133]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_InitStaticClassWithMeta(&Scm_WinInputRecordClass, "<win:input-record>", SCM_MODULE(scm__rc.d1717[0]), NULL, SCM_FALSE, Scm_WinInputRecordClass__SLOTS, 0);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[198] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[70])),TRUE); /* sys-get-number-of-console-input-events */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[168]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[169]), scm__rc.d1736[198]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[170]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[171]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[199] = Scm_MakeExtendedPair(scm__rc.d1736[198], SCM_OBJ(&scm__rc.d1737[38]), SCM_OBJ(&scm__rc.d1737[173]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-get-number-of-console-input-events")), SCM_OBJ(&consolesys_get_number_of_console_input_events__STUB), 0);
  consolesys_get_number_of_console_input_events__STUB.common.info = scm__rc.d1736[199];
  consolesys_get_number_of_console_input_events__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[151]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[200] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[71])),TRUE); /* sys-get-number-of-console-mouse-buttons */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[176]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[177]), scm__rc.d1736[200]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[178]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[179]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[201] = Scm_MakeExtendedPair(scm__rc.d1736[200], SCM_NIL, SCM_OBJ(&scm__rc.d1737[181]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-get-number-of-console-mouse-buttons")), SCM_OBJ(&consolesys_get_number_of_console_mouse_buttons__STUB), 0);
  consolesys_get_number_of_console_mouse_buttons__STUB.common.info = scm__rc.d1736[201];
  consolesys_get_number_of_console_mouse_buttons__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[88]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[202] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[72])),TRUE); /* sys-peek-console-input */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[184]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[185]), scm__rc.d1736[202]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[186]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[187]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[203] = Scm_MakeExtendedPair(scm__rc.d1736[202], SCM_OBJ(&scm__rc.d1737[38]), SCM_OBJ(&scm__rc.d1737[189]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-peek-console-input")), SCM_OBJ(&consolesys_peek_console_input__STUB), 0);
  consolesys_peek_console_input__STUB.common.info = scm__rc.d1736[203];
  consolesys_peek_console_input__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[179]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[204] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[73])),TRUE); /* sys-read-console-input */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[192]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[193]), scm__rc.d1736[204]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[194]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[195]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[205] = Scm_MakeExtendedPair(scm__rc.d1736[204], SCM_OBJ(&scm__rc.d1737[38]), SCM_OBJ(&scm__rc.d1737[197]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-read-console-input")), SCM_OBJ(&consolesys_read_console_input__STUB), 0);
  consolesys_read_console_input__STUB.common.info = scm__rc.d1736[205];
  consolesys_read_console_input__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[179]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[206] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[74])),TRUE); /* sys-read-console */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[207] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[75])),TRUE); /* buf */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[198]), scm__rc.d1736[207]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[199]), scm__rc.d1736[53]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[202]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[203]), scm__rc.d1736[206]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[204]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[205]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[208] = Scm_MakeExtendedPair(scm__rc.d1736[206], SCM_OBJ(&scm__rc.d1737[199]), SCM_OBJ(&scm__rc.d1737[207]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[209] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[76])),TRUE); /* <uvector> */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[210]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[210]))[4] = scm__rc.d1736[42];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[210]))[5] = scm__rc.d1736[209];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[210]))[6] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[210]))[7] = scm__rc.d1736[22];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-read-console")), SCM_OBJ(&consolesys_read_console__STUB), 0);
  consolesys_read_console__STUB.common.info = scm__rc.d1736[208];
  consolesys_read_console__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[210]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[218] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[77])),TRUE); /* sys-read-console-output */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[219] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[78])),TRUE); /* w */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[220] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[79])),TRUE); /* region */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[208]), scm__rc.d1736[220]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[209]), scm__rc.d1736[67]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[210]), scm__rc.d1736[66]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[211]), scm__rc.d1736[53]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[212]), scm__rc.d1736[219]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[213]), scm__rc.d1736[207]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[214]), scm__rc.d1736[63]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[217]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[218]), scm__rc.d1736[218]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[219]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[220]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[221] = Scm_MakeExtendedPair(scm__rc.d1736[218], SCM_OBJ(&scm__rc.d1737[214]), SCM_OBJ(&scm__rc.d1737[222]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[222] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[80])),TRUE); /* <u32vector> */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[223]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[223]))[4] = scm__rc.d1736[42];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[223]))[5] = scm__rc.d1736[222];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[223]))[6] = scm__rc.d1736[72];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[223]))[7] = scm__rc.d1736[72];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[223]))[8] = scm__rc.d1736[72];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[223]))[9] = scm__rc.d1736[72];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[223]))[10] = scm__rc.d1736[70];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[223]))[11] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[223]))[12] = scm__rc.d1736[42];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-read-console-output")), SCM_OBJ(&consolesys_read_console_output__STUB), 0);
  consolesys_read_console_output__STUB.common.info = scm__rc.d1736[221];
  consolesys_read_console_output__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[223]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[236] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[81])),TRUE); /* sys-read-console-output-attribute */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[223]), scm__rc.d1736[207]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[224]), scm__rc.d1736[63]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[227]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[228]), scm__rc.d1736[236]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[229]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[230]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[237] = Scm_MakeExtendedPair(scm__rc.d1736[236], SCM_OBJ(&scm__rc.d1737[224]), SCM_OBJ(&scm__rc.d1737[232]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[238] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[82])),TRUE); /* <u16vector> */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[239]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[239]))[4] = scm__rc.d1736[42];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[239]))[5] = scm__rc.d1736[238];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[239]))[6] = scm__rc.d1736[72];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[239]))[7] = scm__rc.d1736[72];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[239]))[8] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[239]))[9] = scm__rc.d1736[22];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-read-console-output-attribute")), SCM_OBJ(&consolesys_read_console_output_attribute__STUB), 0);
  consolesys_read_console_output_attribute__STUB.common.info = scm__rc.d1736[237];
  consolesys_read_console_output_attribute__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[239]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[249] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[83])),TRUE); /* sys-read-console-output-character */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[250] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[84])),TRUE); /* len */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[233]), scm__rc.d1736[250]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[234]), scm__rc.d1736[63]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[237]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[238]), scm__rc.d1736[249]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[239]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[240]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[251] = Scm_MakeExtendedPair(scm__rc.d1736[249], SCM_OBJ(&scm__rc.d1737[234]), SCM_OBJ(&scm__rc.d1737[242]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[252] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[85])),TRUE); /* <const-cstring> */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[253]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[253]))[4] = scm__rc.d1736[42];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[253]))[5] = scm__rc.d1736[22];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[253]))[6] = scm__rc.d1736[72];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[253]))[7] = scm__rc.d1736[72];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[253]))[8] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[253]))[9] = scm__rc.d1736[252];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-read-console-output-character")), SCM_OBJ(&consolesys_read_console_output_character__STUB), 0);
  consolesys_read_console_output_character__STUB.common.info = scm__rc.d1736[251];
  consolesys_read_console_output_character__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[253]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[263] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[86])),TRUE); /* sys-set-console-text-attribute */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[264] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[87])),TRUE); /* attr */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[243]), scm__rc.d1736[264]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[244]), scm__rc.d1736[53]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[247]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[248]), scm__rc.d1736[263]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[249]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[250]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[265] = Scm_MakeExtendedPair(scm__rc.d1736[263], SCM_OBJ(&scm__rc.d1737[244]), SCM_OBJ(&scm__rc.d1737[252]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[266] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[88])),TRUE); /* <ushort> */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[267]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[267]))[4] = scm__rc.d1736[42];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[267]))[5] = scm__rc.d1736[266];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[267]))[6] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[267]))[7] = scm__rc.d1736[6];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-set-console-text-attribute")), SCM_OBJ(&consolesys_set_console_text_attribute__STUB), 0);
  consolesys_set_console_text_attribute__STUB.common.info = scm__rc.d1736[265];
  consolesys_set_console_text_attribute__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[267]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[275] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[89])),TRUE); /* sys-set-console-window-info */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[276] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[90])),TRUE); /* absolute */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[277] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[91])),TRUE); /* window */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[253]), scm__rc.d1736[277]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[254]), scm__rc.d1736[276]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[255]), scm__rc.d1736[53]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[258]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[259]), scm__rc.d1736[275]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[260]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[261]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[278] = Scm_MakeExtendedPair(scm__rc.d1736[275], SCM_OBJ(&scm__rc.d1737[255]), SCM_OBJ(&scm__rc.d1737[263]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[279]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[279]))[4] = scm__rc.d1736[42];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[279]))[5] = scm__rc.d1736[41];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[279]))[6] = scm__rc.d1736[70];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[279]))[7] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[279]))[8] = scm__rc.d1736[6];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-set-console-window-info")), SCM_OBJ(&consolesys_set_console_window_info__STUB), 0);
  consolesys_set_console_window_info__STUB.common.info = scm__rc.d1736[278];
  consolesys_set_console_window_info__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[279]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[288] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[92])),TRUE); /* sys-write-console */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[289] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[93])),TRUE); /* s */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[264]), scm__rc.d1736[289]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[265]), scm__rc.d1736[53]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[268]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[269]), scm__rc.d1736[288]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[270]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[271]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[290] = Scm_MakeExtendedPair(scm__rc.d1736[288], SCM_OBJ(&scm__rc.d1737[265]), SCM_OBJ(&scm__rc.d1737[273]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[291] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[94])),TRUE); /* <string> */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[292]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[292]))[4] = scm__rc.d1736[42];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[292]))[5] = scm__rc.d1736[291];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[292]))[6] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[292]))[7] = scm__rc.d1736[22];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-write-console")), SCM_OBJ(&consolesys_write_console__STUB), 0);
  consolesys_write_console__STUB.common.info = scm__rc.d1736[290];
  consolesys_write_console__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[292]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[300] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[95])),TRUE); /* sys-write-console-output-character */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[274]), scm__rc.d1736[289]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[275]), scm__rc.d1736[53]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[278]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[279]), scm__rc.d1736[300]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[280]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[281]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[301] = Scm_MakeExtendedPair(scm__rc.d1736[300], SCM_OBJ(&scm__rc.d1737[275]), SCM_OBJ(&scm__rc.d1737[283]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[302]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[302]))[4] = scm__rc.d1736[42];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[302]))[5] = scm__rc.d1736[291];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[302]))[6] = scm__rc.d1736[72];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[302]))[7] = scm__rc.d1736[72];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[302]))[8] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[302]))[9] = scm__rc.d1736[22];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-write-console-output-character")), SCM_OBJ(&consolesys_write_console_output_character__STUB), 0);
  consolesys_write_console_output_character__STUB.common.info = scm__rc.d1736[301];
  consolesys_write_console_output_character__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[302]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[312] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[96])),TRUE); /* sys-fill-console-output-character */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[313] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[97])),TRUE); /* c */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[284]), scm__rc.d1736[313]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[285]), scm__rc.d1736[53]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[288]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[289]), scm__rc.d1736[312]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[290]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[291]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[314] = Scm_MakeExtendedPair(scm__rc.d1736[312], SCM_OBJ(&scm__rc.d1737[285]), SCM_OBJ(&scm__rc.d1737[293]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[315] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[98])),TRUE); /* <char> */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[316]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[316]))[4] = scm__rc.d1736[42];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[316]))[5] = scm__rc.d1736[315];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[316]))[6] = scm__rc.d1736[22];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[316]))[7] = scm__rc.d1736[72];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[316]))[8] = scm__rc.d1736[72];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[316]))[9] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[316]))[10] = scm__rc.d1736[22];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-fill-console-output-character")), SCM_OBJ(&consolesys_fill_console_output_character__STUB), 0);
  consolesys_fill_console_output_character__STUB.common.info = scm__rc.d1736[314];
  consolesys_fill_console_output_character__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[316]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[327] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[99])),TRUE); /* sys-fill-console-output-attribute */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[294]), scm__rc.d1736[264]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[295]), scm__rc.d1736[53]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[298]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[299]), scm__rc.d1736[327]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[300]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[301]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[328] = Scm_MakeExtendedPair(scm__rc.d1736[327], SCM_OBJ(&scm__rc.d1737[295]), SCM_OBJ(&scm__rc.d1737[303]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[329]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[329]))[4] = scm__rc.d1736[42];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[329]))[5] = scm__rc.d1736[266];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[329]))[6] = scm__rc.d1736[22];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[329]))[7] = scm__rc.d1736[72];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[329]))[8] = scm__rc.d1736[72];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[329]))[9] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[329]))[10] = scm__rc.d1736[22];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-fill-console-output-attribute")), SCM_OBJ(&consolesys_fill_console_output_attribute__STUB), 0);
  consolesys_fill_console_output_attribute__STUB.common.info = scm__rc.d1736[328];
  consolesys_fill_console_output_attribute__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[329]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[340] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[100])),TRUE); /* sys-flush-console-input-buffer */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[306]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[307]), scm__rc.d1736[340]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[308]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[309]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[341] = Scm_MakeExtendedPair(scm__rc.d1736[340], SCM_OBJ(&scm__rc.d1737[38]), SCM_OBJ(&scm__rc.d1737[311]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-flush-console-input-buffer")), SCM_OBJ(&consolesys_flush_console_input_buffer__STUB), 0);
  consolesys_flush_console_input_buffer__STUB.common.info = scm__rc.d1736[341];
  consolesys_flush_console_input_buffer__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[55]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[342] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[101])),TRUE); /* sys-get-console-title */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[314]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[315]), scm__rc.d1736[342]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[316]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[317]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[343] = Scm_MakeExtendedPair(scm__rc.d1736[342], SCM_NIL, SCM_OBJ(&scm__rc.d1737[319]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[344]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[344]))[4] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[344]))[5] = scm__rc.d1736[252];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-get-console-title")), SCM_OBJ(&consolesys_get_console_title__STUB), 0);
  consolesys_get_console_title__STUB.common.info = scm__rc.d1736[343];
  consolesys_get_console_title__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[344]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[350] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[102])),TRUE); /* sys-set-console-title */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[322]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[323]), scm__rc.d1736[350]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[324]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[325]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[351] = Scm_MakeExtendedPair(scm__rc.d1736[350], SCM_OBJ(&scm__rc.d1737[264]), SCM_OBJ(&scm__rc.d1737[327]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[352]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[352]))[4] = scm__rc.d1736[291];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[352]))[5] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[352]))[6] = scm__rc.d1736[6];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-set-console-title")), SCM_OBJ(&consolesys_set_console_title__STUB), 0);
  consolesys_set_console_title__STUB.common.info = scm__rc.d1736[351];
  consolesys_set_console_title__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[352]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[359] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[103])),TRUE); /* STD_INPUT_HANDLE */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[359]), Scm_MakeInteger(STD_INPUT_HANDLE), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[360] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[104])),TRUE); /* STD_OUTPUT_HANDLE */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[360]), Scm_MakeInteger(STD_OUTPUT_HANDLE), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[361] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[105])),TRUE); /* STD_ERROR_HANDLE */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(scm__rc.d1736[361]), Scm_MakeInteger(STD_ERROR_HANDLE), SCM_BINDING_CONST);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[362] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[106])),TRUE); /* sys-get-std-handle */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[363] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[107])),TRUE); /* which */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[328]), scm__rc.d1736[363]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[331]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[332]), scm__rc.d1736[362]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[333]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[334]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[364] = Scm_MakeExtendedPair(scm__rc.d1736[362], SCM_OBJ(&scm__rc.d1737[328]), SCM_OBJ(&scm__rc.d1737[336]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[365]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[365]))[4] = scm__rc.d1736[21];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[365]))[5] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[365]))[6] = scm__rc.d1736[42];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-get-std-handle")), SCM_OBJ(&consolesys_get_std_handle__STUB), 0);
  consolesys_get_std_handle__STUB.common.info = scm__rc.d1736[364];
  consolesys_get_std_handle__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[365]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[372] = Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d1725[108])),TRUE); /* sys-set-std-handle */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[337]), scm__rc.d1736[63]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[338]), scm__rc.d1736[363]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[341]), scm__rc.d1736[1]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[342]), scm__rc.d1736[372]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[343]), scm__rc.d1736[3]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  SCM_SET_CAR(SCM_OBJ(&scm__rc.d1737[344]), scm__rc.d1736[2]);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1736[373] = Scm_MakeExtendedPair(scm__rc.d1736[372], SCM_OBJ(&scm__rc.d1737[338]), SCM_OBJ(&scm__rc.d1737[346]));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[374]))[3] = scm__rc.d1736[3];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[374]))[4] = scm__rc.d1736[21];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[374]))[5] = scm__rc.d1736[42];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[374]))[6] = scm__rc.d1736[5];
  ((ScmObj*)SCM_OBJ(&scm__rc.d1736[374]))[7] = scm__rc.d1736[6];
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(scm__rc.d1717[0]), SCM_SYMBOL(SCM_INTERN("sys-set-std-handle")), SCM_OBJ(&consolesys_set_std_handle__STUB), 0);
  consolesys_set_std_handle__STUB.common.info = scm__rc.d1736[373];
  consolesys_set_std_handle__STUB.common.typeHint = SCM_OBJ(&scm__rc.d1736[374]);
#endif /* defined(GAUCHE_WINDOWS) */
  Scm_VMExecuteToplevels(toplevels);
}
