/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.17u-20030120-1104
 * 
 * This file is not intended to be easily readable and contains a number of 
 * coding conventions designed to improve portability and efficiency. Do not make
 * changes to this file unless you know what you are doing--modify the SWIG 
 * interface file instead. 
 * ----------------------------------------------------------------------------- */


#ifdef __cplusplus
template<class T> class SwigValueWrapper {
    T *tt;
public:
    inline SwigValueWrapper() : tt(0) { }
    inline ~SwigValueWrapper() { if (tt) delete tt; } 
    inline SwigValueWrapper& operator=(const T& t) { tt = new T(t); return *this; }
    inline operator T&() const { return *tt; }
    inline T *operator&() { return tt; }
};                                                    
#endif

/* ruby.swg */
/* Implementation : RUBY */
#define SWIGRUBY 1

#include "ruby.h"

#define NUM2USHRT(n) NUM2UINT(n)
#define NUM2SHRT(n) (\
    (SHRT_MIN <= NUM2INT(n) && NUM2INT(n) <= SHRT_MAX)\
    ? (short)NUM2INT(n)\
    : (rb_raise(rb_eArgError, "integer %d out of range of `short'",\
               NUM2INT(n)), (short)0)\
)

/* Ruby 1.7 defines NUM2LL(), LL2NUM() and ULL2NUM() macros */
#ifndef NUM2LL
#define NUM2LL(x) NUM2LONG((x))
#endif
#ifndef LL2NUM
#define LL2NUM(x) INT2NUM((long) (x))
#endif
#ifndef ULL2NUM
#define ULL2NUM(x) UINT2NUM((unsigned long) (x))
#endif

/* Ruby 1.7 doesn't (yet) define NUM2ULL() */
#ifndef NUM2ULL
#ifdef HAVE_LONG_LONG
#define NUM2ULL(x) rb_num2ull((x))
#else
#define NUM2ULL(x) NUM2ULONG(x)
#endif
#endif

/*
 * Need to be very careful about how these macros are defined, especially
 * when compiling C++ code or C code with an ANSI C compiler.
 *
 * VALUEFUNC(f) is a macro used to typecast a C function that implements
 * a Ruby method so that it can be passed as an argument to API functions
 * like rb_define_method() and rb_define_singleton_method().
 *
 * VOIDFUNC(f) is a macro used to typecast a C function that implements
 * either the "mark" or "free" stuff for a Ruby Data object, so that it
 * can be passed as an argument to API functions like Data_Wrap_Struct()
 * and Data_Make_Struct().
 */
 
#ifdef __cplusplus
#  ifndef RUBY_METHOD_FUNC /* These definitions should work for Ruby 1.4.6 */
#    define VALUEFUNC(f) ((VALUE (*)()) f)
#    define VOIDFUNC(f)  ((void (*)()) f)
#  else
#    ifndef ANYARGS /* These definitions should work for Ruby 1.6 */
#      define VALUEFUNC(f) ((VALUE (*)()) f)
#      define VOIDFUNC(f)  ((RUBY_DATA_FUNC) f)
#    else /* These definitions should work for Ruby 1.7 */
#      define VALUEFUNC(f) ((VALUE (*)(ANYARGS)) f)
#      define VOIDFUNC(f)  ((RUBY_DATA_FUNC) f)
#    endif
#  endif
#else
#  define VALUEFUNC(f) (f)
#  define VOIDFUNC(f) (f)
#endif

typedef struct {
  VALUE  klass;
  void  (*mark)(void *);
  void  (*destroy)(void *);
} swig_class;

/***********************************************************************
 * common.swg
 *
 *     This file contains generic SWIG runtime support for pointer
 *     type checking as well as a few commonly used macros to control
 *     external linkage.
 *
 * Author : David Beazley (beazley@cs.uchicago.edu)
 *
 * Copyright (c) 1999-2000, The University of Chicago
 * 
 * This file may be freely redistributed without license or fee provided
 * this copyright message remains intact.
 ************************************************************************/

#include <string.h>

#if defined(_WIN32) || defined(__WIN32__)
#       if defined(_MSC_VER)
#               if defined(STATIC_LINKED)
#                       define SWIGEXPORT(a) a
#                       define SWIGIMPORT(a) extern a
#               else
#                       define SWIGEXPORT(a) __declspec(dllexport) a
#                       define SWIGIMPORT(a) extern a
#               endif
#       else
#               if defined(__BORLANDC__)
#                       define SWIGEXPORT(a) a _export
#                       define SWIGIMPORT(a) a _export
#               else
#                       define SWIGEXPORT(a) a
#                       define SWIGIMPORT(a) a
#               endif
#       endif
#else
#       define SWIGEXPORT(a) a
#       define SWIGIMPORT(a) a
#endif

#ifdef SWIG_GLOBAL
#define SWIGRUNTIME(a) SWIGEXPORT(a)
#else
#define SWIGRUNTIME(a) static a
#endif

#ifdef __cplusplus
extern "C" {
#endif

typedef void *(*swig_converter_func)(void *);
typedef struct swig_type_info *(*swig_dycast_func)(void **);

typedef struct swig_type_info {
  const char             *name;                 
  swig_converter_func     converter;
  const char             *str;
  void                   *clientdata;	
  swig_dycast_func        dcast;
  struct swig_type_info  *next;
  struct swig_type_info  *prev;
} swig_type_info;

#ifdef SWIG_NOINCLUDE

SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
SWIGIMPORT(void *)           SWIG_TypeCast(swig_type_info *, void *);
SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
SWIGIMPORT(void)             SWIG_TypeClientData(swig_type_info *, void *);

#else

static swig_type_info *swig_type_list = 0;

/* Register a type mapping with the type-checking */
SWIGRUNTIME(swig_type_info *)
SWIG_TypeRegister(swig_type_info *ti)
{
  swig_type_info *tc, *head, *ret, *next;
  /* Check to see if this type has already been registered */
  tc = swig_type_list;
  while (tc) {
    if (strcmp(tc->name, ti->name) == 0) {
      /* Already exists in the table.  Just add additional types to the list */
      if (tc->clientdata) ti->clientdata = tc->clientdata;	
      head = tc;
      next = tc->next;
      goto l1;
    }
    tc = tc->prev;
  }
  head = ti;
  next = 0;

  /* Place in list */
  ti->prev = swig_type_list;
  swig_type_list = ti;

  /* Build linked lists */
 l1:
  ret = head;
  tc = ti + 1;
  /* Patch up the rest of the links */
  while (tc->name) {
    head->next = tc;
    tc->prev = head;
    head = tc;
    tc++;
  }
  head->next = next;
  return ret;
}

/* Check the typename */
SWIGRUNTIME(swig_type_info *) 
SWIG_TypeCheck(char *c, swig_type_info *ty)
{
  swig_type_info *s;
  if (!ty) return 0;        /* Void pointer */
  s = ty->next;             /* First element always just a name */
  do {
    if (strcmp(s->name,c) == 0) {
      if (s == ty->next) return s;
      /* Move s to the top of the linked list */
      s->prev->next = s->next;
      if (s->next) {
	s->next->prev = s->prev;
      }
      /* Insert s as second element in the list */
      s->next = ty->next;
      if (ty->next) ty->next->prev = s;
      ty->next = s;
      return s;
    }
    s = s->next;
  } while (s && (s != ty->next));
  return 0;
}

/* Cast a pointer up an inheritance hierarchy */
SWIGRUNTIME(void *) 
SWIG_TypeCast(swig_type_info *ty, void *ptr) 
{
  if ((!ty) || (!ty->converter)) return ptr;
  return (*ty->converter)(ptr);
}

/* Dynamic pointer casting. Down an inheritance hierarchy */
SWIGRUNTIME(swig_type_info *) 
SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) 
{
  swig_type_info *lastty = ty;
  if (!ty || !ty->dcast) return ty;
  while (ty && (ty->dcast)) {
     ty = (*ty->dcast)(ptr);
     if (ty) lastty = ty;
  }
  return lastty;
}

/* Search for a swig_type_info structure */
SWIGRUNTIME(swig_type_info *)
SWIG_TypeQuery(const char *name) {
  swig_type_info *ty = swig_type_list;
  while (ty) {
    if (ty->str && (strcmp(name,ty->str) == 0)) return ty;
    if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
    ty = ty->prev;
  }
  return 0;
}

/* Set the clientdata field for a type */
SWIGRUNTIME(void)
SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
  swig_type_info *tc, *equiv;
  if (ti->clientdata == clientdata) return;
  ti->clientdata = clientdata;
  equiv = ti->next;
  while (equiv) {
    if (!equiv->converter) {
      tc = swig_type_list;
      while (tc) {
	if ((strcmp(tc->name, equiv->name) == 0))
	  SWIG_TypeClientData(tc,clientdata);
	tc = tc->prev;
      }
    }
    equiv = equiv->next;
  }
}
#endif

#ifdef __cplusplus
}

#endif

/* rubydef.swg */
#ifdef __cplusplus
extern "C" {
#endif

static VALUE _mSWIG = Qnil;
static VALUE _cSWIG_Pointer = Qnil;

/* Initialize Ruby runtime support */
SWIGRUNTIME(void)
SWIG_InitRuntime(void)
{
    if (_mSWIG == Qnil) {
        _mSWIG = rb_define_module("SWIG");
    }
}

/* Define Ruby class for C type */
SWIGRUNTIME(void)
SWIG_define_class(swig_type_info *type)
{
    VALUE klass;
    char *klass_name = (char *) malloc(4 + strlen(type->name) + 1);
    sprintf(klass_name, "TYPE%s", type->name);
    if (NIL_P(_cSWIG_Pointer)) {
	_cSWIG_Pointer = rb_define_class_under(_mSWIG, "Pointer", rb_cObject);
	rb_undef_method(CLASS_OF(_cSWIG_Pointer), "new");
    }
    klass = rb_define_class_under(_mSWIG, klass_name, _cSWIG_Pointer);
    free((void *) klass_name);
}

/* Create a new pointer object */
SWIGRUNTIME(VALUE)
SWIG_NewPointerObj(void *ptr, swig_type_info *type, int own)
{
    char *klass_name;
    swig_class *sklass;
    VALUE klass;
    VALUE obj;
    
    if (!ptr)
	return Qnil;
    
    if (type->clientdata) {
      sklass = (swig_class *) type->clientdata;
      obj = Data_Wrap_Struct(sklass->klass, VOIDFUNC(sklass->mark), (own ? VOIDFUNC(sklass->destroy) : 0), ptr);
    } else {
      klass_name = (char *) malloc(4 + strlen(type->name) + 1);
      sprintf(klass_name, "TYPE%s", type->name);
      klass = rb_const_get(_mSWIG, rb_intern(klass_name));
      free((void *) klass_name);
      obj = Data_Wrap_Struct(klass, 0, 0, ptr);
    }
    rb_iv_set(obj, "__swigtype__", rb_str_new2(type->name));
    return obj;
}

/* Create a new class instance (always owned) */
SWIGRUNTIME(VALUE)
SWIG_NewClassInstance(VALUE klass, swig_type_info *type)
{
    VALUE obj;
    swig_class *sklass = (swig_class *) type->clientdata;
    obj = Data_Wrap_Struct(klass, VOIDFUNC(sklass->mark), VOIDFUNC(sklass->destroy), 0);
    rb_iv_set(obj, "__swigtype__", rb_str_new2(type->name));
    return obj;
}

/* Get type mangle from class name */
SWIGRUNTIME(char *)
SWIG_MangleStr(VALUE obj)
{
  VALUE stype = rb_iv_get(obj, "__swigtype__");
  return STR2CSTR(stype);
}

/* Convert a pointer value */
SWIGRUNTIME(int)
SWIG_ConvertPtr(VALUE obj, void **ptr, swig_type_info *ty, int flags)
{
  char *c;
  swig_type_info *tc;

  /* Grab the pointer */
  if (NIL_P(obj)) {
    *ptr = 0;
    return 0;
  } else
    Data_Get_Struct(obj, void, *ptr);
  
  /* Do type-checking if type info was provided */
  if (ty) {
    if (ty->clientdata) {
        if (!rb_obj_is_kind_of(obj, ((swig_class *) (ty->clientdata))->klass)) {
          if (flags)
	    rb_raise(rb_eTypeError, "wrong argument type (expected %s)", ty->str);
	  else
	    return -1;
	}
        if (*ptr == 0)
	  rb_raise(rb_eRuntimeError, "This %s already released", ty->str);
    } else {
      if ((c = SWIG_MangleStr(obj)) == NULL) {
        if (flags)
	  rb_raise(rb_eTypeError, "Expected %s", ty->str);
	else
	  return -1;
      }
      tc = SWIG_TypeCheck(c, ty);
      if (!tc) {
        if (flags)
	  rb_raise(rb_eTypeError, "Expected %s", ty->str);
	else
	  return -1;
      }
      *ptr = SWIG_TypeCast(tc, *ptr);
    }
  }
  return 0;
}

/* Check convert */
SWIGRUNTIME(int)
SWIG_CheckConvert(VALUE obj, swig_type_info *ty)
{
  char *c = SWIG_MangleStr(obj);
  if (!c)
    return 0;
  return SWIG_TypeCheck(c,ty) != 0;
}

/* Pack binary data into a string */
SWIGRUNTIME(char *)
SWIG_PackData(char *c, void *ptr, int sz) {
  static char hex[17] = "0123456789abcdef";
  int i;
  unsigned char *u = (unsigned char *) ptr;
  register unsigned char uu;
  for (i = 0; i < sz; i++,u++) {
    uu = *u;
    *(c++) = hex[(uu & 0xf0) >> 4];
    *(c++) = hex[uu & 0xf];
  }
  return c;
}

/* Unpack binary data from a string */
SWIGRUNTIME(char *)
SWIG_UnpackData(char *c, void *ptr, int sz) {
  register unsigned char uu = 0;
  register int d;
  unsigned char *u = (unsigned char *) ptr;
  int i;
  for (i = 0; i < sz; i++, u++) {
    d = *(c++);
    if ((d >= '0') && (d <= '9'))
      uu = ((d - '0') << 4);
    else if ((d >= 'a') && (d <= 'f'))
      uu = ((d - ('a'-10)) << 4);
    d = *(c++);
    if ((d >= '0') && (d <= '9'))
      uu |= (d - '0');
    else if ((d >= 'a') && (d <= 'f'))
      uu |= (d - ('a'-10));
    *u = uu;
  }
  return c;
}

SWIGRUNTIME(VALUE)
SWIG_NewPackedObj(void *ptr, int sz, swig_type_info *type) {
  char result[1024];
  char *r = result;
  if ((2*sz + 1 + strlen(type->name)) > 1000) return 0;
  *(r++) = '_';
  r = SWIG_PackData(r, ptr, sz);
  strcpy(r, type->name);
  return rb_str_new2(result);
}

/* Convert a packed value value */
SWIGRUNTIME(void)
SWIG_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty, int flags) {
  swig_type_info *tc;
  char  *c;

  if (TYPE(obj) != T_STRING) goto type_error;
  c = STR2CSTR(obj);
  /* Pointer values must start with leading underscore */
  if (*c != '_') goto type_error;
  c++;
  c = SWIG_UnpackData(c, ptr, sz);
  if (ty) {
    tc = SWIG_TypeCheck(c, ty);
    if (!tc) goto type_error;
  }
  return;

type_error:

  if (flags) {
    if (ty) {
      rb_raise(rb_eTypeError, "Type error. Expected %s", ty->name);
    } else {
      rb_raise(rb_eTypeError, "Expected a pointer");
    }
  }
}

#ifdef __cplusplus
}
#endif



/* -------- TYPES TABLE (BEGIN) -------- */

#define  SWIGTYPE_p_WSCvpoly swig_types[0] 
#define  SWIGTYPE_p_WSCremoteInstanceData swig_types[1] 
#define  SWIGTYPE_p_WSCpulldownMenu swig_types[2] 
#define  SWIGTYPE_p_WSCvmifield swig_types[3] 
#define  SWIGTYPE_p_WSCvimage swig_types[4] 
#define  SWIGTYPE_p_WSCRbase swig_types[5] 
#define  SWIGTYPE_p_WSCvtimer swig_types[6] 
#define  SWIGTYPE_p_WSCvariant swig_types[7] 
#define  SWIGTYPE_p_WSCvballoonHelp swig_types[8] 
#define  SWIGTYPE_p_WSDimage swig_types[9] 
#define  SWIGTYPE_p_WSCsform swig_types[10] 
#define  SWIGTYPE_p_WSCcolorSet swig_types[11] 
#define  SWIGTYPE_p_WSCtreeList swig_types[12] 
#define  SWIGTYPE_p_WSCvertForm swig_types[13] 
#define  SWIGTYPE_p_WSCtextField swig_types[14] 
#define  SWIGTYPE_p_WSCfontSet swig_types[15] 
#define  SWIGTYPE_p_WSCvtoggle swig_types[16] 
#define  SWIGTYPE_p_WSDkeyboard swig_types[17] 
#define  SWIGTYPE_p_WSCvbarGraph swig_types[18] 
#define  SWIGTYPE_p_WSCmenuArea swig_types[19] 
#define  SWIGTYPE_p_WSCvslider swig_types[20] 
#define  SWIGTYPE_p_WSCvlabel swig_types[21] 
#define  SWIGTYPE_p_WSCvgraphMatrix swig_types[22] 
#define  SWIGTYPE_p_WSCscrForm swig_types[23] 
#define  SWIGTYPE_p_WSCvrect swig_types[24] 
#define  SWIGTYPE_p_WSCvkslabel swig_types[25] 
#define  SWIGTYPE_p_WSCcheckGroup swig_types[26] 
#define  SWIGTYPE_p_WSCvgraphScale swig_types[27] 
#define  SWIGTYPE_p_WSCulong swig_types[28] 
#define  SWIGTYPE_p_void swig_types[29] 
#define  SWIGTYPE_p_WSClist swig_types[30] 
#define  SWIGTYPE_p_WSClistData swig_types[31] 
#define  SWIGTYPE_p_WSCuchar swig_types[32] 
#define  SWIGTYPE_p_WSCvlineGraph swig_types[33] 
#define  SWIGTYPE_p_WSCvradio swig_types[34] 
#define  SWIGTYPE_p_WSCvclock swig_types[35] 
#define  SWIGTYPE_p_WSCbaseList swig_types[36] 
#define  SWIGTYPE_p_WSCworkingDialog swig_types[37] 
#define  SWIGTYPE_p_WSCmessageDialog swig_types[38] 
#define  SWIGTYPE_p_WSCbaseDialog swig_types[39] 
#define  SWIGTYPE_p_WSCvremoteClient swig_types[40] 
#define  SWIGTYPE_p_WSCverbList swig_types[41] 
#define  SWIGTYPE_p_WSCpoint swig_types[42] 
#define  SWIGTYPE_p_WSDfont swig_types[43] 
#define  SWIGTYPE_p_long swig_types[44] 
#define  SWIGTYPE_p_WSCvpolyAttr swig_types[45] 
#define  SWIGTYPE_p_WSCvudpsocket swig_types[46] 
#define  SWIGTYPE_p_WSCbool swig_types[47] 
#define  SWIGTYPE_p_WSCvdrawingArea swig_types[48] 
#define  SWIGTYPE_p_WSCbase swig_types[49] 
#define  SWIGTYPE_p_WSCcomboBox swig_types[50] 
#define  SWIGTYPE_p_WSCvline swig_types[51] 
#define  SWIGTYPE_p_WSCvifield swig_types[52] 
#define  SWIGTYPE_p_WSCvpifield swig_types[53] 
#define  SWIGTYPE_p_WSCnwbase swig_types[54] 
#define  SWIGTYPE_p_WSCvklabel swig_types[55] 
#define  SWIGTYPE_p_WSCvfbtn swig_types[56] 
#define  SWIGTYPE_p_WSCrect swig_types[57] 
#define  SWIGTYPE_p_WSCvremoteServer swig_types[58] 
#define  SWIGTYPE_p_WSDappDev swig_types[59] 
#define  SWIGTYPE_p_WSChorzForm swig_types[60] 
#define  SWIGTYPE_p_WSCvdb swig_types[61] 
#define  SWIGTYPE_p_WSCmainWindow swig_types[62] 
#define  SWIGTYPE_p_WSCwindow swig_types[63] 
#define  SWIGTYPE_p_WSCstring swig_types[64] 
#define  SWIGTYPE_p_WSCvbtn swig_types[65] 
#define  SWIGTYPE_p_WSCwizardDialog swig_types[66] 
#define  SWIGTYPE_p_WSCinputDialog swig_types[67] 
#define  SWIGTYPE_p_WSCdialog swig_types[68] 
#define  SWIGTYPE_p_WSCvmeter swig_types[69] 
#define  SWIGTYPE_p_WSCradioGroup swig_types[70] 
#define  SWIGTYPE_p_WSCindexForm swig_types[71] 
#define  SWIGTYPE_p_WSCoption swig_types[72] 
#define  SWIGTYPE_p_WSCgrid swig_types[73] 
#define  SWIGTYPE_p_WSCvarrow swig_types[74] 
#define  SWIGTYPE_p_WSCvkflabel swig_types[75] 
#define  SWIGTYPE_p_WSCngbase swig_types[76] 
#define  SWIGTYPE_p_WSCimageSet swig_types[77] 
#define  SWIGTYPE_p_WSCvspace swig_types[78] 
#define  SWIGTYPE_p_WSCvscrBar swig_types[79] 
#define  SWIGTYPE_p_WSCvarc swig_types[80] 
#define  SWIGTYPE_p_WSCfileSelect swig_types[81] 
#define  SWIGTYPE_p_WSCvssocket swig_types[82] 
#define  SWIGTYPE_p_WSCvcsocket swig_types[83] 
#define  SWIGTYPE_p_WSDcolor swig_types[84] 
#define  SWIGTYPE_p_WSCform swig_types[85] 
static swig_type_info *swig_types[87];

/* -------- TYPES TABLE (END) -------- */

#define SWIG_init    Init_mpfc
#define SWIG_name    "Mpfc"

VALUE mMpfc;

#include "mpfc.h"


swig_class cWSCpoint;
static void free_WSCpoint(WSCpoint *);

swig_class cWSCrect;
static void free_WSCrect(WSCrect *);

swig_class cWSCstring;
static void free_WSCstring(WSCstring *);

swig_class cWSCvariant;
static void free_WSCvariant(WSCvariant *);

swig_class cWSDappDev;
static void free_WSDappDev(WSDappDev *);
extern WSDappDev *WSGIappDev();
extern int WSGFwsInitialize();
extern void WSGFdeviceInitialize();

swig_class cWSCbase;
static void free_WSCbase(WSCbase *);

swig_class cWSCform;
static void free_WSCform(WSCform *);

swig_class cWSCnwbase;
static void free_WSCnwbase(WSCnwbase *);

swig_class cWSCngbase;
static void free_WSCngbase(WSCngbase *);

swig_class cWSCvlabel;
static void free_WSCvlabel(WSCvlabel *);

swig_class cWSCvbtn;
static void free_WSCvbtn(WSCvbtn *);

swig_class cWSCvfbtn;
static void free_WSCvfbtn(WSCvfbtn *);

swig_class cWSCvklabel;
static void free_WSCvklabel(WSCvklabel *);

swig_class cWSCvkflabel;
static void free_WSCvkflabel(WSCvkflabel *);

swig_class cWSDkeyboard;
static void free_WSDkeyboard(WSDkeyboard *);

swig_class cWSCvifield;
static void free_WSCvifield(WSCvifield *);

swig_class cWSCvkslabel;
static void free_WSCvkslabel(WSCvkslabel *);

swig_class cWSCvmifield;
static void free_WSCvmifield(WSCvmifield *);

swig_class cWSCvpifield;
static void free_WSCvpifield(WSCvpifield *);

swig_class cWSCtextField;
static void free_WSCtextField(WSCtextField *);

swig_class cWSCvarrow;
static void free_WSCvarrow(WSCvarrow *);

swig_class cWSCvscrBar;
static void free_WSCvscrBar(WSCvscrBar *);

swig_class cWSCvpolyAttr;
static void free_WSCvpolyAttr(WSCvpolyAttr *);

swig_class cWSCvmeter;
static void free_WSCvmeter(WSCvmeter *);

swig_class cWSCvclock;
static void free_WSCvclock(WSCvclock *);

swig_class cWSCvslider;
static void free_WSCvslider(WSCvslider *);

swig_class cWSCpulldownMenu;
static void free_WSCpulldownMenu(WSCpulldownMenu *);

swig_class cWSCcomboBox;
static void free_WSCcomboBox(WSCcomboBox *);

swig_class cWSCoption;
static void free_WSCoption(WSCoption *);

swig_class cWSCgrid;
static void free_WSCgrid(WSCgrid *);

swig_class cWSCvimage;
static void free_WSCvimage(WSCvimage *);

swig_class cWSCvrect;
static void free_WSCvrect(WSCvrect *);

swig_class cWSCvarc;
static void free_WSCvarc(WSCvarc *);

swig_class cWSCvpoly;
static void free_WSCvpoly(WSCvpoly *);

swig_class cWSCvline;
static void free_WSCvline(WSCvline *);

swig_class cWSDimage;
static void free_WSDimage(WSDimage *);

swig_class cWSCvdrawingArea;
static void free_WSCvdrawingArea(WSCvdrawingArea *);

swig_class cWSCvbarGraph;
static void free_WSCvbarGraph(WSCvbarGraph *);

swig_class cWSCvlineGraph;
static void free_WSCvlineGraph(WSCvlineGraph *);

swig_class cWSCvgraphScale;
static void free_WSCvgraphScale(WSCvgraphScale *);

swig_class cWSCvgraphMatrix;
static void free_WSCvgraphMatrix(WSCvgraphMatrix *);

swig_class cWSCvtimer;
static void free_WSCvtimer(WSCvtimer *);

swig_class cWSCvspace;
static void free_WSCvspace(WSCvspace *);

swig_class cWSCvballoonHelp;
static void free_WSCvballoonHelp(WSCvballoonHelp *);

swig_class cWSCvcsocket;
static void free_WSCvcsocket(WSCvcsocket *);

swig_class cWSCvssocket;
static void free_WSCvssocket(WSCvssocket *);

swig_class cWSCvudpsocket;
static void free_WSCvudpsocket(WSCvudpsocket *);

swig_class cWSCvremoteClient;
static void free_WSCvremoteClient(WSCvremoteClient *);

swig_class cWSCvremoteServer;
static void free_WSCvremoteServer(WSCvremoteServer *);

swig_class cWSCvdb;
static void free_WSCvdb(WSCvdb *);

swig_class cWSCwindow;
static void free_WSCwindow(WSCwindow *);

swig_class cWSCmainWindow;
static void free_WSCmainWindow(WSCmainWindow *);

swig_class cWSCbaseDialog;
static void free_WSCbaseDialog(WSCbaseDialog *);

swig_class cWSCdialog;
static void free_WSCdialog(WSCdialog *);

swig_class cWSCmessageDialog;
static void free_WSCmessageDialog(WSCmessageDialog *);

swig_class cWSCinputDialog;
static void free_WSCinputDialog(WSCinputDialog *);

swig_class cWSCwizardDialog;
static void free_WSCwizardDialog(WSCwizardDialog *);

swig_class cWSCfileSelect;
static void free_WSCfileSelect(WSCfileSelect *);
extern WSCfileSelect *WSGIappFileSelect();

swig_class cWSCworkingDialog;
static void free_WSCworkingDialog(WSCworkingDialog *);

swig_class cWSCindexForm;
static void free_WSCindexForm(WSCindexForm *);

swig_class cWSCsform;
static void free_WSCsform(WSCsform *);

swig_class cWSCvtoggle;
static void free_WSCvtoggle(WSCvtoggle *);

swig_class cWSCvradio;
static void free_WSCvradio(WSCvradio *);

swig_class cWSCradioGroup;
static void free_WSCradioGroup(WSCradioGroup *);

swig_class cWSCcheckGroup;
static void free_WSCcheckGroup(WSCcheckGroup *);

swig_class cWSCvertForm;
static void free_WSCvertForm(WSCvertForm *);

swig_class cWSChorzForm;
static void free_WSChorzForm(WSChorzForm *);

swig_class cWSCmenuArea;
static void free_WSCmenuArea(WSCmenuArea *);

swig_class cWSCscrForm;
static void free_WSCscrForm(WSCscrForm *);

swig_class cWSClist;
static void free_WSClist(WSClist *);

swig_class cWSCverbList;
static void free_WSCverbList(WSCverbList *);

swig_class cWSCtreeList;
static void free_WSCtreeList(WSCtreeList *);
extern void WSGFsetDefaultEncoding(long);
extern char *WSGFgettext(char *);
extern short WSGFimage(char *);

swig_class cWSDcolor;
static void free_WSDcolor(WSDcolor *);

swig_class cWSCcolorSet;
static void free_WSCcolorSet(WSCcolorSet *);
extern WSCcolorSet *WSGIappColorSet();
extern short WSGFindexColor(char *);
extern char *WSGFcolorName(short);
extern short WSGFcolor(char *);

swig_class cWSCimageSet;
static void free_WSCimageSet(WSCimageSet *);
extern WSCimageSet *WSGIappImageSet();
extern char *WSGFimageName(short);

swig_class cWSDfont;
static void free_WSDfont(WSDfont *);

swig_class cWSCfontSet;
static void free_WSCfontSet(WSCfontSet *);
extern WSCfontSet *WSGIappFontSet();
extern void WSGFdestroyPixmap(char *);
extern void WSGFdestroyPixmap(short);
extern WSCmessageDialog *WSGIappMessageDialog();

swig_class cWSCbaseList;
static void free_WSCbaseList(WSCbaseList *);
extern WSCbaseList *WSGIappObjectList();
static VALUE
_wrap_WSCpoint_x_set(int argc, VALUE *argv, VALUE self) {
    WSCpoint *arg1 = (WSCpoint *) 0 ;
    long arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCpoint, 1);
    arg2 = NUM2LONG(argv[0]);
    if (arg1) (arg1)->x = arg2;
    
    return Qnil;
}


static VALUE
_wrap_WSCpoint_x_get(int argc, VALUE *argv, VALUE self) {
    WSCpoint *arg1 = (WSCpoint *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCpoint, 1);
    result = (long) ((arg1)->x);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCpoint_y_set(int argc, VALUE *argv, VALUE self) {
    WSCpoint *arg1 = (WSCpoint *) 0 ;
    long arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCpoint, 1);
    arg2 = NUM2LONG(argv[0]);
    if (arg1) (arg1)->y = arg2;
    
    return Qnil;
}


static VALUE
_wrap_WSCpoint_y_get(int argc, VALUE *argv, VALUE self) {
    WSCpoint *arg1 = (WSCpoint *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCpoint, 1);
    result = (long) ((arg1)->y);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCpoint_setPoint(int argc, VALUE *argv, VALUE self) {
    WSCpoint *arg1 = (WSCpoint *) 0 ;
    long arg2 ;
    long arg3 ;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCpoint, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    (arg1)->setPoint(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSCpoint_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCpoint);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCpoint(int argc, VALUE *argv, VALUE self) {
    WSCpoint *result;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSCpoint *)new WSCpoint();
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCpoint(WSCpoint *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCrect_x_set(int argc, VALUE *argv, VALUE self) {
    WSCrect *arg1 = (WSCrect *) 0 ;
    long arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCrect, 1);
    arg2 = NUM2LONG(argv[0]);
    if (arg1) (arg1)->x = arg2;
    
    return Qnil;
}


static VALUE
_wrap_WSCrect_x_get(int argc, VALUE *argv, VALUE self) {
    WSCrect *arg1 = (WSCrect *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCrect, 1);
    result = (long) ((arg1)->x);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCrect_y_set(int argc, VALUE *argv, VALUE self) {
    WSCrect *arg1 = (WSCrect *) 0 ;
    long arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCrect, 1);
    arg2 = NUM2LONG(argv[0]);
    if (arg1) (arg1)->y = arg2;
    
    return Qnil;
}


static VALUE
_wrap_WSCrect_y_get(int argc, VALUE *argv, VALUE self) {
    WSCrect *arg1 = (WSCrect *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCrect, 1);
    result = (long) ((arg1)->y);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCrect_width_set(int argc, VALUE *argv, VALUE self) {
    WSCrect *arg1 = (WSCrect *) 0 ;
    WSCulong arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCrect, 1);
    arg2 = NUM2ULONG(argv[0]);
    if (arg1) (arg1)->width = arg2;
    
    return Qnil;
}


static VALUE
_wrap_WSCrect_width_get(int argc, VALUE *argv, VALUE self) {
    WSCrect *arg1 = (WSCrect *) 0 ;
    WSCulong result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCrect, 1);
    result = (WSCulong) ((arg1)->width);
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCrect_height_set(int argc, VALUE *argv, VALUE self) {
    WSCrect *arg1 = (WSCrect *) 0 ;
    WSCulong arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCrect, 1);
    arg2 = NUM2ULONG(argv[0]);
    if (arg1) (arg1)->height = arg2;
    
    return Qnil;
}


static VALUE
_wrap_WSCrect_height_get(int argc, VALUE *argv, VALUE self) {
    WSCrect *arg1 = (WSCrect *) 0 ;
    WSCulong result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCrect, 1);
    result = (WSCulong) ((arg1)->height);
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCrect_setRect__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCrect *arg1 = (WSCrect *) 0 ;
    long arg2 ;
    long arg3 ;
    WSCulong arg4 ;
    WSCulong arg5 ;
    
    if ((argc < 4) || (argc > 4))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCrect, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    arg4 = NUM2ULONG(argv[2]);
    arg5 = NUM2ULONG(argv[3]);
    (arg1)->setRect(arg2,arg3,arg4,arg5);
    
    return Qnil;
}


static VALUE
_wrap_WSCrect_setRect__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCrect *arg1 = (WSCrect *) 0 ;
    WSCrect *arg2 = (WSCrect *) 0 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCrect, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCrect, 1);
    (arg1)->setRect(arg2);
    
    return Qnil;
}


static VALUE _wrap_WSCrect_setRect(int nargs, VALUE *args, VALUE self) {
    int argc;
    VALUE argv[6];
    int ii;
    
    argc = nargs + 1;
    argv[0] = self;
    for (ii = 1; (ii < argc) && (ii < 5); ii++) {
        argv[ii] = args[ii-1];
    }
    if (argc == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCrect, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                void *ptr;
                _v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_WSCrect, 0) != -1)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCrect_setRect__SWIG_1(nargs, args, self);
            }
        }
    }
    if (argc == 5) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCrect, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                {
                    _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0;
                }
                if (_v) {
                    {
                        _v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0;
                    }
                    if (_v) {
                        {
                            _v = ((TYPE(argv[4]) == T_FIXNUM) || (TYPE(argv[4]) == T_BIGNUM)) ? 1 : 0;
                        }
                        if (_v) {
                            return _wrap_WSCrect_setRect__SWIG_0(nargs, args, self);
                        }
                    }
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCrect_setRect'");
    return Qnil;
}


static VALUE
_wrap_WSCrect_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCrect);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCrect(int argc, VALUE *argv, VALUE self) {
    WSCrect *result;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSCrect *)new WSCrect();
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCrect(WSCrect *arg1) {
    delete arg1;
}
static VALUE
_wrap_new_WSCstring__SWIG_0(int argc, VALUE *argv, VALUE self) {
    char *arg1 ;
    WSCstring *result;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    arg1 = STR2CSTR(argv[0]);
    result = (WSCstring *)new WSCstring(arg1);
    DATA_PTR(self) = result;
    return self;
}


static VALUE
_wrap_WSCstring_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCstring);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCstring__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCstring *result;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSCstring *)new WSCstring();
    DATA_PTR(self) = result;
    return self;
}


static VALUE _wrap_new_WSCstring(int nargs, VALUE *args, VALUE self) {
    int argc;
    VALUE argv[1];
    int ii;
    
    argc = nargs;
    for (ii = 0; (ii < argc) && (ii < 1); ii++) {
        argv[ii] = args[ii];
    }
    if (argc == 0) {
        return _wrap_new_WSCstring__SWIG_1(nargs, args, self);
    }
    if (argc == 1) {
        int _v;
        {
            _v = (TYPE(argv[0]) == T_STRING) ? 1 : 0;
        }
        if (_v) {
            return _wrap_new_WSCstring__SWIG_0(nargs, args, self);
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'new_WSCstring'");
    return Qnil;
}


static void
free_WSCstring(WSCstring *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCstring_setString(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 0 ;
    char *arg2 ;
    long arg3 = (long) -2 ;
    
    if ((argc < 1) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCstring, 1);
    arg2 = STR2CSTR(argv[0]);
    if (argc > 1) {
        arg3 = NUM2LONG(argv[1]);
    }
    (arg1)->setString(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSCstring_getString(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 0 ;
    long arg2 = (long) -2 ;
    char *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCstring, 1);
    if (argc > 0) {
        arg2 = NUM2LONG(argv[0]);
    }
    result = (char *)(arg1)->getString(arg2);
    
    vresult = rb_str_new2(result);
    return vresult;
}


static VALUE
_wrap_new_WSCvariant__SWIG_0(int argc, VALUE *argv, VALUE self) {
    long arg1 ;
    WSCvariant *result;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    arg1 = NUM2LONG(argv[0]);
    result = (WSCvariant *)new WSCvariant(arg1);
    DATA_PTR(self) = result;
    return self;
}


static VALUE
_wrap_new_WSCvariant__SWIG_1(int argc, VALUE *argv, VALUE self) {
    double arg1 ;
    WSCvariant *result;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    arg1 = (double) NUM2DBL(argv[0]);
    result = (WSCvariant *)new WSCvariant(arg1);
    DATA_PTR(self) = result;
    return self;
}


static VALUE
_wrap_new_WSCvariant__SWIG_2(int argc, VALUE *argv, VALUE self) {
    WSCvariant *arg1 = 0 ;
    WSCvariant *result;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCvariant, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference");
    result = (WSCvariant *)new WSCvariant((WSCvariant const &)*arg1);
    DATA_PTR(self) = result;
    return self;
}


static VALUE
_wrap_new_WSCvariant__SWIG_3(int argc, VALUE *argv, VALUE self) {
    char *arg1 ;
    WSCvariant *result;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    arg1 = STR2CSTR(argv[0]);
    result = (WSCvariant *)new WSCvariant(arg1);
    DATA_PTR(self) = result;
    return self;
}


static VALUE
_wrap_WSCvariant_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvariant);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvariant__SWIG_4(int argc, VALUE *argv, VALUE self) {
    WSCvariant *result;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSCvariant *)new WSCvariant();
    DATA_PTR(self) = result;
    return self;
}


static VALUE _wrap_new_WSCvariant(int nargs, VALUE *args, VALUE self) {
    int argc;
    VALUE argv[1];
    int ii;
    
    argc = nargs;
    for (ii = 0; (ii < argc) && (ii < 1); ii++) {
        argv[ii] = args[ii];
    }
    if (argc == 0) {
        return _wrap_new_WSCvariant__SWIG_4(nargs, args, self);
    }
    if (argc == 1) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCvariant, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            return _wrap_new_WSCvariant__SWIG_2(nargs, args, self);
        }
    }
    if (argc == 1) {
        int _v;
        {
            _v = ((TYPE(argv[0]) == T_FIXNUM) || (TYPE(argv[0]) == T_BIGNUM)) ? 1 : 0;
        }
        if (_v) {
            return _wrap_new_WSCvariant__SWIG_0(nargs, args, self);
        }
    }
    if (argc == 1) {
        int _v;
        {
            _v = ((TYPE(argv[0]) == T_FLOAT) || (TYPE(argv[0]) == T_FIXNUM) || (TYPE(argv[0]) == T_BIGNUM)) ? 1 : 0;
        }
        if (_v) {
            return _wrap_new_WSCvariant__SWIG_1(nargs, args, self);
        }
    }
    if (argc == 1) {
        int _v;
        {
            _v = (TYPE(argv[0]) == T_STRING) ? 1 : 0;
        }
        if (_v) {
            return _wrap_new_WSCvariant__SWIG_3(nargs, args, self);
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'new_WSCvariant'");
    return Qnil;
}


static void
free_WSCvariant(WSCvariant *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvariant_getChar(int argc, VALUE *argv, VALUE self) {
    WSCvariant *arg1 = (WSCvariant *) 0 ;
    char result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvariant, 1);
    result = (char)(arg1)->getChar();
    
    vresult = rb_str_new(&result,1);
    return vresult;
}


static VALUE
_wrap_WSCvariant_getUnsignedChar(int argc, VALUE *argv, VALUE self) {
    WSCvariant *arg1 = (WSCvariant *) 0 ;
    WSCuchar result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvariant, 1);
    result = (WSCuchar)(arg1)->getUnsignedChar();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvariant_getShort(int argc, VALUE *argv, VALUE self) {
    WSCvariant *arg1 = (WSCvariant *) 0 ;
    short result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvariant, 1);
    result = (short)(arg1)->getShort();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvariant_getUnsignedShort(int argc, VALUE *argv, VALUE self) {
    WSCvariant *arg1 = (WSCvariant *) 0 ;
    WSCushort result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvariant, 1);
    result = (WSCushort)(arg1)->getUnsignedShort();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvariant_getLong(int argc, VALUE *argv, VALUE self) {
    WSCvariant *arg1 = (WSCvariant *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvariant, 1);
    result = (long)(arg1)->getLong();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvariant_getUnsignedLong(int argc, VALUE *argv, VALUE self) {
    WSCvariant *arg1 = (WSCvariant *) 0 ;
    WSCulong result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvariant, 1);
    result = (WSCulong)(arg1)->getUnsignedLong();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvariant_getInt(int argc, VALUE *argv, VALUE self) {
    WSCvariant *arg1 = (WSCvariant *) 0 ;
    int result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvariant, 1);
    result = (int)(arg1)->getInt();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvariant_getUnsignedInt(int argc, VALUE *argv, VALUE self) {
    WSCvariant *arg1 = (WSCvariant *) 0 ;
    WSCuint result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvariant, 1);
    result = (WSCuint)(arg1)->getUnsignedInt();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvariant_getFloat(int argc, VALUE *argv, VALUE self) {
    WSCvariant *arg1 = (WSCvariant *) 0 ;
    float result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvariant, 1);
    result = (float)(arg1)->getFloat();
    
    vresult = rb_float_new(result);
    return vresult;
}


static VALUE
_wrap_WSCvariant_getDouble(int argc, VALUE *argv, VALUE self) {
    WSCvariant *arg1 = (WSCvariant *) 0 ;
    double result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvariant, 1);
    result = (double)(arg1)->getDouble();
    
    vresult = rb_float_new(result);
    return vresult;
}


static VALUE
_wrap_WSCvariant_getCharPtr(int argc, VALUE *argv, VALUE self) {
    WSCvariant *arg1 = (WSCvariant *) 0 ;
    char *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvariant, 1);
    result = (char *)(arg1)->getCharPtr();
    
    vresult = rb_str_new2(result);
    return vresult;
}


static VALUE
_wrap_WSCvariant_setValue__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCvariant *arg1 = (WSCvariant *) 0 ;
    long arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvariant, 1);
    arg2 = NUM2LONG(argv[0]);
    (arg1)->setValue(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCvariant_setValue__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCvariant *arg1 = (WSCvariant *) 0 ;
    char *arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvariant, 1);
    arg2 = STR2CSTR(argv[0]);
    (arg1)->setValue(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCvariant_setValue__SWIG_2(int argc, VALUE *argv, VALUE self) {
    WSCvariant *arg1 = (WSCvariant *) 0 ;
    double arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvariant, 1);
    arg2 = (double) NUM2DBL(argv[0]);
    (arg1)->setValue(arg2);
    
    return Qnil;
}


static VALUE _wrap_WSCvariant_setValue(int nargs, VALUE *args, VALUE self) {
    int argc;
    VALUE argv[3];
    int ii;
    
    argc = nargs + 1;
    argv[0] = self;
    for (ii = 1; (ii < argc) && (ii < 2); ii++) {
        argv[ii] = args[ii-1];
    }
    if (argc == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCvariant, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCvariant_setValue__SWIG_0(nargs, args, self);
            }
        }
    }
    if (argc == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCvariant, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FLOAT) || (TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCvariant_setValue__SWIG_2(nargs, args, self);
            }
        }
    }
    if (argc == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCvariant, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCvariant_setValue__SWIG_1(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCvariant_setValue'");
    return Qnil;
}


static VALUE
_wrap_WSCvariant_getType(int argc, VALUE *argv, VALUE self) {
    WSCvariant *arg1 = (WSCvariant *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvariant, 1);
    result = (long)(arg1)->getType();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvariant_getTypeName(int argc, VALUE *argv, VALUE self) {
    WSCvariant *arg1 = (WSCvariant *) 0 ;
    char *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvariant, 1);
    result = (char *)(arg1)->getTypeName();
    
    vresult = rb_str_new2(result);
    return vresult;
}


static VALUE
_wrap_WSCvariant_clear(int argc, VALUE *argv, VALUE self) {
    WSCvariant *arg1 = (WSCvariant *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvariant, 1);
    (arg1)->clear();
    
    return Qnil;
}


static VALUE
_wrap_WSDappDev_handleEvents(int argc, VALUE *argv, VALUE self) {
    WSDappDev *arg1 = (WSDappDev *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDappDev, 1);
    result = (long)(arg1)->handleEvents();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDappDev_getInstanceName(int argc, VALUE *argv, VALUE self) {
    WSDappDev *arg1 = (WSDappDev *) 0 ;
    char *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDappDev, 1);
    result = (char *)(arg1)->getInstanceName();
    
    vresult = rb_str_new2(result);
    return vresult;
}


static VALUE
_wrap_WSDappDev_getWidth(int argc, VALUE *argv, VALUE self) {
    WSDappDev *arg1 = (WSDappDev *) 0 ;
    WSCushort result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDappDev, 1);
    result = (WSCushort)(arg1)->getWidth();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDappDev_getHeight(int argc, VALUE *argv, VALUE self) {
    WSDappDev *arg1 = (WSDappDev *) 0 ;
    WSCushort result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDappDev, 1);
    result = (WSCushort)(arg1)->getHeight();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDappDev_update(int argc, VALUE *argv, VALUE self) {
    WSDappDev *arg1 = (WSDappDev *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDappDev, 1);
    (arg1)->update();
    
    return Qnil;
}


static VALUE
_wrap_WSDappDev_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSDappDev);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSDappDev(int argc, VALUE *argv, VALUE self) {
    WSDappDev *result;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSDappDev *)WSGIappDev();
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSDappDev(WSDappDev *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSGIappDev(int argc, VALUE *argv, VALUE self) {
    WSDappDev *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSDappDev *)WSGIappDev();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSDappDev,0);
    return vresult;
}


static VALUE
_wrap_WSGFwsInitialize(int argc, VALUE *argv, VALUE self) {
    int result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (int)WSGFwsInitialize();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSGFdeviceInitialize(int argc, VALUE *argv, VALUE self) {
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    WSGFdeviceInitialize();
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCbase);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCbase(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCbase *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCbase *)new WSCbase(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCbase(WSCbase *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCbase_init(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    result = (long)(arg1)->initialize();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_getInitialized(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    result = (WSCbool)(arg1)->getInitialized();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_onMouseIn(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCpoint *arg2 = (WSCpoint *) 0 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCpoint, 1);
    (arg1)->onMouseIn(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_onMouseOut(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    (arg1)->onMouseOut();
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_onMouseMove(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCpoint *arg2 = (WSCpoint *) 0 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCpoint, 1);
    (arg1)->onMouseMove(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_onMousePress(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCpoint *arg2 = (WSCpoint *) 0 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCpoint, 1);
    (arg1)->onMousePress(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_onMouseRelease(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCpoint *arg2 = (WSCpoint *) 0 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCpoint, 1);
    (arg1)->onMouseRelease(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_onExpose(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCrect *arg2 = (WSCrect *) 0 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCrect, 1);
    (arg1)->onExpose(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_onResize(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCrect *arg2 = (WSCrect *) 0 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCrect, 1);
    (arg1)->onResize(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_onVisibleChange(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->onVisibleChange(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_onSensitiveChange(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->onSensitiveChange(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_onParentVisibleChange(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->onParentVisibleChange(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_onParentSensitiveChange(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->onParentSensitiveChange(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_onEditModeChange(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->onEditModeChange(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_onFocusChange(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->onFocusChange(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_onSpecialFocusChange(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->onSpecialFocusChange(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_onChildAdded(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbase *arg2 = (WSCbase *) 0 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCbase, 1);
    (arg1)->onChildAdded(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_onSelectionChange(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->onSelectionChange(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_onGuiPolicyChange(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    long arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = NUM2LONG(argv[0]);
    (arg1)->onGuiPolicyChange(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_onDefaultColorChange(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    (arg1)->onDefaultColorChange();
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_getInstanceName(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    result = (char *)(arg1)->getInstanceName();
    
    vresult = rb_str_new2(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_setVisible(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setVisible(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_getVisible(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    result = (WSCbool)(arg1)->getVisible();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_getProperty(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvariant result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[0]);
    result = (arg1)->getProperty(arg2);
    
    {
        WSCvariant * resultptr;
        resultptr = new WSCvariant((WSCvariant &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCvariant, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCbase_setProperty__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvariant *arg3 = 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[0]);
    SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_WSCvariant, 1); if (arg3 == NULL) rb_raise(rb_eTypeError, "null reference");
    result = (WSCbool)(arg1)->setProperty(arg2,(WSCvariant const &)*arg3);
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_setProperty__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    char *arg3 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[0]);
    arg3 = STR2CSTR(argv[1]);
    result = (WSCbool)(arg1)->setProperty(arg2,arg3);
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_setProperty__SWIG_2(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    int arg3 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[0]);
    arg3 = NUM2INT(argv[1]);
    result = (WSCbool)(arg1)->setProperty(arg2,arg3);
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_setProperty__SWIG_3(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    double arg3 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[0]);
    arg3 = (double) NUM2DBL(argv[1]);
    result = (WSCbool)(arg1)->setProperty(arg2,arg3);
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCbase_setProperty(int nargs, VALUE *args, VALUE self) {
    int argc;
    VALUE argv[4];
    int ii;
    
    argc = nargs + 1;
    argv[0] = self;
    for (ii = 1; (ii < argc) && (ii < 3); ii++) {
        argv[ii] = args[ii-1];
    }
    if (argc == 3) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCbase, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                {
                    void *ptr;
                    _v = (NIL_P(argv[2]) || (TYPE(argv[2]) == T_DATA && SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_WSCvariant, 0) != -1)) ? 1 : 0;
                }
                if (_v) {
                    return _wrap_WSCbase_setProperty__SWIG_0(nargs, args, self);
                }
            }
        }
    }
    if (argc == 3) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCbase, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                {
                    _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0;
                }
                if (_v) {
                    return _wrap_WSCbase_setProperty__SWIG_2(nargs, args, self);
                }
            }
        }
    }
    if (argc == 3) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCbase, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                {
                    _v = ((TYPE(argv[2]) == T_FLOAT) || (TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0;
                }
                if (_v) {
                    return _wrap_WSCbase_setProperty__SWIG_3(nargs, args, self);
                }
            }
        }
    }
    if (argc == 3) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCbase, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                {
                    _v = (TYPE(argv[2]) == T_STRING) ? 1 : 0;
                }
                if (_v) {
                    return _wrap_WSCbase_setProperty__SWIG_1(nargs, args, self);
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCbase_setProperty'");
    return Qnil;
}


static VALUE
_wrap_WSCbase_addProcedure(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    char *arg3 ;
    long arg4 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 3) || (argc > 3))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[0]);
    arg3 = STR2CSTR(argv[1]);
    arg4 = NUM2LONG(argv[2]);
    result = (long)(arg1)->addProcedure(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_setParent(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbase *arg2 = (WSCbase *) 0 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCbase, 1);
    (arg1)->setParent(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_getParent(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbase *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    result = (WSCbase *)(arg1)->getParent();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCbase,0);
    return vresult;
}


static VALUE
_wrap_WSCbase_getParentWindow(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbase *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    result = (WSCbase *)(arg1)->getParentWindow();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCbase,0);
    return vresult;
}


static VALUE
_wrap_WSCbase_setInternalObject(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setInternalObject(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_getInternalObject(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    result = (WSCbool)(arg1)->getInternalObject();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_setDefaultValue(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[0]);
    result = (WSCbool)(arg1)->setDefaultValue(arg2);
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_existProperty(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[0]);
    result = (WSCbool)(arg1)->existProperty(arg2);
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_getDefaultProperty(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    result = (char *)(arg1)->getDefaultProperty();
    
    vresult = rb_str_new2(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_setFocus(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool arg2 = (WSCbool) True ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    if (argc > 0) {
        arg2 = (WSCbool) NUM2INT(argv[0]);
    }
    result = (long)(arg1)->setFocus(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_setSpecialFocus(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool arg2 = (WSCbool) True ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    if (argc > 0) {
        arg2 = (WSCbool) NUM2INT(argv[0]);
    }
    result = (long)(arg1)->setSpecialFocus(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_setParentVisible(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setParentVisible(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_setSensitive(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setSensitive(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_setParentSensitive(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setParentSensitive(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_getParentVisible(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    result = (WSCbool)(arg1)->getParentVisible();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_getSensitive(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    result = (WSCbool)(arg1)->getSensitive();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_getParentSensitive(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    result = (WSCbool)(arg1)->getParentSensitive();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_getFocus(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    result = (WSCbool)(arg1)->getFocus();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_getSpecialFocus(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    result = (WSCbool)(arg1)->getSpecialFocus();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_setAbsoluteDraw(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool arg2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    result = (long)(arg1)->setAbsoluteDraw(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_getAbsoluteDraw(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    result = (WSCbool)(arg1)->getAbsoluteDraw();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_setUserData(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    void *arg3 = (void *) 0 ;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[0]);
    SWIG_ConvertPtr(argv[1], (void **) &arg3, 0, 1);
    (arg1)->setUserData(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_getUserData(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    void *result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[0]);
    result = (void *)(arg1)->getUserData(arg2);
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void,0);
    return vresult;
}


static VALUE
_wrap_WSCbase_setVariantData(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvariant arg3 ;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[0]);
    {
        WSCvariant * ptr;
        SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_WSCvariant, 1);
        if (ptr) arg3 = *ptr;
    }
    (arg1)->setVariantData(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_getVariantData(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvariant *result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[0]);
    {
        WSCvariant &_result_ref = (arg1)->getVariantData(arg2);
        result = (WSCvariant *) &_result_ref;
    }
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCvariant,0);
    return vresult;
}


static VALUE
_wrap_WSCbase_execProcedure__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[0]);
    (arg1)->execProcedure(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_execProcedure__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    long arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = NUM2LONG(argv[0]);
    (arg1)->execProcedure(arg2);
    
    return Qnil;
}


static VALUE _wrap_WSCbase_execProcedure(int nargs, VALUE *args, VALUE self) {
    int argc;
    VALUE argv[3];
    int ii;
    
    argc = nargs + 1;
    argv[0] = self;
    for (ii = 1; (ii < argc) && (ii < 2); ii++) {
        argv[ii] = args[ii-1];
    }
    if (argc == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCbase, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCbase_execProcedure__SWIG_1(nargs, args, self);
            }
        }
    }
    if (argc == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCbase, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCbase_execProcedure__SWIG_0(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCbase_execProcedure'");
    return Qnil;
}


static VALUE
_wrap_WSCbase_draw(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    result = (long)(arg1)->draw();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_clear(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    result = (long)(arg1)->clear();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_redraw(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    result = (long)(arg1)->redraw();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_cdraw(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    result = (long)(arg1)->cdraw();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_getNewInstance(int argc, VALUE *argv, VALUE self) {
    char *arg1 ;
    WSCbase *arg2 = (WSCbase *) 0 ;
    char *arg3 ;
    WSCbase *result;
    VALUE vresult = Qnil;
    
    if ((argc < 3) || (argc > 3))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
    arg1 = STR2CSTR(argv[0]);
    SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_WSCbase, 1);
    arg3 = STR2CSTR(argv[2]);
    result = (WSCbase *)WSCbase::getNewInstance(arg1,arg2,arg3);
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCbase,0);
    return vresult;
}


static VALUE
_wrap_WSCbase_getFocusInstance(int argc, VALUE *argv, VALUE self) {
    WSCbase *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSCbase *)WSCbase::getFocusInstance();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCbase,0);
    return vresult;
}


static VALUE
_wrap_WSCbase_getSpecialFocusInstance(int argc, VALUE *argv, VALUE self) {
    WSCbase *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSCbase *)WSCbase::getSpecialFocusInstance();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCbase,0);
    return vresult;
}


static VALUE
_wrap_WSCform_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCform);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCform(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCform *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCform *)new WSCform(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCform(WSCform *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCnwbase_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCnwbase);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCnwbase(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCnwbase *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCnwbase *)new WSCnwbase(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCnwbase(WSCnwbase *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCngbase_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCngbase);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCngbase(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCngbase *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCngbase *)new WSCngbase(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCngbase(WSCngbase *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvlabel_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvlabel);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvlabel(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvlabel *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvlabel *)new WSCvlabel(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvlabel(WSCvlabel *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvbtn_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvbtn);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvbtn(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvbtn *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvbtn *)new WSCvbtn(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvbtn(WSCvbtn *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvbtn_onKey(int argc, VALUE *argv, VALUE self) {
    WSCvbtn *arg1 = (WSCvbtn *) 0 ;
    WSDkeyboard *arg2 = (WSDkeyboard *) 0 ;
    WSCbool arg3 ;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvbtn, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSDkeyboard, 1);
    arg3 = (WSCbool) NUM2INT(argv[1]);
    (arg1)->onKey(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSCvbtn_onActivate(int argc, VALUE *argv, VALUE self) {
    WSCvbtn *arg1 = (WSCvbtn *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvbtn, 1);
    (arg1)->onActivate();
    
    return Qnil;
}


static VALUE
_wrap_WSCvbtn_setDrawFocusBorder(int argc, VALUE *argv, VALUE self) {
    WSCvbtn *arg1 = (WSCvbtn *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvbtn, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setDrawFocusBorder(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCvfbtn_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvfbtn);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvfbtn(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvfbtn *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvfbtn *)new WSCvfbtn(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvfbtn(WSCvfbtn *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvklabel_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvklabel);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvklabel(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvklabel *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvklabel *)new WSCvklabel(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvklabel(WSCvklabel *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvkflabel_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvkflabel);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvkflabel(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvkflabel *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvkflabel *)new WSCvkflabel(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvkflabel(WSCvkflabel *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSDkeyboard_setKey(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    long arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    arg2 = NUM2LONG(argv[0]);
    (arg1)->setKey(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSDkeyboard_getKey(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    result = (long)(arg1)->getKey();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDkeyboard_withShift(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    result = (WSCbool)(arg1)->withShift();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDkeyboard_withLock(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    result = (WSCbool)(arg1)->withLock();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDkeyboard_withCntl(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    result = (WSCbool)(arg1)->withCntl();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDkeyboard_withAlt(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    result = (WSCbool)(arg1)->withAlt();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDkeyboard_isCursorKey(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    result = (WSCbool)(arg1)->isCursorKey();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDkeyboard_isFuncKey(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    result = (WSCbool)(arg1)->isFuncKey();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDkeyboard_isTtyFunction(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    result = (WSCbool)(arg1)->isTtyFunction();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDkeyboard_getFepStatus(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    result = (WSCbool)(arg1)->getFepStatus();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDkeyboard_getEnableFep(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    result = (WSCbool)(arg1)->getEnableFep();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDkeyboard_isPressed(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    result = (WSCbool)(arg1)->isPressed();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDkeyboard_setWithShift(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setWithShift(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSDkeyboard_setWithLock(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setWithLock(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSDkeyboard_setWithCntl(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setWithCntl(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSDkeyboard_setWithAlt(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setWithAlt(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSDkeyboard_setIsCursorKey(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setIsCursorKey(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSDkeyboard_setIsFuncKey(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setIsFuncKey(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSDkeyboard_setIsTtyFunction(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setIsTtyFunction(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSDkeyboard_setIsPressed(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setIsPressed(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSDkeyboard_getTextString(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    WSCstring *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    result = (WSCstring *)(arg1)->getTextString();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCstring,0);
    return vresult;
}


static VALUE
_wrap_WSDkeyboard_getText(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    long arg2 = (long) -2 ;
    char *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    if (argc > 0) {
        arg2 = NUM2LONG(argv[0]);
    }
    result = (char *)(arg1)->getText(arg2);
    
    vresult = rb_str_new2(result);
    return vresult;
}


static VALUE
_wrap_WSDkeyboard_setSelectedString(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    char *arg2 ;
    long arg3 = (long) -2 ;
    
    if ((argc < 1) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    arg2 = STR2CSTR(argv[0]);
    if (argc > 1) {
        arg3 = NUM2LONG(argv[1]);
    }
    (arg1)->setSelectedString(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSDkeyboard_getSelectedString(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *arg1 = (WSDkeyboard *) 0 ;
    long arg2 = (long) -2 ;
    char *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDkeyboard, 1);
    if (argc > 0) {
        arg2 = NUM2LONG(argv[0]);
    }
    result = (char *)(arg1)->getSelectedString(arg2);
    
    vresult = rb_str_new2(result);
    return vresult;
}


static VALUE
_wrap_WSDkeyboard_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSDkeyboard);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSDkeyboard(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *result;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSDkeyboard *)new WSDkeyboard();
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSDkeyboard(WSDkeyboard *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSGIappKeyboard(int argc, VALUE *argv, VALUE self) {
    WSDkeyboard *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSDkeyboard *)WSGIappKeyboard();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSDkeyboard,0);
    return vresult;
}


static VALUE
_wrap_WSCvifield_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvifield);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvifield(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvifield *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvifield *)new WSCvifield(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvifield(WSCvifield *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvifield_onCursorBlink(int argc, VALUE *argv, VALUE self) {
    WSCvifield *arg1 = (WSCvifield *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvifield, 1);
    (arg1)->onCursorBlink();
    
    return Qnil;
}


static VALUE
_wrap_WSCvifield_onKeyHook(int argc, VALUE *argv, VALUE self) {
    WSCvifield *arg1 = (WSCvifield *) 0 ;
    WSDkeyboard *arg2 = (WSDkeyboard *) 0 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvifield, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSDkeyboard, 1);
    (arg1)->onKeyHook(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCvifield_onKeyInput(int argc, VALUE *argv, VALUE self) {
    WSCvifield *arg1 = (WSCvifield *) 0 ;
    WSDkeyboard *arg2 = (WSDkeyboard *) 0 ;
    WSCbool arg3 ;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvifield, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSDkeyboard, 1);
    arg3 = (WSCbool) NUM2INT(argv[1]);
    (arg1)->onKeyInput(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSCvifield_onKey(int argc, VALUE *argv, VALUE self) {
    WSCvifield *arg1 = (WSCvifield *) 0 ;
    WSDkeyboard *arg2 = (WSDkeyboard *) 0 ;
    WSCbool arg3 ;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvifield, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSDkeyboard, 1);
    arg3 = (WSCbool) NUM2INT(argv[1]);
    (arg1)->onKey(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSCvifield_onActivate(int argc, VALUE *argv, VALUE self) {
    WSCvifield *arg1 = (WSCvifield *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvifield, 1);
    (arg1)->onActivate();
    
    return Qnil;
}


static VALUE
_wrap_WSCvifield_onValueChange(int argc, VALUE *argv, VALUE self) {
    WSCvifield *arg1 = (WSCvifield *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvifield, 1);
    (arg1)->onValueChange();
    
    return Qnil;
}


static VALUE
_wrap_WSCvifield_onSelectionChange(int argc, VALUE *argv, VALUE self) {
    WSCvifield *arg1 = (WSCvifield *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvifield, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->onSelectionChange(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCvifield_onVisibleChange(int argc, VALUE *argv, VALUE self) {
    WSCvifield *arg1 = (WSCvifield *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvifield, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->onVisibleChange(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCvifield_onParentVisibleChange(int argc, VALUE *argv, VALUE self) {
    WSCvifield *arg1 = (WSCvifield *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvifield, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->onParentVisibleChange(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCvifield_setCursorFore(int argc, VALUE *argv, VALUE self) {
    WSCvifield *arg1 = (WSCvifield *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvifield, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setCursorFore(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCvifield_getCursorFore(int argc, VALUE *argv, VALUE self) {
    WSCvifield *arg1 = (WSCvifield *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvifield, 1);
    result = (WSCbool)(arg1)->getCursorFore();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvifield_setCurPos(int argc, VALUE *argv, VALUE self) {
    WSCvifield *arg1 = (WSCvifield *) 0 ;
    long arg2 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvifield, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (WSCbool)(arg1)->setCurPos(arg2);
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvifield_replaceSelectedString(int argc, VALUE *argv, VALUE self) {
    WSCvifield *arg1 = (WSCvifield *) 0 ;
    char *arg2 ;
    long arg3 = (long) -2 ;
    
    if ((argc < 1) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvifield, 1);
    arg2 = STR2CSTR(argv[0]);
    if (argc > 1) {
        arg3 = NUM2LONG(argv[1]);
    }
    (arg1)->replaceSelectedString(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSCvifield_getSelectedString(int argc, VALUE *argv, VALUE self) {
    WSCvifield *arg1 = (WSCvifield *) 0 ;
    WSCstring result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvifield, 1);
    result = (arg1)->getSelectedString();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCvifield_deleteSelectedString(int argc, VALUE *argv, VALUE self) {
    WSCvifield *arg1 = (WSCvifield *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvifield, 1);
    (arg1)->deleteSelectedString();
    
    return Qnil;
}


static VALUE
_wrap_WSCvifield_setSelect(int argc, VALUE *argv, VALUE self) {
    WSCvifield *arg1 = (WSCvifield *) 0 ;
    long arg2 ;
    long arg3 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvifield, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->setSelect(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvifield_getSelectedPos(int argc, VALUE *argv, VALUE self) {
    WSCvifield *arg1 = (WSCvifield *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvifield, 1);
    result = (long)(arg1)->getSelectedPos();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvifield_getString(int argc, VALUE *argv, VALUE self) {
    WSCvifield *arg1 = (WSCvifield *) 0 ;
    WSCstring result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvifield, 1);
    result = (arg1)->getString();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCvifield_addString(int argc, VALUE *argv, VALUE self) {
    WSCvifield *arg1 = (WSCvifield *) 0 ;
    char *arg2 ;
    long arg3 = (long) -2 ;
    
    if ((argc < 1) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvifield, 1);
    arg2 = STR2CSTR(argv[0]);
    if (argc > 1) {
        arg3 = NUM2LONG(argv[1]);
    }
    (arg1)->addString(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSCvkslabel_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvkslabel);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvkslabel(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvkslabel *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvkslabel *)new WSCvkslabel(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvkslabel(WSCvkslabel *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvmifield_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvmifield);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvmifield(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvmifield *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvmifield *)new WSCvmifield(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvmifield(WSCvmifield *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvpifield_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvpifield);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvpifield(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvpifield *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvpifield *)new WSCvpifield(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvpifield(WSCvpifield *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCtextField_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCtextField);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCtextField(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCtextField *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCtextField *)new WSCtextField(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCtextField(WSCtextField *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCtextField_addString(int argc, VALUE *argv, VALUE self) {
    WSCtextField *arg1 = (WSCtextField *) 0 ;
    char *arg2 ;
    long arg3 = (long) -2 ;
    
    if ((argc < 1) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCtextField, 1);
    arg2 = STR2CSTR(argv[0]);
    if (argc > 1) {
        arg3 = NUM2LONG(argv[1]);
    }
    (arg1)->addString(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSCtextField_replaceSelectedString(int argc, VALUE *argv, VALUE self) {
    WSCtextField *arg1 = (WSCtextField *) 0 ;
    char *arg2 ;
    long arg3 = (long) -2 ;
    
    if ((argc < 1) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCtextField, 1);
    arg2 = STR2CSTR(argv[0]);
    if (argc > 1) {
        arg3 = NUM2LONG(argv[1]);
    }
    (arg1)->replaceSelectedString(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSCtextField_getSelectedString(int argc, VALUE *argv, VALUE self) {
    WSCtextField *arg1 = (WSCtextField *) 0 ;
    WSCstring result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCtextField, 1);
    result = (arg1)->getSelectedString();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCtextField_getString(int argc, VALUE *argv, VALUE self) {
    WSCtextField *arg1 = (WSCtextField *) 0 ;
    WSCstring result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCtextField, 1);
    result = (arg1)->getString();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCtextField_deleteSelectedString(int argc, VALUE *argv, VALUE self) {
    WSCtextField *arg1 = (WSCtextField *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCtextField, 1);
    (arg1)->deleteSelectedString();
    
    return Qnil;
}


static VALUE
_wrap_WSCtextField_setSelect(int argc, VALUE *argv, VALUE self) {
    WSCtextField *arg1 = (WSCtextField *) 0 ;
    long arg2 ;
    long arg3 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCtextField, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->setSelect(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCtextField_getSelectedPos(int argc, VALUE *argv, VALUE self) {
    WSCtextField *arg1 = (WSCtextField *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCtextField, 1);
    result = (long)(arg1)->getSelectedPos();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCtextField_getLines(int argc, VALUE *argv, VALUE self) {
    WSCtextField *arg1 = (WSCtextField *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCtextField, 1);
    result = (long)(arg1)->getLines();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCtextField_getTopLine(int argc, VALUE *argv, VALUE self) {
    WSCtextField *arg1 = (WSCtextField *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCtextField, 1);
    result = (long)(arg1)->getTopLine();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCtextField_setTopLine(int argc, VALUE *argv, VALUE self) {
    WSCtextField *arg1 = (WSCtextField *) 0 ;
    long arg2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCtextField, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (long)(arg1)->setTopLine(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCtextField_getBottomLine(int argc, VALUE *argv, VALUE self) {
    WSCtextField *arg1 = (WSCtextField *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCtextField, 1);
    result = (long)(arg1)->getBottomLine();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCtextField_setBottomLine(int argc, VALUE *argv, VALUE self) {
    WSCtextField *arg1 = (WSCtextField *) 0 ;
    long arg2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCtextField, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (long)(arg1)->setBottomLine(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCtextField_getTextFrame(int argc, VALUE *argv, VALUE self) {
    WSCtextField *arg1 = (WSCtextField *) 0 ;
    WSCbase *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCtextField, 1);
    result = (WSCbase *)(arg1)->getTextFrame();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCbase,0);
    return vresult;
}


static VALUE
_wrap_WSCvarrow_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvarrow);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvarrow(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvarrow *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvarrow *)new WSCvarrow(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvarrow(WSCvarrow *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvscrBar_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvscrBar);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvscrBar(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvscrBar *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvscrBar *)new WSCvscrBar(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvscrBar(WSCvscrBar *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvscrBar_onActivate(int argc, VALUE *argv, VALUE self) {
    WSCvscrBar *arg1 = (WSCvscrBar *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvscrBar, 1);
    (arg1)->onActivate();
    
    return Qnil;
}


static VALUE
_wrap_WSCvscrBar_onBegin(int argc, VALUE *argv, VALUE self) {
    WSCvscrBar *arg1 = (WSCvscrBar *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvscrBar, 1);
    (arg1)->onBegin();
    
    return Qnil;
}


static VALUE
_wrap_WSCvscrBar_onEnd(int argc, VALUE *argv, VALUE self) {
    WSCvscrBar *arg1 = (WSCvscrBar *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvscrBar, 1);
    (arg1)->onEnd();
    
    return Qnil;
}


static VALUE
_wrap_WSCvscrBar_onIncrement(int argc, VALUE *argv, VALUE self) {
    WSCvscrBar *arg1 = (WSCvscrBar *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvscrBar, 1);
    (arg1)->onIncrement();
    
    return Qnil;
}


static VALUE
_wrap_WSCvscrBar_onDecrement(int argc, VALUE *argv, VALUE self) {
    WSCvscrBar *arg1 = (WSCvscrBar *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvscrBar, 1);
    (arg1)->onDecrement();
    
    return Qnil;
}


static VALUE
_wrap_WSCvscrBar_onPageIncrement(int argc, VALUE *argv, VALUE self) {
    WSCvscrBar *arg1 = (WSCvscrBar *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvscrBar, 1);
    (arg1)->onPageIncrement();
    
    return Qnil;
}


static VALUE
_wrap_WSCvscrBar_onPageDecrement(int argc, VALUE *argv, VALUE self) {
    WSCvscrBar *arg1 = (WSCvscrBar *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvscrBar, 1);
    (arg1)->onPageDecrement();
    
    return Qnil;
}


static VALUE
_wrap_WSCvscrBar_onValueChange(int argc, VALUE *argv, VALUE self) {
    WSCvscrBar *arg1 = (WSCvscrBar *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvscrBar, 1);
    (arg1)->onValueChange();
    
    return Qnil;
}


static VALUE
_wrap_WSCvscrBar_getMaxSlideValue(int argc, VALUE *argv, VALUE self) {
    WSCvscrBar *arg1 = (WSCvscrBar *) 0 ;
    WSCulong result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvscrBar, 1);
    result = (WSCulong)(arg1)->getMaxSlideValue();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvpolyAttr_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvpolyAttr);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvpolyAttr(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvpolyAttr *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvpolyAttr *)new WSCvpolyAttr(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvpolyAttr(WSCvpolyAttr *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvmeter_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvmeter);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvmeter(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvmeter *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvmeter *)new WSCvmeter(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvmeter(WSCvmeter *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvclock_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvclock);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvclock(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvclock *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvclock *)new WSCvclock(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvclock(WSCvclock *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvslider_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvslider);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvslider(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvslider *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvslider *)new WSCvslider(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvslider(WSCvslider *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvslider_onActivate(int argc, VALUE *argv, VALUE self) {
    WSCvslider *arg1 = (WSCvslider *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvslider, 1);
    (arg1)->onActivate();
    
    return Qnil;
}


static VALUE
_wrap_WSCvslider_onDragInterval(int argc, VALUE *argv, VALUE self) {
    WSCvslider *arg1 = (WSCvslider *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvslider, 1);
    (arg1)->onDragInterval();
    
    return Qnil;
}


static VALUE
_wrap_WSCvslider_onValueChange(int argc, VALUE *argv, VALUE self) {
    WSCvslider *arg1 = (WSCvslider *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvslider, 1);
    (arg1)->onValueChange();
    
    return Qnil;
}


static VALUE
_wrap_WSCpulldownMenu_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCpulldownMenu);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCpulldownMenu(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCpulldownMenu *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCpulldownMenu *)new WSCpulldownMenu(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCpulldownMenu(WSCpulldownMenu *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCpulldownMenu_onActivate(int argc, VALUE *argv, VALUE self) {
    WSCpulldownMenu *arg1 = (WSCpulldownMenu *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCpulldownMenu, 1);
    (arg1)->onActivate();
    
    return Qnil;
}


static VALUE
_wrap_WSCpulldownMenu_setItemSensitive(int argc, VALUE *argv, VALUE self) {
    WSCpulldownMenu *arg1 = (WSCpulldownMenu *) 0 ;
    short arg2 ;
    WSCbool arg3 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCpulldownMenu, 1);
    arg2 = NUM2SHRT(argv[0]);
    arg3 = (WSCbool) NUM2INT(argv[1]);
    result = (long)(arg1)->setItemSensitive(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCpulldownMenu_setValueSensitive(int argc, VALUE *argv, VALUE self) {
    WSCpulldownMenu *arg1 = (WSCpulldownMenu *) 0 ;
    short arg2 ;
    WSCbool arg3 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCpulldownMenu, 1);
    arg2 = NUM2SHRT(argv[0]);
    arg3 = (WSCbool) NUM2INT(argv[1]);
    result = (long)(arg1)->setValueSensitive(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCpulldownMenu_getItemSensitive(int argc, VALUE *argv, VALUE self) {
    WSCpulldownMenu *arg1 = (WSCpulldownMenu *) 0 ;
    WSCbool *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCpulldownMenu, 1);
    result = (WSCbool *)(arg1)->getItemSensitive();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCbool,0);
    return vresult;
}


static VALUE
_wrap_WSCpulldownMenu_getValue(int argc, VALUE *argv, VALUE self) {
    WSCpulldownMenu *arg1 = (WSCpulldownMenu *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCpulldownMenu, 1);
    result = (long)(arg1)->getValue();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCpulldownMenu_getItems(int argc, VALUE *argv, VALUE self) {
    WSCpulldownMenu *arg1 = (WSCpulldownMenu *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCpulldownMenu, 1);
    result = (long)(arg1)->getItems();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCpulldownMenu_beginCascade(int argc, VALUE *argv, VALUE self) {
    WSCpulldownMenu *arg1 = (WSCpulldownMenu *) 0 ;
    char *arg2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCpulldownMenu, 1);
    arg2 = STR2CSTR(argv[0]);
    result = (long)(arg1)->beginCascade(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCpulldownMenu_addItem(int argc, VALUE *argv, VALUE self) {
    WSCpulldownMenu *arg1 = (WSCpulldownMenu *) 0 ;
    char *arg2 ;
    char *arg3 ;
    char *arg4 ;
    long arg5 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 4) || (argc > 4))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCpulldownMenu, 1);
    arg2 = STR2CSTR(argv[0]);
    arg3 = STR2CSTR(argv[1]);
    arg4 = STR2CSTR(argv[2]);
    arg5 = NUM2LONG(argv[3]);
    result = (long)(arg1)->addItem(arg2,arg3,arg4,arg5);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCpulldownMenu_endCascade(int argc, VALUE *argv, VALUE self) {
    WSCpulldownMenu *arg1 = (WSCpulldownMenu *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCpulldownMenu, 1);
    result = (long)(arg1)->endCascade();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCcomboBox_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCcomboBox);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCcomboBox(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCcomboBox *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCcomboBox *)new WSCcomboBox(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCcomboBox(WSCcomboBox *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCcomboBox_onActivate(int argc, VALUE *argv, VALUE self) {
    WSCcomboBox *arg1 = (WSCcomboBox *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCcomboBox, 1);
    (arg1)->onActivate();
    
    return Qnil;
}


static VALUE
_wrap_WSCoption_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCoption);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCoption(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCoption *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCoption *)new WSCoption(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCoption(WSCoption *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCoption_onActivate(int argc, VALUE *argv, VALUE self) {
    WSCoption *arg1 = (WSCoption *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCoption, 1);
    (arg1)->onActivate();
    
    return Qnil;
}


static VALUE
_wrap_WSCoption_onValueChange(int argc, VALUE *argv, VALUE self) {
    WSCoption *arg1 = (WSCoption *) 0 ;
    long arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCoption, 1);
    arg2 = NUM2LONG(argv[0]);
    (arg1)->onValueChange(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCoption_setItemSensitive(int argc, VALUE *argv, VALUE self) {
    WSCoption *arg1 = (WSCoption *) 0 ;
    short arg2 ;
    WSCbool arg3 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCoption, 1);
    arg2 = NUM2SHRT(argv[0]);
    arg3 = (WSCbool) NUM2INT(argv[1]);
    result = (long)(arg1)->setItemSensitive(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCoption_setSelectValue(int argc, VALUE *argv, VALUE self) {
    WSCoption *arg1 = (WSCoption *) 0 ;
    long arg2 ;
    WSCbool arg3 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCoption, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = (WSCbool) NUM2INT(argv[1]);
    result = (long)(arg1)->setSelectValue(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCoption_getValue(int argc, VALUE *argv, VALUE self) {
    WSCoption *arg1 = (WSCoption *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCoption, 1);
    result = (long)(arg1)->getValue();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCoption_getItemValue(int argc, VALUE *argv, VALUE self) {
    WSCoption *arg1 = (WSCoption *) 0 ;
    long arg2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCoption, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (long)(arg1)->getItemValue(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCoption_getSelectStatus(int argc, VALUE *argv, VALUE self) {
    WSCoption *arg1 = (WSCoption *) 0 ;
    WSCbool *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCoption, 1);
    result = (WSCbool *)(arg1)->getSelectStatus();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCbool,0);
    return vresult;
}


static VALUE
_wrap_WSCoption_getItemNum(int argc, VALUE *argv, VALUE self) {
    WSCoption *arg1 = (WSCoption *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCoption, 1);
    result = (long)(arg1)->getItemNum();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCoption_getItems(int argc, VALUE *argv, VALUE self) {
    WSCoption *arg1 = (WSCoption *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCoption, 1);
    result = (long)(arg1)->getItems();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCgrid_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCgrid);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCgrid(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCgrid *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCgrid *)new WSCgrid(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCgrid(WSCgrid *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCgrid_onInputFixed(int argc, VALUE *argv, VALUE self) {
    WSCgrid *arg1 = (WSCgrid *) 0 ;
    WSCvariant *arg2 = (WSCvariant *) 0 ;
    long arg3 ;
    long arg4 ;
    
    if ((argc < 3) || (argc > 3))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCgrid, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCvariant, 1);
    arg3 = NUM2LONG(argv[1]);
    arg4 = NUM2LONG(argv[2]);
    (arg1)->onInputFixed(arg2,arg3,arg4);
    
    return Qnil;
}


static VALUE
_wrap_WSCgrid_getCellNo(int argc, VALUE *argv, VALUE self) {
    WSCgrid *arg1 = (WSCgrid *) 0 ;
    long arg2 ;
    long arg3 ;
    WSCulong *arg4 = (WSCulong *) 0 ;
    WSCulong *arg5 = (WSCulong *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 4) || (argc > 4))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCgrid, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    SWIG_ConvertPtr(argv[2], (void **) &arg4, SWIGTYPE_p_WSCulong, 1);
    SWIG_ConvertPtr(argv[3], (void **) &arg5, SWIGTYPE_p_WSCulong, 1);
    result = (long)(arg1)->getCellNo(arg2,arg3,arg4,arg5);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCgrid_getHColumns(int argc, VALUE *argv, VALUE self) {
    WSCgrid *arg1 = (WSCgrid *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCgrid, 1);
    result = (long)(arg1)->getHColumns();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCgrid_getVColumns(int argc, VALUE *argv, VALUE self) {
    WSCgrid *arg1 = (WSCgrid *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCgrid, 1);
    result = (long)(arg1)->getVColumns();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCgrid_getItem(int argc, VALUE *argv, VALUE self) {
    WSCgrid *arg1 = (WSCgrid *) 0 ;
    WSCulong arg2 ;
    WSCulong arg3 ;
    WSCvariant result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCgrid, 1);
    arg2 = NUM2ULONG(argv[0]);
    arg3 = NUM2ULONG(argv[1]);
    result = (arg1)->getItem(arg2,arg3);
    
    {
        WSCvariant * resultptr;
        resultptr = new WSCvariant((WSCvariant &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCvariant, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCgrid_setItem(int argc, VALUE *argv, VALUE self) {
    WSCgrid *arg1 = (WSCgrid *) 0 ;
    WSCulong arg2 ;
    WSCulong arg3 ;
    WSCvariant arg4 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 3) || (argc > 3))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCgrid, 1);
    arg2 = NUM2ULONG(argv[0]);
    arg3 = NUM2ULONG(argv[1]);
    {
        WSCvariant * ptr;
        SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_WSCvariant, 1);
        if (ptr) arg4 = *ptr;
    }
    result = (long)(arg1)->setItem(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCgrid_getItemAlignment(int argc, VALUE *argv, VALUE self) {
    WSCgrid *arg1 = (WSCgrid *) 0 ;
    WSCulong arg2 ;
    WSCulong arg3 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCgrid, 1);
    arg2 = NUM2ULONG(argv[0]);
    arg3 = NUM2ULONG(argv[1]);
    result = (long)(arg1)->getItemAlignment(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCgrid_setCellForeColor__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCgrid *arg1 = (WSCgrid *) 0 ;
    WSCulong arg2 ;
    WSCulong arg3 ;
    short arg4 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 3) || (argc > 3))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCgrid, 1);
    arg2 = NUM2ULONG(argv[0]);
    arg3 = NUM2ULONG(argv[1]);
    arg4 = NUM2SHRT(argv[2]);
    result = (long)(arg1)->setCellForeColor(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCgrid_setCellBackColor__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCgrid *arg1 = (WSCgrid *) 0 ;
    WSCulong arg2 ;
    WSCulong arg3 ;
    short arg4 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 3) || (argc > 3))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCgrid, 1);
    arg2 = NUM2ULONG(argv[0]);
    arg3 = NUM2ULONG(argv[1]);
    arg4 = NUM2SHRT(argv[2]);
    result = (long)(arg1)->setCellBackColor(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCgrid_setCellForeColor__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCgrid *arg1 = (WSCgrid *) 0 ;
    WSCulong arg2 ;
    WSCulong arg3 ;
    char *arg4 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 3) || (argc > 3))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCgrid, 1);
    arg2 = NUM2ULONG(argv[0]);
    arg3 = NUM2ULONG(argv[1]);
    arg4 = STR2CSTR(argv[2]);
    result = (long)(arg1)->setCellForeColor(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCgrid_setCellForeColor(int nargs, VALUE *args, VALUE self) {
    int argc;
    VALUE argv[5];
    int ii;
    
    argc = nargs + 1;
    argv[0] = self;
    for (ii = 1; (ii < argc) && (ii < 4); ii++) {
        argv[ii] = args[ii-1];
    }
    if (argc == 4) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCgrid, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                {
                    _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0;
                }
                if (_v) {
                    {
                        _v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0;
                    }
                    if (_v) {
                        return _wrap_WSCgrid_setCellForeColor__SWIG_0(nargs, args, self);
                    }
                }
            }
        }
    }
    if (argc == 4) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCgrid, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                {
                    _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0;
                }
                if (_v) {
                    {
                        _v = (TYPE(argv[3]) == T_STRING) ? 1 : 0;
                    }
                    if (_v) {
                        return _wrap_WSCgrid_setCellForeColor__SWIG_1(nargs, args, self);
                    }
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCgrid_setCellForeColor'");
    return Qnil;
}


static VALUE
_wrap_WSCgrid_setCellBackColor__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCgrid *arg1 = (WSCgrid *) 0 ;
    WSCulong arg2 ;
    WSCulong arg3 ;
    char *arg4 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 3) || (argc > 3))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCgrid, 1);
    arg2 = NUM2ULONG(argv[0]);
    arg3 = NUM2ULONG(argv[1]);
    arg4 = STR2CSTR(argv[2]);
    result = (long)(arg1)->setCellBackColor(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCgrid_setCellBackColor(int nargs, VALUE *args, VALUE self) {
    int argc;
    VALUE argv[5];
    int ii;
    
    argc = nargs + 1;
    argv[0] = self;
    for (ii = 1; (ii < argc) && (ii < 4); ii++) {
        argv[ii] = args[ii-1];
    }
    if (argc == 4) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCgrid, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                {
                    _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0;
                }
                if (_v) {
                    {
                        _v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0;
                    }
                    if (_v) {
                        return _wrap_WSCgrid_setCellBackColor__SWIG_0(nargs, args, self);
                    }
                }
            }
        }
    }
    if (argc == 4) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCgrid, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                {
                    _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0;
                }
                if (_v) {
                    {
                        _v = (TYPE(argv[3]) == T_STRING) ? 1 : 0;
                    }
                    if (_v) {
                        return _wrap_WSCgrid_setCellBackColor__SWIG_1(nargs, args, self);
                    }
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCgrid_setCellBackColor'");
    return Qnil;
}


static VALUE
_wrap_WSCgrid_setCellInputStatus(int argc, VALUE *argv, VALUE self) {
    WSCgrid *arg1 = (WSCgrid *) 0 ;
    WSCulong arg2 ;
    WSCulong arg3 ;
    WSCbool arg4 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 3) || (argc > 3))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCgrid, 1);
    arg2 = NUM2ULONG(argv[0]);
    arg3 = NUM2ULONG(argv[1]);
    arg4 = (WSCbool) NUM2INT(argv[2]);
    result = (long)(arg1)->setCellInputStatus(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCgrid_getCellInputStatus(int argc, VALUE *argv, VALUE self) {
    WSCgrid *arg1 = (WSCgrid *) 0 ;
    WSCulong arg2 ;
    WSCulong arg3 ;
    WSCbool *arg4 = (WSCbool *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 3) || (argc > 3))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCgrid, 1);
    arg2 = NUM2ULONG(argv[0]);
    arg3 = NUM2ULONG(argv[1]);
    SWIG_ConvertPtr(argv[2], (void **) &arg4, SWIGTYPE_p_WSCbool, 1);
    result = (long)(arg1)->getCellInputStatus(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCgrid_getFocusedCell(int argc, VALUE *argv, VALUE self) {
    WSCgrid *arg1 = (WSCgrid *) 0 ;
    WSCulong *arg2 = (WSCulong *) 0 ;
    WSCulong *arg3 = (WSCulong *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCgrid, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCulong, 1);
    SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_WSCulong, 1);
    result = (long)(arg1)->getFocusedCell(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCgrid_setFocusedCell(int argc, VALUE *argv, VALUE self) {
    WSCgrid *arg1 = (WSCgrid *) 0 ;
    WSCulong arg2 ;
    WSCulong arg3 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCgrid, 1);
    arg2 = NUM2ULONG(argv[0]);
    arg3 = NUM2ULONG(argv[1]);
    result = (long)(arg1)->setFocusedCell(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvimage_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvimage);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvimage(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvimage *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvimage *)new WSCvimage(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvimage(WSCvimage *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvrect_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvrect);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvrect(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvrect *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvrect *)new WSCvrect(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvrect(WSCvrect *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvarc_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvarc);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvarc(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvarc *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvarc *)new WSCvarc(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvarc(WSCvarc *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvpoly_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvpoly);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvpoly(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvpoly *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvpoly *)new WSCvpoly(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvpoly(WSCvpoly *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvline_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvline);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvline(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvline *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvline *)new WSCvline(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvline(WSCvline *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSDimage_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSDimage);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSDimage(int argc, VALUE *argv, VALUE self) {
    WSDimage *result;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSDimage *)new WSDimage();
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSDimage(WSDimage *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSDimage_destroyImage(int argc, VALUE *argv, VALUE self) {
    WSDimage *arg1 = (WSDimage *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDimage, 1);
    result = (long)(arg1)->destroyImage();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDimage_getImageWidth(int argc, VALUE *argv, VALUE self) {
    WSDimage *arg1 = (WSDimage *) 0 ;
    WSCushort result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDimage, 1);
    result = (WSCushort)(arg1)->getImageWidth();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDimage_getImageHeight(int argc, VALUE *argv, VALUE self) {
    WSDimage *arg1 = (WSDimage *) 0 ;
    WSCushort result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDimage, 1);
    result = (WSCushort)(arg1)->getImageHeight();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDimage_getReady(int argc, VALUE *argv, VALUE self) {
    WSDimage *arg1 = (WSDimage *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDimage, 1);
    result = (WSCbool)(arg1)->getReady();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvdrawingArea);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvdrawingArea(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvdrawingArea *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvdrawingArea *)new WSCvdrawingArea(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvdrawingArea(WSCvdrawingArea *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvdrawingArea_beginDraw(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    result = (long)(arg1)->beginDraw();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_endDraw(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    result = (long)(arg1)->endDraw();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_setForeColor(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    char *arg2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    arg2 = STR2CSTR(argv[0]);
    result = (long)(arg1)->setForeColor(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_setBackColor(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    char *arg2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    arg2 = STR2CSTR(argv[0]);
    result = (long)(arg1)->setBackColor(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_setLineWidth(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    short arg2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    arg2 = NUM2SHRT(argv[0]);
    result = (long)(arg1)->setLineWidth(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_setLineDashType(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    char arg2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    arg2 = NUM2CHR(argv[0]);
    result = (long)(arg1)->setLineDashType(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_setHatchPattern(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    char arg2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    arg2 = NUM2CHR(argv[0]);
    result = (long)(arg1)->setHatchPattern(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_setRegion(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    short arg2 ;
    short arg3 ;
    WSCushort arg4 ;
    WSCushort arg5 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 4) || (argc > 4))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    arg2 = NUM2SHRT(argv[0]);
    arg3 = NUM2SHRT(argv[1]);
    arg4 = NUM2USHRT(argv[2]);
    arg5 = NUM2USHRT(argv[3]);
    result = (long)(arg1)->setRegion(arg2,arg3,arg4,arg5);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_drawArc(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    short arg2 ;
    short arg3 ;
    WSCushort arg4 ;
    WSCushort arg5 ;
    short arg6 ;
    short arg7 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 6) || (argc > 6))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    arg2 = NUM2SHRT(argv[0]);
    arg3 = NUM2SHRT(argv[1]);
    arg4 = NUM2USHRT(argv[2]);
    arg5 = NUM2USHRT(argv[3]);
    arg6 = NUM2SHRT(argv[4]);
    arg7 = NUM2SHRT(argv[5]);
    result = (long)(arg1)->drawArc(arg2,arg3,arg4,arg5,arg6,arg7);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_drawFillArc(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    short arg2 ;
    short arg3 ;
    WSCushort arg4 ;
    WSCushort arg5 ;
    short arg6 ;
    short arg7 ;
    char arg8 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 7) || (argc > 7))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    arg2 = NUM2SHRT(argv[0]);
    arg3 = NUM2SHRT(argv[1]);
    arg4 = NUM2USHRT(argv[2]);
    arg5 = NUM2USHRT(argv[3]);
    arg6 = NUM2SHRT(argv[4]);
    arg7 = NUM2SHRT(argv[5]);
    arg8 = NUM2CHR(argv[6]);
    result = (long)(arg1)->drawFillArc(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_drawLine(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    short arg2 ;
    short arg3 ;
    short arg4 ;
    short arg5 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 4) || (argc > 4))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    arg2 = NUM2SHRT(argv[0]);
    arg3 = NUM2SHRT(argv[1]);
    arg4 = NUM2SHRT(argv[2]);
    arg5 = NUM2SHRT(argv[3]);
    result = (long)(arg1)->drawLine(arg2,arg3,arg4,arg5);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_drawLines(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    WSCpoint *arg2 = (WSCpoint *) 0 ;
    long arg3 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCpoint, 1);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->drawLines(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_drawRect(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    short arg2 ;
    short arg3 ;
    WSCushort arg4 ;
    WSCushort arg5 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 4) || (argc > 4))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    arg2 = NUM2SHRT(argv[0]);
    arg3 = NUM2SHRT(argv[1]);
    arg4 = NUM2USHRT(argv[2]);
    arg5 = NUM2USHRT(argv[3]);
    result = (long)(arg1)->drawRect(arg2,arg3,arg4,arg5);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_drawFillRect(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    short arg2 ;
    short arg3 ;
    WSCushort arg4 ;
    WSCushort arg5 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 4) || (argc > 4))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    arg2 = NUM2SHRT(argv[0]);
    arg3 = NUM2SHRT(argv[1]);
    arg4 = NUM2USHRT(argv[2]);
    arg5 = NUM2USHRT(argv[3]);
    result = (long)(arg1)->drawFillRect(arg2,arg3,arg4,arg5);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_drawRects(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    WSCrect *arg2 = (WSCrect *) 0 ;
    long arg3 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCrect, 1);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->drawRects(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_drawFillRects(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    WSCrect *arg2 = (WSCrect *) 0 ;
    long arg3 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCrect, 1);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->drawFillRects(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_drawPoly(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    WSCpoint *arg2 = (WSCpoint *) 0 ;
    long arg3 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCpoint, 1);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->drawPoly(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_drawFillPoly(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    WSCpoint *arg2 = (WSCpoint *) 0 ;
    long arg3 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCpoint, 1);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->drawFillPoly(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_drawGradation(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    long arg2 ;
    char *arg3 ;
    char *arg4 ;
    char *arg5 ;
    short arg6 ;
    short arg7 ;
    WSCushort arg8 ;
    WSCushort arg9 ;
    WSCuchar arg10 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 9) || (argc > 9))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 9)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = STR2CSTR(argv[1]);
    arg4 = STR2CSTR(argv[2]);
    arg5 = STR2CSTR(argv[3]);
    arg6 = NUM2SHRT(argv[4]);
    arg7 = NUM2SHRT(argv[5]);
    arg8 = NUM2USHRT(argv[6]);
    arg9 = NUM2USHRT(argv[7]);
    arg10 = (WSCuchar) NUM2INT(argv[8]);
    result = (long)(arg1)->drawGradation(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_drawImage(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    short arg2 ;
    short arg3 ;
    WSCushort arg4 ;
    WSCushort arg5 ;
    char *arg6 ;
    char arg7 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 6) || (argc > 6))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    arg2 = NUM2SHRT(argv[0]);
    arg3 = NUM2SHRT(argv[1]);
    arg4 = NUM2USHRT(argv[2]);
    arg5 = NUM2USHRT(argv[3]);
    arg6 = STR2CSTR(argv[4]);
    arg7 = NUM2CHR(argv[5]);
    result = (long)(arg1)->drawImage(arg2,arg3,arg4,arg5,arg6,arg7);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_drawStretchedImage(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    short arg2 ;
    short arg3 ;
    WSCushort arg4 ;
    WSCushort arg5 ;
    char *arg6 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 5) || (argc > 5))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    arg2 = NUM2SHRT(argv[0]);
    arg3 = NUM2SHRT(argv[1]);
    arg4 = NUM2USHRT(argv[2]);
    arg5 = NUM2USHRT(argv[3]);
    arg6 = STR2CSTR(argv[4]);
    result = (long)(arg1)->drawStretchedImage(arg2,arg3,arg4,arg5,arg6);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_drawString(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    long arg2 ;
    long arg3 ;
    WSCulong arg4 ;
    WSCulong arg5 ;
    char arg6 ;
    char arg7 ;
    char *arg8 ;
    long arg9 = (long) -2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 7) || (argc > 8))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    arg4 = NUM2ULONG(argv[2]);
    arg5 = NUM2ULONG(argv[3]);
    arg6 = NUM2CHR(argv[4]);
    arg7 = NUM2CHR(argv[5]);
    arg8 = STR2CSTR(argv[6]);
    if (argc > 7) {
        arg9 = NUM2LONG(argv[7]);
    }
    result = (long)(arg1)->drawString(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdrawingArea_drawFillString(int argc, VALUE *argv, VALUE self) {
    WSCvdrawingArea *arg1 = (WSCvdrawingArea *) 0 ;
    long arg2 ;
    long arg3 ;
    WSCulong arg4 ;
    WSCulong arg5 ;
    char arg6 ;
    char arg7 ;
    char *arg8 ;
    long arg9 = (long) -2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 7) || (argc > 8))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdrawingArea, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    arg4 = NUM2ULONG(argv[2]);
    arg5 = NUM2ULONG(argv[3]);
    arg6 = NUM2CHR(argv[4]);
    arg7 = NUM2CHR(argv[5]);
    arg8 = STR2CSTR(argv[6]);
    if (argc > 7) {
        arg9 = NUM2LONG(argv[7]);
    }
    result = (long)(arg1)->drawFillString(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvbarGraph_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvbarGraph);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvbarGraph(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvbarGraph *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvbarGraph *)new WSCvbarGraph(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvbarGraph(WSCvbarGraph *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvlineGraph_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvlineGraph);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvlineGraph(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvlineGraph *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvlineGraph *)new WSCvlineGraph(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvlineGraph(WSCvlineGraph *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvgraphScale_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvgraphScale);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvgraphScale(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvgraphScale *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvgraphScale *)new WSCvgraphScale(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvgraphScale(WSCvgraphScale *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvgraphMatrix_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvgraphMatrix);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvgraphMatrix(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvgraphMatrix *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvgraphMatrix *)new WSCvgraphMatrix(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvgraphMatrix(WSCvgraphMatrix *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvtimer_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvtimer);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvtimer(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvtimer *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvtimer *)new WSCvtimer(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvtimer(WSCvtimer *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvtimer_onActivate(int argc, VALUE *argv, VALUE self) {
    WSCvtimer *arg1 = (WSCvtimer *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvtimer, 1);
    (arg1)->onActivate();
    
    return Qnil;
}


static VALUE
_wrap_WSCvspace_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvspace);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvspace(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvspace *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvspace *)new WSCvspace(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvspace(WSCvspace *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvballoonHelp_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvballoonHelp);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvballoonHelp(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvballoonHelp *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvballoonHelp *)new WSCvballoonHelp(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvballoonHelp(WSCvballoonHelp *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvcsocket_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvcsocket);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvcsocket(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvcsocket *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvcsocket *)new WSCvcsocket(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvcsocket(WSCvcsocket *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvcsocket_onActivate(int argc, VALUE *argv, VALUE self) {
    WSCvcsocket *arg1 = (WSCvcsocket *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvcsocket, 1);
    (arg1)->onActivate();
    
    return Qnil;
}


static VALUE
_wrap_WSCvcsocket_read(int argc, VALUE *argv, VALUE self) {
    WSCvcsocket *arg1 = (WSCvcsocket *) 0 ;
    WSCuchar *arg2 = (WSCuchar *) 0 ;
    long arg3 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvcsocket, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCuchar, 1);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->read(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvcsocket_write(int argc, VALUE *argv, VALUE self) {
    WSCvcsocket *arg1 = (WSCvcsocket *) 0 ;
    WSCuchar *arg2 = (WSCuchar *) 0 ;
    long arg3 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvcsocket, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCuchar, 1);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->write(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvcsocket_exec(int argc, VALUE *argv, VALUE self) {
    WSCvcsocket *arg1 = (WSCvcsocket *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvcsocket, 1);
    result = (long)(arg1)->exec();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvcsocket_setBindAddr(int argc, VALUE *argv, VALUE self) {
    WSCvcsocket *arg1 = (WSCvcsocket *) 0 ;
    char *arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvcsocket, 1);
    arg2 = STR2CSTR(argv[0]);
    (arg1)->setBindAddr(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCvcsocket_getBindAddr(int argc, VALUE *argv, VALUE self) {
    WSCvcsocket *arg1 = (WSCvcsocket *) 0 ;
    WSCstring result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvcsocket, 1);
    result = (arg1)->getBindAddr();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCvcsocket_getErrorMessage(int argc, VALUE *argv, VALUE self) {
    WSCvcsocket *arg1 = (WSCvcsocket *) 0 ;
    WSCstring result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvcsocket, 1);
    result = (arg1)->getErrorMessage();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCvssocket_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvssocket);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvssocket(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvssocket *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvssocket *)new WSCvssocket(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvssocket(WSCvssocket *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvssocket_onActivate(int argc, VALUE *argv, VALUE self) {
    WSCvssocket *arg1 = (WSCvssocket *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvssocket, 1);
    (arg1)->onActivate();
    
    return Qnil;
}


static VALUE
_wrap_WSCvssocket_read(int argc, VALUE *argv, VALUE self) {
    WSCvssocket *arg1 = (WSCvssocket *) 0 ;
    WSCuchar *arg2 = (WSCuchar *) 0 ;
    long arg3 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvssocket, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCuchar, 1);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->read(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvssocket_write(int argc, VALUE *argv, VALUE self) {
    WSCvssocket *arg1 = (WSCvssocket *) 0 ;
    WSCuchar *arg2 = (WSCuchar *) 0 ;
    long arg3 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvssocket, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCuchar, 1);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->write(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvssocket_getDestAddr(int argc, VALUE *argv, VALUE self) {
    WSCvssocket *arg1 = (WSCvssocket *) 0 ;
    WSCstring result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvssocket, 1);
    result = (arg1)->getDestAddr();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCvssocket_getErrorMessage(int argc, VALUE *argv, VALUE self) {
    WSCvssocket *arg1 = (WSCvssocket *) 0 ;
    WSCstring result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvssocket, 1);
    result = (arg1)->getErrorMessage();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCvudpsocket_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvudpsocket);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvudpsocket(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvudpsocket *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvudpsocket *)new WSCvudpsocket(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvudpsocket(WSCvudpsocket *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvudpsocket_onActivate(int argc, VALUE *argv, VALUE self) {
    WSCvudpsocket *arg1 = (WSCvudpsocket *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvudpsocket, 1);
    (arg1)->onActivate();
    
    return Qnil;
}


static VALUE
_wrap_WSCvudpsocket_read(int argc, VALUE *argv, VALUE self) {
    WSCvudpsocket *arg1 = (WSCvudpsocket *) 0 ;
    WSCuchar *arg2 = (WSCuchar *) 0 ;
    long arg3 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvudpsocket, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCuchar, 1);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->read(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvudpsocket_write(int argc, VALUE *argv, VALUE self) {
    WSCvudpsocket *arg1 = (WSCvudpsocket *) 0 ;
    WSCuchar *arg2 = (WSCuchar *) 0 ;
    long arg3 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvudpsocket, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCuchar, 1);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->write(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvudpsocket_getDestAddr(int argc, VALUE *argv, VALUE self) {
    WSCvudpsocket *arg1 = (WSCvudpsocket *) 0 ;
    WSCstring result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvudpsocket, 1);
    result = (arg1)->getDestAddr();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCvudpsocket_setBindAddr(int argc, VALUE *argv, VALUE self) {
    WSCvudpsocket *arg1 = (WSCvudpsocket *) 0 ;
    char *arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvudpsocket, 1);
    arg2 = STR2CSTR(argv[0]);
    (arg1)->setBindAddr(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCvudpsocket_getBindAddr(int argc, VALUE *argv, VALUE self) {
    WSCvudpsocket *arg1 = (WSCvudpsocket *) 0 ;
    WSCstring result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvudpsocket, 1);
    result = (arg1)->getBindAddr();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCvudpsocket_start(int argc, VALUE *argv, VALUE self) {
    WSCvudpsocket *arg1 = (WSCvudpsocket *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvudpsocket, 1);
    result = (long)(arg1)->start();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvudpsocket_stop(int argc, VALUE *argv, VALUE self) {
    WSCvudpsocket *arg1 = (WSCvudpsocket *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvudpsocket, 1);
    result = (long)(arg1)->stop();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvudpsocket_getErrorMessage(int argc, VALUE *argv, VALUE self) {
    WSCvudpsocket *arg1 = (WSCvudpsocket *) 0 ;
    WSCstring result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvudpsocket, 1);
    result = (arg1)->getErrorMessage();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCvremoteClient_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvremoteClient);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvremoteClient(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvremoteClient *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvremoteClient *)new WSCvremoteClient(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvremoteClient(WSCvremoteClient *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvremoteServer_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvremoteServer);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvremoteServer(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvremoteServer *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvremoteServer *)new WSCvremoteServer(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvremoteServer(WSCvremoteServer *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvdb_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvdb);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvdb(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvdb *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvdb *)new WSCvdb(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvdb(WSCvdb *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvdb_open__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCvdb *arg1 = (WSCvdb *) 0 ;
    char *arg2 ;
    char *arg3 ;
    char *arg4 ;
    char *arg5 = (char *) NULL ;
    char *arg6 = (char *) NULL ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 3) || (argc > 5))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdb, 1);
    arg2 = STR2CSTR(argv[0]);
    arg3 = STR2CSTR(argv[1]);
    arg4 = STR2CSTR(argv[2]);
    if (argc > 3) {
        arg5 = STR2CSTR(argv[3]);
    }
    if (argc > 4) {
        arg6 = STR2CSTR(argv[4]);
    }
    result = (long)(arg1)->open(arg2,arg3,arg4,arg5,arg6);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdb_open__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCvdb *arg1 = (WSCvdb *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdb, 1);
    result = (long)(arg1)->open();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCvdb_open(int nargs, VALUE *args, VALUE self) {
    int argc;
    VALUE argv[7];
    int ii;
    
    argc = nargs + 1;
    argv[0] = self;
    for (ii = 1; (ii < argc) && (ii < 6); ii++) {
        argv[ii] = args[ii-1];
    }
    if (argc == 1) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCvdb, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            return _wrap_WSCvdb_open__SWIG_1(nargs, args, self);
        }
    }
    if ((argc >= 4) && (argc <= 6)) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCvdb, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                {
                    _v = (TYPE(argv[2]) == T_STRING) ? 1 : 0;
                }
                if (_v) {
                    {
                        _v = (TYPE(argv[3]) == T_STRING) ? 1 : 0;
                    }
                    if (_v) {
                        if (argc <= 4) {
                            return _wrap_WSCvdb_open__SWIG_0(nargs, args, self);
                        }
                        {
                            _v = (TYPE(argv[4]) == T_STRING) ? 1 : 0;
                        }
                        if (_v) {
                            if (argc <= 5) {
                                return _wrap_WSCvdb_open__SWIG_0(nargs, args, self);
                            }
                            {
                                _v = (TYPE(argv[5]) == T_STRING) ? 1 : 0;
                            }
                            if (_v) {
                                return _wrap_WSCvdb_open__SWIG_0(nargs, args, self);
                            }
                        }
                    }
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCvdb_open'");
    return Qnil;
}


static VALUE
_wrap_WSCvdb_close(int argc, VALUE *argv, VALUE self) {
    WSCvdb *arg1 = (WSCvdb *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdb, 1);
    result = (long)(arg1)->close();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdb_isOpen(int argc, VALUE *argv, VALUE self) {
    WSCvdb *arg1 = (WSCvdb *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdb, 1);
    result = (WSCbool)(arg1)->isOpen();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdb_sqlExecute(int argc, VALUE *argv, VALUE self) {
    WSCvdb *arg1 = (WSCvdb *) 0 ;
    char *arg2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdb, 1);
    arg2 = STR2CSTR(argv[0]);
    result = (long)(arg1)->sqlExecute((char const *)arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdb_beginTran(int argc, VALUE *argv, VALUE self) {
    WSCvdb *arg1 = (WSCvdb *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdb, 1);
    result = (long)(arg1)->beginTran();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdb_commitTran(int argc, VALUE *argv, VALUE self) {
    WSCvdb *arg1 = (WSCvdb *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdb, 1);
    result = (long)(arg1)->commitTran();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdb_abortTran(int argc, VALUE *argv, VALUE self) {
    WSCvdb *arg1 = (WSCvdb *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdb, 1);
    result = (long)(arg1)->abortTran();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvdb_getErrorMessage(int argc, VALUE *argv, VALUE self) {
    WSCvdb *arg1 = (WSCvdb *) 0 ;
    WSCstring result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvdb, 1);
    result = (arg1)->getErrorMessage();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCwindow_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCwindow);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCwindow(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCwindow *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCwindow *)new WSCwindow(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCwindow(WSCwindow *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCmainWindow_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCmainWindow);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCmainWindow(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCmainWindow *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCmainWindow *)new WSCmainWindow(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCmainWindow(WSCmainWindow *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCbaseDialog_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCbaseDialog);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCbaseDialog(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCbaseDialog *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCbaseDialog *)new WSCbaseDialog(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCbaseDialog(WSCbaseDialog *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCbaseDialog_popup(int argc, VALUE *argv, VALUE self) {
    WSCbaseDialog *arg1 = (WSCbaseDialog *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseDialog, 1);
    result = (long)(arg1)->popup();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCdialog_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCdialog);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCdialog(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCdialog *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCdialog *)new WSCdialog(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCdialog(WSCdialog *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCmessageDialog_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCmessageDialog);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCmessageDialog(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCmessageDialog *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCmessageDialog *)new WSCmessageDialog(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCmessageDialog(WSCmessageDialog *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCinputDialog_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCinputDialog);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCinputDialog(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCinputDialog *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCinputDialog *)new WSCinputDialog(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCinputDialog(WSCinputDialog *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCwizardDialog_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCwizardDialog);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCwizardDialog(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCwizardDialog *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCwizardDialog *)new WSCwizardDialog(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCwizardDialog(WSCwizardDialog *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCfileSelect_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCfileSelect);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCfileSelect(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCfileSelect *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCfileSelect *)new WSCfileSelect(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCfileSelect(WSCfileSelect *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCfileSelect_getFileName(int argc, VALUE *argv, VALUE self) {
    WSCfileSelect *arg1 = (WSCfileSelect *) 0 ;
    char *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCfileSelect, 1);
    result = (char *)(arg1)->getFileName();
    
    vresult = rb_str_new2(result);
    return vresult;
}


static VALUE
_wrap_WSGIappFileSelect(int argc, VALUE *argv, VALUE self) {
    WSCfileSelect *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSCfileSelect *)WSGIappFileSelect();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCfileSelect,0);
    return vresult;
}


static VALUE
_wrap_WSCworkingDialog_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCworkingDialog);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCworkingDialog(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCworkingDialog *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCworkingDialog *)new WSCworkingDialog(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCworkingDialog(WSCworkingDialog *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCindexForm_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCindexForm);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCindexForm(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCindexForm *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCindexForm *)new WSCindexForm(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCindexForm(WSCindexForm *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCsform_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCsform);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCsform(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCsform *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCsform *)new WSCsform(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCsform(WSCsform *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCsform_getStatus(int argc, VALUE *argv, VALUE self) {
    WSCsform *arg1 = (WSCsform *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCsform, 1);
    result = (long)(arg1)->getStatus();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsform_setAdjustChildren(int argc, VALUE *argv, VALUE self) {
    WSCsform *arg1 = (WSCsform *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCsform, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setAdjustChildren(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCsform_setManaged(int argc, VALUE *argv, VALUE self) {
    WSCsform *arg1 = (WSCsform *) 0 ;
    WSCbase *arg2 = (WSCbase *) 0 ;
    WSCbool arg3 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCsform, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCbase, 1);
    arg3 = (WSCbool) NUM2INT(argv[1]);
    result = (long)(arg1)->setManaged(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvtoggle_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvtoggle);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvtoggle(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvtoggle *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvtoggle *)new WSCvtoggle(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvtoggle(WSCvtoggle *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvtoggle_setStatus(int argc, VALUE *argv, VALUE self) {
    WSCvtoggle *arg1 = (WSCvtoggle *) 0 ;
    WSCbool arg2 ;
    WSCbool arg3 = (WSCbool) True ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvtoggle, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    if (argc > 1) {
        arg3 = (WSCbool) NUM2INT(argv[1]);
    }
    result = (long)(arg1)->setStatus(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvtoggle_getStatus(int argc, VALUE *argv, VALUE self) {
    WSCvtoggle *arg1 = (WSCvtoggle *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvtoggle, 1);
    result = (WSCbool)(arg1)->getStatus();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvtoggle_getGroupValue(int argc, VALUE *argv, VALUE self) {
    WSCvtoggle *arg1 = (WSCvtoggle *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvtoggle, 1);
    result = (long)(arg1)->getGroupValue();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvtoggle_setGroupValue(int argc, VALUE *argv, VALUE self) {
    WSCvtoggle *arg1 = (WSCvtoggle *) 0 ;
    long arg2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvtoggle, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (long)(arg1)->setGroupValue(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvtoggle_clearGroupValue(int argc, VALUE *argv, VALUE self) {
    WSCvtoggle *arg1 = (WSCvtoggle *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCvtoggle, 1);
    result = (long)(arg1)->clearGroupValue();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvradio_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvradio);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvradio(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvradio *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvradio *)new WSCvradio(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvradio(WSCvradio *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCradioGroup_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCradioGroup);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCradioGroup(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCradioGroup *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCradioGroup *)new WSCradioGroup(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCradioGroup(WSCradioGroup *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCradioGroup_onValueChange(int argc, VALUE *argv, VALUE self) {
    WSCradioGroup *arg1 = (WSCradioGroup *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCradioGroup, 1);
    (arg1)->onValueChange();
    
    return Qnil;
}


static VALUE
_wrap_WSCradioGroup_setItemSensitive(int argc, VALUE *argv, VALUE self) {
    WSCradioGroup *arg1 = (WSCradioGroup *) 0 ;
    short arg2 ;
    WSCbool arg3 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCradioGroup, 1);
    arg2 = NUM2SHRT(argv[0]);
    arg3 = (WSCbool) NUM2INT(argv[1]);
    result = (long)(arg1)->setItemSensitive(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCradioGroup_getItemSensitive(int argc, VALUE *argv, VALUE self) {
    WSCradioGroup *arg1 = (WSCradioGroup *) 0 ;
    short arg2 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCradioGroup, 1);
    arg2 = NUM2SHRT(argv[0]);
    result = (WSCbool)(arg1)->getItemSensitive(arg2);
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCradioGroup_getItem(int argc, VALUE *argv, VALUE self) {
    WSCradioGroup *arg1 = (WSCradioGroup *) 0 ;
    short arg2 ;
    WSCvradio *result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCradioGroup, 1);
    arg2 = NUM2SHRT(argv[0]);
    result = (WSCvradio *)(arg1)->getItem(arg2);
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCvradio,0);
    return vresult;
}


static VALUE
_wrap_WSCcheckGroup_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCcheckGroup);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCcheckGroup(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCcheckGroup *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCcheckGroup *)new WSCcheckGroup(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCcheckGroup(WSCcheckGroup *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCvertForm_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvertForm);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCvertForm(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCvertForm *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCvertForm *)new WSCvertForm(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvertForm(WSCvertForm *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSChorzForm_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSChorzForm);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSChorzForm(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSChorzForm *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSChorzForm *)new WSChorzForm(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSChorzForm(WSChorzForm *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCmenuArea_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCmenuArea);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCmenuArea(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCmenuArea *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCmenuArea *)new WSCmenuArea(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCmenuArea(WSCmenuArea *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCscrForm_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCscrForm);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCscrForm(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCscrForm *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCscrForm *)new WSCscrForm(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCscrForm(WSCscrForm *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCscrForm_onScrMousePress(int argc, VALUE *argv, VALUE self) {
    WSCscrForm *arg1 = (WSCscrForm *) 0 ;
    WSCpoint *arg2 = (WSCpoint *) 0 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCscrForm, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCpoint, 1);
    (arg1)->onScrMousePress(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCscrForm_onScrMouseRelease(int argc, VALUE *argv, VALUE self) {
    WSCscrForm *arg1 = (WSCscrForm *) 0 ;
    WSCpoint *arg2 = (WSCpoint *) 0 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCscrForm, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCpoint, 1);
    (arg1)->onScrMouseRelease(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCscrForm_onScrMouseMove(int argc, VALUE *argv, VALUE self) {
    WSCscrForm *arg1 = (WSCscrForm *) 0 ;
    WSCpoint *arg2 = (WSCpoint *) 0 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCscrForm, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCpoint, 1);
    (arg1)->onScrMouseMove(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCscrForm_getVisibleWidth(int argc, VALUE *argv, VALUE self) {
    WSCscrForm *arg1 = (WSCscrForm *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCscrForm, 1);
    result = (long)(arg1)->getVisibleWidth();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCscrForm_getVisibleHeight(int argc, VALUE *argv, VALUE self) {
    WSCscrForm *arg1 = (WSCscrForm *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCscrForm, 1);
    result = (long)(arg1)->getVisibleHeight();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCscrForm_getScrFrame(int argc, VALUE *argv, VALUE self) {
    WSCscrForm *arg1 = (WSCscrForm *) 0 ;
    WSCbase *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCscrForm, 1);
    result = (WSCbase *)(arg1)->getScrFrame();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCbase,0);
    return vresult;
}


static VALUE
_wrap_WSClist_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSClist);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSClist(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSClist *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSClist *)new WSClist(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSClist(WSClist *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSClist_onSort(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    (arg1)->onSort();
    
    return Qnil;
}


static VALUE
_wrap_WSClist_onItemSelected(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    (arg1)->onItemSelected();
    
    return Qnil;
}


static VALUE
_wrap_WSClist_onInputFixed__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    WSCstring arg2 ;
    long arg3 ;
    long arg4 ;
    
    if ((argc < 3) || (argc > 3))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    {
        WSCstring * ptr;
        SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_WSCstring, 1);
        if (ptr) arg2 = *ptr;
    }
    arg3 = NUM2LONG(argv[1]);
    arg4 = NUM2LONG(argv[2]);
    (arg1)->onInputFixed(arg2,arg3,arg4);
    
    return Qnil;
}


static VALUE
_wrap_WSClist_onInputFixed__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    char *arg2 ;
    long arg3 ;
    long arg4 ;
    
    if ((argc < 3) || (argc > 3))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    arg2 = STR2CSTR(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    arg4 = NUM2LONG(argv[2]);
    (arg1)->onInputFixed(arg2,arg3,arg4);
    
    return Qnil;
}


static VALUE _wrap_WSClist_onInputFixed(int nargs, VALUE *args, VALUE self) {
    int argc;
    VALUE argv[5];
    int ii;
    
    argc = nargs + 1;
    argv[0] = self;
    for (ii = 1; (ii < argc) && (ii < 4); ii++) {
        argv[ii] = args[ii-1];
    }
    if (argc == 4) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSClist, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                void *ptr;
                _v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_WSCstring, 0) != -1)) ? 1 : 0;
            }
            if (_v) {
                {
                    _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0;
                }
                if (_v) {
                    {
                        _v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0;
                    }
                    if (_v) {
                        return _wrap_WSClist_onInputFixed__SWIG_0(nargs, args, self);
                    }
                }
            }
        }
    }
    if (argc == 4) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSClist, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                {
                    _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0;
                }
                if (_v) {
                    {
                        _v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0;
                    }
                    if (_v) {
                        return _wrap_WSClist_onInputFixed__SWIG_1(nargs, args, self);
                    }
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSClist_onInputFixed'");
    return Qnil;
}


static VALUE
_wrap_WSClist_setLabelHeight(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    WSCushort arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    arg2 = NUM2USHRT(argv[0]);
    (arg1)->setLabelHeight(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSClist_delAll(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    (arg1)->delAll();
    
    return Qnil;
}


static VALUE
_wrap_WSClist_getLabel(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    long arg2 ;
    WSCbase *result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (WSCbase *)(arg1)->getLabel(arg2);
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCbase,0);
    return vresult;
}


static VALUE
_wrap_WSClist_getNum(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    result = (long)(arg1)->getNum();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSClist_getItem(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    long arg2 ;
    long arg3 = (long) -1 ;
    WSCstring result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    arg2 = NUM2LONG(argv[0]);
    if (argc > 1) {
        arg3 = NUM2LONG(argv[1]);
    }
    result = (arg1)->getItem(arg2,arg3);
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSClist_addItem(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    char *arg2 ;
    long arg3 = (long) -1 ;
    
    if ((argc < 1) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    arg2 = STR2CSTR(argv[0]);
    if (argc > 1) {
        arg3 = NUM2LONG(argv[1]);
    }
    (arg1)->addItem(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSClist_replaceItem__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    char *arg2 ;
    long arg3 ;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    arg2 = STR2CSTR(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    (arg1)->replaceItem(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSClist_replaceItem__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    char *arg2 ;
    long arg3 ;
    long arg4 ;
    
    if ((argc < 3) || (argc > 3))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    arg2 = STR2CSTR(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    arg4 = NUM2LONG(argv[2]);
    (arg1)->replaceItem(arg2,arg3,arg4);
    
    return Qnil;
}


static VALUE _wrap_WSClist_replaceItem(int nargs, VALUE *args, VALUE self) {
    int argc;
    VALUE argv[5];
    int ii;
    
    argc = nargs + 1;
    argv[0] = self;
    for (ii = 1; (ii < argc) && (ii < 4); ii++) {
        argv[ii] = args[ii-1];
    }
    if (argc == 3) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSClist, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                {
                    _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0;
                }
                if (_v) {
                    return _wrap_WSClist_replaceItem__SWIG_0(nargs, args, self);
                }
            }
        }
    }
    if (argc == 4) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSClist, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                {
                    _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0;
                }
                if (_v) {
                    {
                        _v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0;
                    }
                    if (_v) {
                        return _wrap_WSClist_replaceItem__SWIG_1(nargs, args, self);
                    }
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSClist_replaceItem'");
    return Qnil;
}


static VALUE
_wrap_WSClist_delPos(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    long arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    arg2 = NUM2LONG(argv[0]);
    (arg1)->delPos(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSClist_getPreSelectedPos(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    result = (long)(arg1)->getPreSelectedPos();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSClist_setPreSelectPos(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    long arg2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (long)(arg1)->setPreSelectPos(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSClist_getSelectedPos(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    result = (long)(arg1)->getSelectedPos();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSClist_setSelectPos(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    long arg2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (long)(arg1)->setSelectPos(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSClist_getSelectedItem(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    WSCstring result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    result = (arg1)->getSelectedItem();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSClist_setTopPos(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    long arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    arg2 = NUM2LONG(argv[0]);
    (arg1)->setTopPos(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSClist_setBottomPos(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    long arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    arg2 = NUM2LONG(argv[0]);
    (arg1)->setBottomPos(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSClist_getTopPos(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    result = (long)(arg1)->getTopPos();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSClist_getBottomPos(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    result = (long)(arg1)->getBottomPos();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSClist_updateList(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    (arg1)->updateList();
    
    return Qnil;
}


static VALUE
_wrap_WSClist_setLabelProperty(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    char *arg2 ;
    char *arg3 ;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    arg2 = STR2CSTR(argv[0]);
    arg3 = STR2CSTR(argv[1]);
    (arg1)->setLabelProperty(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSClist_setLabelClass(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    char *arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    arg2 = STR2CSTR(argv[0]);
    (arg1)->setLabelClass(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSClist_getSelectItemChanged(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    result = (WSCbool)(arg1)->getSelectItemChanged();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSClist_setSelectItemChanged(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setSelectItemChanged(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSClist_setItemVisible(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    long arg2 ;
    WSCbool arg3 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = (WSCbool) NUM2INT(argv[1]);
    result = (long)(arg1)->setItemVisible(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSClist_setItemValue(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    long arg2 ;
    long arg3 ;
    long arg4 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 3) || (argc > 3))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    arg4 = NUM2LONG(argv[2]);
    result = (long)(arg1)->setItemValue(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSClist_getItemValue(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    long arg2 ;
    long arg3 ;
    long *arg4 = (long *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 3) || (argc > 3))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    SWIG_ConvertPtr(argv[2], (void **) &arg4, SWIGTYPE_p_long, 1);
    result = (long)(arg1)->getItemValue(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSClist_getInputString(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    WSCstring result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    result = (arg1)->getInputString();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSClist_cancelInput(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    (arg1)->cancelInput();
    
    return Qnil;
}


static VALUE
_wrap_WSClist_getSeparator(int argc, VALUE *argv, VALUE self) {
    WSClist *arg1 = (WSClist *) 0 ;
    char *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSClist, 1);
    result = (char *)(arg1)->getSeparator();
    
    vresult = rb_str_new2(result);
    return vresult;
}


static VALUE
_wrap_WSCverbList_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCverbList);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCverbList(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCverbList *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCverbList *)new WSCverbList(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCverbList(WSCverbList *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCtreeList_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCtreeList);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCtreeList(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCtreeList *result;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    arg2 = STR2CSTR(argv[1]);
    result = (WSCtreeList *)new WSCtreeList(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCtreeList(WSCtreeList *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSGFsetDefaultEncoding(int argc, VALUE *argv, VALUE self) {
    long arg1 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    arg1 = NUM2LONG(argv[0]);
    WSGFsetDefaultEncoding(arg1);
    
    return Qnil;
}


static VALUE
_wrap_WSGFgettext(int argc, VALUE *argv, VALUE self) {
    char *arg1 ;
    char *result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    arg1 = STR2CSTR(argv[0]);
    result = (char *)WSGFgettext(arg1);
    
    vresult = rb_str_new2(result);
    return vresult;
}


static VALUE
_wrap_WSGFimage(int argc, VALUE *argv, VALUE self) {
    char *arg1 ;
    short result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    arg1 = STR2CSTR(argv[0]);
    result = (short)WSGFimage(arg1);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDcolor_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSDcolor);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSDcolor(int argc, VALUE *argv, VALUE self) {
    WSDcolor *result;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSDcolor *)new WSDcolor();
    DATA_PTR(self) = result;
    return self;
}


static VALUE
_wrap_WSDcolor_getColorName(int argc, VALUE *argv, VALUE self) {
    WSDcolor *arg1 = (WSDcolor *) 0 ;
    char *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDcolor, 1);
    result = (char *)(arg1)->getColorName();
    
    vresult = rb_str_new2(result);
    return vresult;
}


static VALUE
_wrap_WSDcolor_getUsePrivateCell(int argc, VALUE *argv, VALUE self) {
    WSDcolor *arg1 = (WSDcolor *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDcolor, 1);
    result = (WSCbool)(arg1)->getUsePrivateCell();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDcolor_setUsePrivateCell(int argc, VALUE *argv, VALUE self) {
    WSDcolor *arg1 = (WSDcolor *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDcolor, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setUsePrivateCell(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSDcolor_getRGB(int argc, VALUE *argv, VALUE self) {
    WSDcolor *arg1 = (WSDcolor *) 0 ;
    long *arg2 = (long *) 0 ;
    long *arg3 = (long *) 0 ;
    long *arg4 = (long *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 3) || (argc > 3))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDcolor, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_long, 1);
    SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_long, 1);
    SWIG_ConvertPtr(argv[2], (void **) &arg4, SWIGTYPE_p_long, 1);
    result = (long)(arg1)->getRGB(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDcolor_setColorName(int argc, VALUE *argv, VALUE self) {
    WSDcolor *arg1 = (WSDcolor *) 0 ;
    char *arg2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDcolor, 1);
    arg2 = STR2CSTR(argv[0]);
    result = (long)(arg1)->setColorName(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static void
free_WSDcolor(WSDcolor *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCcolorSet_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCcolorSet);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCcolorSet(int argc, VALUE *argv, VALUE self) {
    WSCcolorSet *result;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSCcolorSet *)new WSCcolorSet();
    DATA_PTR(self) = result;
    return self;
}


static VALUE
_wrap_WSCcolorSet_getColor__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCcolorSet *arg1 = (WSCcolorSet *) 0 ;
    short arg2 ;
    WSDcolor *result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCcolorSet, 1);
    arg2 = NUM2SHRT(argv[0]);
    result = (WSDcolor *)(arg1)->getColor(arg2);
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSDcolor,0);
    return vresult;
}


static VALUE
_wrap_WSCcolorSet_getColor__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCcolorSet *arg1 = (WSCcolorSet *) 0 ;
    char *arg2 ;
    WSDcolor *result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCcolorSet, 1);
    arg2 = STR2CSTR(argv[0]);
    result = (WSDcolor *)(arg1)->getColor(arg2);
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSDcolor,0);
    return vresult;
}


static VALUE _wrap_WSCcolorSet_getColor(int nargs, VALUE *args, VALUE self) {
    int argc;
    VALUE argv[3];
    int ii;
    
    argc = nargs + 1;
    argv[0] = self;
    for (ii = 1; (ii < argc) && (ii < 2); ii++) {
        argv[ii] = args[ii-1];
    }
    if (argc == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCcolorSet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCcolorSet_getColor__SWIG_0(nargs, args, self);
            }
        }
    }
    if (argc == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCcolorSet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCcolorSet_getColor__SWIG_1(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCcolorSet_getColor'");
    return Qnil;
}


static VALUE
_wrap_WSCcolorSet_getColorName(int argc, VALUE *argv, VALUE self) {
    WSCcolorSet *arg1 = (WSCcolorSet *) 0 ;
    short arg2 ;
    char *result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCcolorSet, 1);
    arg2 = NUM2SHRT(argv[0]);
    result = (char *)(arg1)->getColorName(arg2);
    
    vresult = rb_str_new2(result);
    return vresult;
}


static void
free_WSCcolorSet(WSCcolorSet *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSGIappColorSet(int argc, VALUE *argv, VALUE self) {
    WSCcolorSet *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSCcolorSet *)WSGIappColorSet();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCcolorSet,0);
    return vresult;
}


static VALUE
_wrap_WSGFindexColor(int argc, VALUE *argv, VALUE self) {
    char *arg1 ;
    short result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    arg1 = STR2CSTR(argv[0]);
    result = (short)WSGFindexColor(arg1);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSGFcolorName(int argc, VALUE *argv, VALUE self) {
    short arg1 ;
    char *result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    arg1 = NUM2SHRT(argv[0]);
    result = (char *)WSGFcolorName(arg1);
    
    vresult = rb_str_new2(result);
    return vresult;
}


static VALUE
_wrap_WSGFcolor(int argc, VALUE *argv, VALUE self) {
    char *arg1 ;
    short result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    arg1 = STR2CSTR(argv[0]);
    result = (short)WSGFcolor(arg1);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCimageSet_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCimageSet);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCimageSet(int argc, VALUE *argv, VALUE self) {
    WSCimageSet *result;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSCimageSet *)new WSCimageSet();
    DATA_PTR(self) = result;
    return self;
}


static VALUE
_wrap_WSCimageSet_getImageNo(int argc, VALUE *argv, VALUE self) {
    WSCimageSet *arg1 = (WSCimageSet *) 0 ;
    char *arg2 ;
    short result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCimageSet, 1);
    arg2 = STR2CSTR(argv[0]);
    result = (short)(arg1)->getImageNo(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCimageSet_getImage__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCimageSet *arg1 = (WSCimageSet *) 0 ;
    short arg2 ;
    WSDimage *result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCimageSet, 1);
    arg2 = NUM2SHRT(argv[0]);
    result = (WSDimage *)(arg1)->getImage(arg2);
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSDimage,0);
    return vresult;
}


static VALUE
_wrap_WSCimageSet_getImage__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCimageSet *arg1 = (WSCimageSet *) 0 ;
    char *arg2 ;
    WSDimage *result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCimageSet, 1);
    arg2 = STR2CSTR(argv[0]);
    result = (WSDimage *)(arg1)->getImage(arg2);
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSDimage,0);
    return vresult;
}


static VALUE _wrap_WSCimageSet_getImage(int nargs, VALUE *args, VALUE self) {
    int argc;
    VALUE argv[3];
    int ii;
    
    argc = nargs + 1;
    argv[0] = self;
    for (ii = 1; (ii < argc) && (ii < 2); ii++) {
        argv[ii] = args[ii-1];
    }
    if (argc == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCimageSet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCimageSet_getImage__SWIG_0(nargs, args, self);
            }
        }
    }
    if (argc == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCimageSet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCimageSet_getImage__SWIG_1(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCimageSet_getImage'");
    return Qnil;
}


static VALUE
_wrap_WSCimageSet_getImageName(int argc, VALUE *argv, VALUE self) {
    WSCimageSet *arg1 = (WSCimageSet *) 0 ;
    short arg2 ;
    char *result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCimageSet, 1);
    arg2 = NUM2SHRT(argv[0]);
    result = (char *)(arg1)->getImageName(arg2);
    
    vresult = rb_str_new2(result);
    return vresult;
}


static VALUE
_wrap_WSCimageSet_destroyImage__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCimageSet *arg1 = (WSCimageSet *) 0 ;
    short arg2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCimageSet, 1);
    arg2 = NUM2SHRT(argv[0]);
    result = (long)(arg1)->destroyImage(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCimageSet_destroyImage__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCimageSet *arg1 = (WSCimageSet *) 0 ;
    char *arg2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCimageSet, 1);
    arg2 = STR2CSTR(argv[0]);
    result = (long)(arg1)->destroyImage(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCimageSet_destroyImage(int nargs, VALUE *args, VALUE self) {
    int argc;
    VALUE argv[3];
    int ii;
    
    argc = nargs + 1;
    argv[0] = self;
    for (ii = 1; (ii < argc) && (ii < 2); ii++) {
        argv[ii] = args[ii-1];
    }
    if (argc == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCimageSet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCimageSet_destroyImage__SWIG_0(nargs, args, self);
            }
        }
    }
    if (argc == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCimageSet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCimageSet_destroyImage__SWIG_1(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCimageSet_destroyImage'");
    return Qnil;
}


static VALUE
_wrap_WSCimageSet_destroyAllImage(int argc, VALUE *argv, VALUE self) {
    WSCimageSet *arg1 = (WSCimageSet *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCimageSet, 1);
    result = (long)(arg1)->destroyAllImage();
    
    vresult = INT2NUM(result);
    return vresult;
}


static void
free_WSCimageSet(WSCimageSet *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSGIappImageSet(int argc, VALUE *argv, VALUE self) {
    WSCimageSet *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSCimageSet *)WSGIappImageSet();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCimageSet,0);
    return vresult;
}


static VALUE
_wrap_WSGFimageName(int argc, VALUE *argv, VALUE self) {
    short arg1 ;
    char *result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    arg1 = NUM2SHRT(argv[0]);
    result = (char *)WSGFimageName(arg1);
    
    vresult = rb_str_new2(result);
    return vresult;
}


static VALUE
_wrap_WSDfont_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSDfont);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSDfont(int argc, VALUE *argv, VALUE self) {
    WSDfont *result;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSDfont *)new WSDfont();
    DATA_PTR(self) = result;
    return self;
}


static VALUE
_wrap_WSDfont_getFontHeight(int argc, VALUE *argv, VALUE self) {
    WSDfont *arg1 = (WSDfont *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDfont, 1);
    result = (long)(arg1)->getFontHeight();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDfont_setFontName(int argc, VALUE *argv, VALUE self) {
    WSDfont *arg1 = (WSDfont *) 0 ;
    char *arg2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDfont, 1);
    arg2 = STR2CSTR(argv[0]);
    result = (long)(arg1)->setFontName(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDfont_getFontName(int argc, VALUE *argv, VALUE self) {
    WSDfont *arg1 = (WSDfont *) 0 ;
    char *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDfont, 1);
    result = (char *)(arg1)->getFontName();
    
    vresult = rb_str_new2(result);
    return vresult;
}


static VALUE
_wrap_WSDfont_getStringWidth(int argc, VALUE *argv, VALUE self) {
    WSDfont *arg1 = (WSDfont *) 0 ;
    char *arg2 ;
    long arg3 = (long) -2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDfont, 1);
    arg2 = STR2CSTR(argv[0]);
    if (argc > 1) {
        arg3 = NUM2LONG(argv[1]);
    }
    result = (long)(arg1)->getStringWidth(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDfont_getStringHeight(int argc, VALUE *argv, VALUE self) {
    WSDfont *arg1 = (WSDfont *) 0 ;
    char *arg2 ;
    long arg3 = (long) -2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDfont, 1);
    arg2 = STR2CSTR(argv[0]);
    if (argc > 1) {
        arg3 = NUM2LONG(argv[1]);
    }
    result = (long)(arg1)->getStringHeight(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static void
free_WSDfont(WSDfont *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCfontSet_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCfontSet);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCfontSet(int argc, VALUE *argv, VALUE self) {
    WSCfontSet *result;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSCfontSet *)new WSCfontSet();
    DATA_PTR(self) = result;
    return self;
}


static VALUE
_wrap_WSCfontSet_getFont(int argc, VALUE *argv, VALUE self) {
    WSCfontSet *arg1 = (WSCfontSet *) 0 ;
    short arg2 ;
    WSDfont *result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCfontSet, 1);
    arg2 = NUM2SHRT(argv[0]);
    result = (WSDfont *)(arg1)->getFont(arg2);
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSDfont,0);
    return vresult;
}


static VALUE
_wrap_WSCfontSet_getStringWidth(int argc, VALUE *argv, VALUE self) {
    WSCfontSet *arg1 = (WSCfontSet *) 0 ;
    short arg2 ;
    char *arg3 ;
    long arg4 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 3) || (argc > 3))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCfontSet, 1);
    arg2 = NUM2SHRT(argv[0]);
    arg3 = STR2CSTR(argv[1]);
    arg4 = NUM2LONG(argv[2]);
    result = (long)(arg1)->getStringWidth(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCfontSet_getStringHeight(int argc, VALUE *argv, VALUE self) {
    WSCfontSet *arg1 = (WSCfontSet *) 0 ;
    short arg2 ;
    char *arg3 ;
    long arg4 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 3) || (argc > 3))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCfontSet, 1);
    arg2 = NUM2SHRT(argv[0]);
    arg3 = STR2CSTR(argv[1]);
    arg4 = NUM2LONG(argv[2]);
    result = (long)(arg1)->getStringHeight(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCfontSet_setDefaultFont(int argc, VALUE *argv, VALUE self) {
    WSCfontSet *arg1 = (WSCfontSet *) 0 ;
    short arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCfontSet, 1);
    arg2 = NUM2SHRT(argv[0]);
    (arg1)->setDefaultFont(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCfontSet_getDefaultFontNo(int argc, VALUE *argv, VALUE self) {
    WSCfontSet *arg1 = (WSCfontSet *) 0 ;
    short result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCfontSet, 1);
    result = (short)(arg1)->getDefaultFontNo();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCfontSet_getDefaultFont(int argc, VALUE *argv, VALUE self) {
    WSCfontSet *arg1 = (WSCfontSet *) 0 ;
    WSDfont *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCfontSet, 1);
    result = (WSDfont *)(arg1)->getDefaultFont();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSDfont,0);
    return vresult;
}


static void
free_WSCfontSet(WSCfontSet *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSGIappFontSet(int argc, VALUE *argv, VALUE self) {
    WSCfontSet *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSCfontSet *)WSGIappFontSet();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCfontSet,0);
    return vresult;
}


static VALUE
_wrap_WSGFdestroyPixmap__SWIG_0(int argc, VALUE *argv, VALUE self) {
    char *arg1 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    arg1 = STR2CSTR(argv[0]);
    WSGFdestroyPixmap(arg1);
    
    return Qnil;
}


static VALUE
_wrap_WSGFdestroyPixmap__SWIG_1(int argc, VALUE *argv, VALUE self) {
    short arg1 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    arg1 = NUM2SHRT(argv[0]);
    WSGFdestroyPixmap(arg1);
    
    return Qnil;
}


static VALUE _wrap_WSGFdestroyPixmap(int nargs, VALUE *args, VALUE self) {
    int argc;
    VALUE argv[1];
    int ii;
    
    argc = nargs;
    for (ii = 0; (ii < argc) && (ii < 1); ii++) {
        argv[ii] = args[ii];
    }
    if (argc == 1) {
        int _v;
        {
            _v = ((TYPE(argv[0]) == T_FIXNUM) || (TYPE(argv[0]) == T_BIGNUM)) ? 1 : 0;
        }
        if (_v) {
            return _wrap_WSGFdestroyPixmap__SWIG_1(nargs, args, self);
        }
    }
    if (argc == 1) {
        int _v;
        {
            _v = (TYPE(argv[0]) == T_STRING) ? 1 : 0;
        }
        if (_v) {
            return _wrap_WSGFdestroyPixmap__SWIG_0(nargs, args, self);
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSGFdestroyPixmap'");
    return Qnil;
}


static VALUE
_wrap_WSGIappMessageDialog(int argc, VALUE *argv, VALUE self) {
    WSCmessageDialog *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSCmessageDialog *)WSGIappMessageDialog();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCmessageDialog,0);
    return vresult;
}


static VALUE
_wrap_WSCbaseList_allocate(int argc, VALUE *argv, VALUE self) {
    VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCbaseList);
    rb_obj_call_init(vresult, argc, argv);
    return vresult;
}


static VALUE
_wrap_new_WSCbaseList(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *result;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSCbaseList *)new WSCbaseList();
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCbaseList(WSCbaseList *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCbaseList_getInstance(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    char *arg2 ;
    char *arg3 ;
    WSCbase *result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    arg2 = STR2CSTR(argv[0]);
    arg3 = STR2CSTR(argv[1]);
    result = (WSCbase *)(arg1)->getInstance(arg2,arg3);
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCbase,0);
    return vresult;
}


static VALUE
_wrap_WSCbaseList_getClassList(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    WSClistData *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    result = (WSClistData *)(arg1)->getClassList();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSClistData,0);
    return vresult;
}


static VALUE
_wrap_WSCbaseList_addClient(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    WSCbase *arg2 = (WSCbase *) 0 ;
    void *arg3 = (void *) NULL ;
    
    if ((argc < 1) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCbase, 1);
    if (argc > 1) {
        SWIG_ConvertPtr(argv[1], (void **) &arg3, 0, 1);
    }
    (arg1)->addClient(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSCbaseList_delClient(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    WSCbase *arg2 = (WSCbase *) 0 ;
    void *arg3 = (void *) NULL ;
    
    if ((argc < 1) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCbase, 1);
    if (argc > 1) {
        SWIG_ConvertPtr(argv[1], (void **) &arg3, 0, 1);
    }
    (arg1)->delClient(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSCbaseList_countObject(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    char *arg2 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    arg2 = STR2CSTR(argv[0]);
    result = (long)(arg1)->countObject(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbaseList_addNeedUpdate(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    WSCbase *arg2 = (WSCbase *) 0 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCbase, 1);
    (arg1)->addNeedUpdate(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbaseList_addNeedInitialize(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    WSCbase *arg2 = (WSCbase *) 0 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCbase, 1);
    (arg1)->addNeedInitialize(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbaseList_execUpdate(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    (arg1)->execUpdate();
    
    return Qnil;
}


static VALUE
_wrap_WSCbaseList_execInitialize(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    (arg1)->execInitialize();
    
    return Qnil;
}


static VALUE
_wrap_WSCbaseList_setUserData(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    char *arg2 ;
    void *arg3 = (void *) 0 ;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    arg2 = STR2CSTR(argv[0]);
    SWIG_ConvertPtr(argv[1], (void **) &arg3, 0, 1);
    (arg1)->setUserData(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSCbaseList_getUserData(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    char *arg2 ;
    void *result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    arg2 = STR2CSTR(argv[0]);
    result = (void *)(arg1)->getUserData(arg2);
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void,0);
    return vresult;
}


static VALUE
_wrap_WSCbaseList_getInstanceList(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    char *arg2 ;
    WSClistData *result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    arg2 = STR2CSTR(argv[0]);
    result = (WSClistData *)(arg1)->getInstanceList(arg2);
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSClistData,0);
    return vresult;
}


static VALUE
_wrap_WSCbaseList_getRemoteInstance(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    char *arg2 ;
    WSCRbase *result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    arg2 = STR2CSTR(argv[0]);
    result = (WSCRbase *)(arg1)->getRemoteInstance(arg2);
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCRbase,0);
    return vresult;
}


static VALUE
_wrap_WSCbaseList_setSearchInstanceHandler(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    void *arg2 = (void *) 0 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, 0, 1);
    (arg1)->setSearchInstanceHandler(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbaseList_searchInstance(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    char *arg2 ;
    char *arg3 ;
    WSCbase *result;
    VALUE vresult = Qnil;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    arg2 = STR2CSTR(argv[0]);
    arg3 = STR2CSTR(argv[1]);
    result = (WSCbase *)(arg1)->searchInstance(arg2,arg3);
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCbase,0);
    return vresult;
}


static VALUE
_wrap_WSCbaseList_existInstance(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    WSCbase *arg2 = (WSCbase *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCbase, 1);
    result = (WSCbool)(arg1)->existInstance(arg2);
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbaseList_addEvent(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    WSCbase *arg2 = (WSCbase *) 0 ;
    long arg3 = (long) WSEV_NONE ;
    
    if ((argc < 1) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCbase, 1);
    if (argc > 1) {
        arg3 = NUM2LONG(argv[1]);
    }
    (arg1)->addEvent(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSCbaseList_delEvent(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    WSCbase *arg2 = (WSCbase *) 0 ;
    long arg3 = (long) WSEV_NONE ;
    
    if ((argc < 1) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCbase, 1);
    if (argc > 1) {
        arg3 = NUM2LONG(argv[1]);
    }
    (arg1)->delEvent(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSCbaseList_execEvent__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    long arg2 ;
    void *arg3 = (void *) 0 ;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    arg2 = NUM2LONG(argv[0]);
    SWIG_ConvertPtr(argv[1], (void **) &arg3, 0, 1);
    (arg1)->execEvent(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSCbaseList_execEvent__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    long arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    arg2 = NUM2LONG(argv[0]);
    (arg1)->execEvent(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbaseList_execEvent__SWIG_2(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    char *arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    arg2 = STR2CSTR(argv[0]);
    (arg1)->execEvent(arg2);
    
    return Qnil;
}


static VALUE _wrap_WSCbaseList_execEvent(int nargs, VALUE *args, VALUE self) {
    int argc;
    VALUE argv[4];
    int ii;
    
    argc = nargs + 1;
    argv[0] = self;
    for (ii = 1; (ii < argc) && (ii < 3); ii++) {
        argv[ii] = args[ii-1];
    }
    if (argc == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCbaseList, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCbaseList_execEvent__SWIG_1(nargs, args, self);
            }
        }
    }
    if (argc == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCbaseList, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCbaseList_execEvent__SWIG_2(nargs, args, self);
            }
        }
    }
    if (argc == 3) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCbaseList, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                {
                    void *ptr;
                    _v = (NIL_P(argv[2]) || (TYPE(argv[2]) == T_DATA && SWIG_ConvertPtr(argv[2], &ptr, 0, 0) != -1)) ? 1 : 0;
                }
                if (_v) {
                    return _wrap_WSCbaseList_execEvent__SWIG_0(nargs, args, self);
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCbaseList_execEvent'");
    return Qnil;
}


static VALUE
_wrap_WSCbaseList_addRemoteInstanceData(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    WSCremoteInstanceData *arg2 = (WSCremoteInstanceData *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCremoteInstanceData, 1);
    result = (long)(arg1)->addRemoteInstanceData(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbaseList_delRemoteInstanceData(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    WSCremoteInstanceData *arg2 = (WSCremoteInstanceData *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCremoteInstanceData, 1);
    result = (long)(arg1)->delRemoteInstanceData(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbaseList_getRemoteInstanceListUpdated(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    WSCbool result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    result = (WSCbool)(arg1)->getRemoteInstanceListUpdated();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbaseList_setRemoteInstanceListUpdated(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    WSCbool arg2 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setRemoteInstanceListUpdated(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCbaseList_addExportInstanceList(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    WSCbase *arg2 = (WSCbase *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCbase, 1);
    result = (long)(arg1)->addExportInstanceList(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbaseList_delExportInstanceList(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    WSCbase *arg2 = (WSCbase *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCbase, 1);
    result = (long)(arg1)->delExportInstanceList(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbaseList_addExportInstanceUpdateList(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    WSCbase *arg2 = (WSCbase *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCbase, 1);
    result = (long)(arg1)->addExportInstanceUpdateList(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbaseList_delExportInstanceUpdateList(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    WSCbase *arg2 = (WSCbase *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCbase, 1);
    result = (long)(arg1)->delExportInstanceUpdateList(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbaseList_addExportInstanceDeleteList(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    WSCbase *arg2 = (WSCbase *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCbase, 1);
    result = (long)(arg1)->addExportInstanceDeleteList(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbaseList_delExportInstanceDeleteList(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    WSCbase *arg2 = (WSCbase *) 0 ;
    long result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCbase, 1);
    result = (long)(arg1)->delExportInstanceDeleteList(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbaseList_getExportInstanceDeleteList(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    WSClistData *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    result = (WSClistData *)(arg1)->getExportInstanceDeleteList();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSClistData,0);
    return vresult;
}


static VALUE
_wrap_WSCbaseList_getExportInstanceUpdateList(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    WSClistData *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    result = (WSClistData *)(arg1)->getExportInstanceUpdateList();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSClistData,0);
    return vresult;
}


static VALUE
_wrap_WSCbaseList_getExportInstanceList(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    WSClistData *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    result = (WSClistData *)(arg1)->getExportInstanceList();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSClistData,0);
    return vresult;
}


static VALUE
_wrap_WSCbaseList_getRemoteInstanceData(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    char *arg2 ;
    WSCremoteInstanceData *result;
    VALUE vresult = Qnil;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    arg2 = STR2CSTR(argv[0]);
    result = (WSCremoteInstanceData *)(arg1)->getRemoteInstanceData(arg2);
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCremoteInstanceData,0);
    return vresult;
}


static VALUE
_wrap_WSCbaseList_getRemoteInstanceList(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *arg1 = (WSCbaseList *) 0 ;
    WSClistData *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCbaseList, 1);
    result = (WSClistData *)(arg1)->getRemoteInstanceList();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSClistData,0);
    return vresult;
}


static VALUE
_wrap_WSGIappObjectList(int argc, VALUE *argv, VALUE self) {
    WSCbaseList *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSCbaseList *)WSGIappObjectList();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCbaseList,0);
    return vresult;
}



/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */

static void *_p_WSChorzFormTo_p_WSCvertForm(void *x) {
    return (void *)((WSCvertForm *)  ((WSChorzForm *) x));
}
static void *_p_WSCvradioTo_p_WSCvtoggle(void *x) {
    return (void *)((WSCvtoggle *)  ((WSCvradio *) x));
}
static void *_p_WSCvfbtnTo_p_WSCvlabel(void *x) {
    return (void *)((WSCvlabel *) (WSCvbtn *) ((WSCvfbtn *) x));
}
static void *_p_WSCvklabelTo_p_WSCvlabel(void *x) {
    return (void *)((WSCvlabel *)  ((WSCvklabel *) x));
}
static void *_p_WSCvarrowTo_p_WSCvlabel(void *x) {
    return (void *)((WSCvlabel *) (WSCvbtn *) ((WSCvarrow *) x));
}
static void *_p_WSCvkslabelTo_p_WSCvlabel(void *x) {
    return (void *)((WSCvlabel *) (WSCvifield *) ((WSCvkslabel *) x));
}
static void *_p_WSCvkflabelTo_p_WSCvlabel(void *x) {
    return (void *)((WSCvlabel *) (WSCvklabel *) ((WSCvkflabel *) x));
}
static void *_p_WSCvtoggleTo_p_WSCvlabel(void *x) {
    return (void *)((WSCvlabel *)  ((WSCvtoggle *) x));
}
static void *_p_WSCvbtnTo_p_WSCvlabel(void *x) {
    return (void *)((WSCvlabel *)  ((WSCvbtn *) x));
}
static void *_p_WSCvmifieldTo_p_WSCvlabel(void *x) {
    return (void *)((WSCvlabel *) (WSCvifield *) ((WSCvmifield *) x));
}
static void *_p_WSCvradioTo_p_WSCvlabel(void *x) {
    return (void *)((WSCvlabel *) (WSCvtoggle *) ((WSCvradio *) x));
}
static void *_p_WSCvifieldTo_p_WSCvlabel(void *x) {
    return (void *)((WSCvlabel *)  ((WSCvifield *) x));
}
static void *_p_WSCvpifieldTo_p_WSCvlabel(void *x) {
    return (void *)((WSCvlabel *) (WSCvifield *) ((WSCvpifield *) x));
}
static void *_p_WSCvclockTo_p_WSCvlabel(void *x) {
    return (void *)((WSCvlabel *)  ((WSCvclock *) x));
}
static void *_p_WSCpulldownMenuTo_p_WSCvlabel(void *x) {
    return (void *)((WSCvlabel *)  ((WSCpulldownMenu *) x));
}
static void *_p_WSCverbListTo_p_WSCscrForm(void *x) {
    return (void *)((WSCscrForm *) (WSClist *) ((WSCverbList *) x));
}
static void *_p_WSCtreeListTo_p_WSCscrForm(void *x) {
    return (void *)((WSCscrForm *) (WSClist *) ((WSCtreeList *) x));
}
static void *_p_WSClistTo_p_WSCscrForm(void *x) {
    return (void *)((WSCscrForm *)  ((WSClist *) x));
}
static void *_p_WSCverbListTo_p_WSClist(void *x) {
    return (void *)((WSClist *)  ((WSCverbList *) x));
}
static void *_p_WSCtreeListTo_p_WSClist(void *x) {
    return (void *)((WSClist *)  ((WSCtreeList *) x));
}
static void *_p_WSCdialogTo_p_WSCbaseDialog(void *x) {
    return (void *)((WSCbaseDialog *)  ((WSCdialog *) x));
}
static void *_p_WSCinputDialogTo_p_WSCbaseDialog(void *x) {
    return (void *)((WSCbaseDialog *)  ((WSCinputDialog *) x));
}
static void *_p_WSCwizardDialogTo_p_WSCbaseDialog(void *x) {
    return (void *)((WSCbaseDialog *)  ((WSCwizardDialog *) x));
}
static void *_p_WSCmessageDialogTo_p_WSCbaseDialog(void *x) {
    return (void *)((WSCbaseDialog *)  ((WSCmessageDialog *) x));
}
static void *_p_WSCworkingDialogTo_p_WSCbaseDialog(void *x) {
    return (void *)((WSCbaseDialog *)  ((WSCworkingDialog *) x));
}
static void *_p_WSCfileSelectTo_p_WSCbaseDialog(void *x) {
    return (void *)((WSCbaseDialog *)  ((WSCfileSelect *) x));
}
static void *_p_WSCvmeterTo_p_WSCvpolyAttr(void *x) {
    return (void *)((WSCvpolyAttr *)  ((WSCvmeter *) x));
}
static void *_p_WSCvpolyTo_p_WSCvpolyAttr(void *x) {
    return (void *)((WSCvpolyAttr *)  ((WSCvpoly *) x));
}
static void *_p_WSCvrectTo_p_WSCvpolyAttr(void *x) {
    return (void *)((WSCvpolyAttr *)  ((WSCvrect *) x));
}
static void *_p_WSCvarcTo_p_WSCvpolyAttr(void *x) {
    return (void *)((WSCvpolyAttr *)  ((WSCvarc *) x));
}
static void *_p_WSCvlabelTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *) ((WSCvlabel *) x));
}
static void *_p_WSClistTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCform *)(WSCscrForm *) ((WSClist *) x));
}
static void *_p_WSCoptionTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCform *) ((WSCoption *) x));
}
static void *_p_WSCvrectTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *)(WSCvpolyAttr *) ((WSCvrect *) x));
}
static void *_p_WSCvremoteClientTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCngbase *) ((WSCvremoteClient *) x));
}
static void *_p_WSCngbaseTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *)  ((WSCngbase *) x));
}
static void *_p_WSCvfbtnTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *)(WSCvlabel *)(WSCvbtn *) ((WSCvfbtn *) x));
}
static void *_p_WSCindexFormTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCform *) ((WSCindexForm *) x));
}
static void *_p_WSCvlineTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *) ((WSCvline *) x));
}
static void *_p_WSCvbarGraphTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *) ((WSCvbarGraph *) x));
}
static void *_p_WSCvsliderTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *) ((WSCvslider *) x));
}
static void *_p_WSCtextFieldTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCform *) ((WSCtextField *) x));
}
static void *_p_WSCbaseDialogTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCwindow *) ((WSCbaseDialog *) x));
}
static void *_p_WSCmessageDialogTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCwindow *)(WSCbaseDialog *) ((WSCmessageDialog *) x));
}
static void *_p_WSCworkingDialogTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCwindow *)(WSCbaseDialog *) ((WSCworkingDialog *) x));
}
static void *_p_WSCvbtnTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *)(WSCvlabel *) ((WSCvbtn *) x));
}
static void *_p_WSCwindowTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *)  ((WSCwindow *) x));
}
static void *_p_WSCmainWindowTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCwindow *) ((WSCmainWindow *) x));
}
static void *_p_WSCvradioTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *)(WSCvlabel *)(WSCvtoggle *) ((WSCvradio *) x));
}
static void *_p_WSCvertFormTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCform *) ((WSCvertForm *) x));
}
static void *_p_WSCformTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *)  ((WSCform *) x));
}
static void *_p_WSCcomboBoxTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCform *) ((WSCcomboBox *) x));
}
static void *_p_WSCvscrBarTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *) ((WSCvscrBar *) x));
}
static void *_p_WSCmenuAreaTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCform *) ((WSCmenuArea *) x));
}
static void *_p_WSCnwbaseTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *)  ((WSCnwbase *) x));
}
static void *_p_WSCvklabelTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *)(WSCvlabel *) ((WSCvklabel *) x));
}
static void *_p_WSCvkflabelTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *)(WSCvlabel *)(WSCvklabel *) ((WSCvkflabel *) x));
}
static void *_p_WSCcheckGroupTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCform *)(WSCradioGroup *) ((WSCcheckGroup *) x));
}
static void *_p_WSCscrFormTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCform *) ((WSCscrForm *) x));
}
static void *_p_WSCvkslabelTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *)(WSCvlabel *)(WSCvifield *) ((WSCvkslabel *) x));
}
static void *_p_WSCvlineGraphTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *) ((WSCvlineGraph *) x));
}
static void *_p_WSCsformTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCform *) ((WSCsform *) x));
}
static void *_p_WSCvmifieldTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *)(WSCvlabel *)(WSCvifield *) ((WSCvmifield *) x));
}
static void *_p_WSCvpolyTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *)(WSCvpolyAttr *) ((WSCvpoly *) x));
}
static void *_p_WSCvarcTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *)(WSCvpolyAttr *) ((WSCvarc *) x));
}
static void *_p_WSCvarrowTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *)(WSCvlabel *)(WSCvbtn *) ((WSCvarrow *) x));
}
static void *_p_WSCradioGroupTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCform *) ((WSCradioGroup *) x));
}
static void *_p_WSCvpolyAttrTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *) ((WSCvpolyAttr *) x));
}
static void *_p_WSCvcsocketTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCngbase *) ((WSCvcsocket *) x));
}
static void *_p_WSCvssocketTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCngbase *) ((WSCvssocket *) x));
}
static void *_p_WSChorzFormTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCform *)(WSCvertForm *) ((WSChorzForm *) x));
}
static void *_p_WSCvimageTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *) ((WSCvimage *) x));
}
static void *_p_WSCvballoonHelpTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCngbase *) ((WSCvballoonHelp *) x));
}
static void *_p_WSCvremoteServerTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCngbase *) ((WSCvremoteServer *) x));
}
static void *_p_WSCvtimerTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCngbase *) ((WSCvtimer *) x));
}
static void *_p_WSCvmeterTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *)(WSCvpolyAttr *) ((WSCvmeter *) x));
}
static void *_p_WSCvgraphMatrixTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *) ((WSCvgraphMatrix *) x));
}
static void *_p_WSCvifieldTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *)(WSCvlabel *) ((WSCvifield *) x));
}
static void *_p_WSCvpifieldTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *)(WSCvlabel *)(WSCvifield *) ((WSCvpifield *) x));
}
static void *_p_WSCfileSelectTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCwindow *)(WSCbaseDialog *) ((WSCfileSelect *) x));
}
static void *_p_WSCvclockTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *)(WSCvlabel *) ((WSCvclock *) x));
}
static void *_p_WSCvdrawingAreaTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *) ((WSCvdrawingArea *) x));
}
static void *_p_WSCvgraphScaleTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *) ((WSCvgraphScale *) x));
}
static void *_p_WSCdialogTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCwindow *)(WSCbaseDialog *) ((WSCdialog *) x));
}
static void *_p_WSCinputDialogTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCwindow *)(WSCbaseDialog *) ((WSCinputDialog *) x));
}
static void *_p_WSCwizardDialogTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCwindow *)(WSCbaseDialog *) ((WSCwizardDialog *) x));
}
static void *_p_WSCvtoggleTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *)(WSCvlabel *) ((WSCvtoggle *) x));
}
static void *_p_WSCtreeListTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCform *)(WSCscrForm *)(WSClist *) ((WSCtreeList *) x));
}
static void *_p_WSCgridTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCform *) ((WSCgrid *) x));
}
static void *_p_WSCvudpsocketTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCngbase *) ((WSCvudpsocket *) x));
}
static void *_p_WSCverbListTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCform *)(WSCscrForm *)(WSClist *) ((WSCverbList *) x));
}
static void *_p_WSCpulldownMenuTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCnwbase *)(WSCvlabel *) ((WSCpulldownMenu *) x));
}
static void *_p_WSCvspaceTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCngbase *) ((WSCvspace *) x));
}
static void *_p_WSCvdbTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCngbase *) ((WSCvdb *) x));
}
static void *_p_WSCvkslabelTo_p_WSCvifield(void *x) {
    return (void *)((WSCvifield *)  ((WSCvkslabel *) x));
}
static void *_p_WSCvmifieldTo_p_WSCvifield(void *x) {
    return (void *)((WSCvifield *)  ((WSCvmifield *) x));
}
static void *_p_WSCvpifieldTo_p_WSCvifield(void *x) {
    return (void *)((WSCvifield *)  ((WSCvpifield *) x));
}
static void *_p_WSCvarrowTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *) (WSCvlabel *)(WSCvbtn *) ((WSCvarrow *) x));
}
static void *_p_WSCvpolyTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *) (WSCvpolyAttr *) ((WSCvpoly *) x));
}
static void *_p_WSCvpolyAttrTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *)  ((WSCvpolyAttr *) x));
}
static void *_p_WSCvfbtnTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *) (WSCvlabel *)(WSCvbtn *) ((WSCvfbtn *) x));
}
static void *_p_WSCvlineTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *)  ((WSCvline *) x));
}
static void *_p_WSCvbarGraphTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *)  ((WSCvbarGraph *) x));
}
static void *_p_WSCvlabelTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *)  ((WSCvlabel *) x));
}
static void *_p_WSCvkflabelTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *) (WSCvlabel *)(WSCvklabel *) ((WSCvkflabel *) x));
}
static void *_p_WSCvlineGraphTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *)  ((WSCvlineGraph *) x));
}
static void *_p_WSCvgraphScaleTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *)  ((WSCvgraphScale *) x));
}
static void *_p_WSCvpifieldTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *) (WSCvlabel *)(WSCvifield *) ((WSCvpifield *) x));
}
static void *_p_WSCvifieldTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *) (WSCvlabel *) ((WSCvifield *) x));
}
static void *_p_WSCvscrBarTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *)  ((WSCvscrBar *) x));
}
static void *_p_WSCvbtnTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *) (WSCvlabel *) ((WSCvbtn *) x));
}
static void *_p_WSCvrectTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *) (WSCvpolyAttr *) ((WSCvrect *) x));
}
static void *_p_WSCvmifieldTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *) (WSCvlabel *)(WSCvifield *) ((WSCvmifield *) x));
}
static void *_p_WSCvklabelTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *) (WSCvlabel *) ((WSCvklabel *) x));
}
static void *_p_WSCvsliderTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *)  ((WSCvslider *) x));
}
static void *_p_WSCvtoggleTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *) (WSCvlabel *) ((WSCvtoggle *) x));
}
static void *_p_WSCvdrawingAreaTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *)  ((WSCvdrawingArea *) x));
}
static void *_p_WSCvclockTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *) (WSCvlabel *) ((WSCvclock *) x));
}
static void *_p_WSCpulldownMenuTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *) (WSCvlabel *) ((WSCpulldownMenu *) x));
}
static void *_p_WSCvmeterTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *) (WSCvpolyAttr *) ((WSCvmeter *) x));
}
static void *_p_WSCvkslabelTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *) (WSCvlabel *)(WSCvifield *) ((WSCvkslabel *) x));
}
static void *_p_WSCvimageTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *)  ((WSCvimage *) x));
}
static void *_p_WSCvarcTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *) (WSCvpolyAttr *) ((WSCvarc *) x));
}
static void *_p_WSCvgraphMatrixTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *)  ((WSCvgraphMatrix *) x));
}
static void *_p_WSCvradioTo_p_WSCnwbase(void *x) {
    return (void *)((WSCnwbase *) (WSCvlabel *)(WSCvtoggle *) ((WSCvradio *) x));
}
static void *_p_WSCvkflabelTo_p_WSCvklabel(void *x) {
    return (void *)((WSCvklabel *)  ((WSCvkflabel *) x));
}
static void *_p_WSCdialogTo_p_WSCwindow(void *x) {
    return (void *)((WSCwindow *) (WSCbaseDialog *) ((WSCdialog *) x));
}
static void *_p_WSCinputDialogTo_p_WSCwindow(void *x) {
    return (void *)((WSCwindow *) (WSCbaseDialog *) ((WSCinputDialog *) x));
}
static void *_p_WSCwizardDialogTo_p_WSCwindow(void *x) {
    return (void *)((WSCwindow *) (WSCbaseDialog *) ((WSCwizardDialog *) x));
}
static void *_p_WSCbaseDialogTo_p_WSCwindow(void *x) {
    return (void *)((WSCwindow *)  ((WSCbaseDialog *) x));
}
static void *_p_WSCmessageDialogTo_p_WSCwindow(void *x) {
    return (void *)((WSCwindow *) (WSCbaseDialog *) ((WSCmessageDialog *) x));
}
static void *_p_WSCworkingDialogTo_p_WSCwindow(void *x) {
    return (void *)((WSCwindow *) (WSCbaseDialog *) ((WSCworkingDialog *) x));
}
static void *_p_WSCmainWindowTo_p_WSCwindow(void *x) {
    return (void *)((WSCwindow *)  ((WSCmainWindow *) x));
}
static void *_p_WSCfileSelectTo_p_WSCwindow(void *x) {
    return (void *)((WSCwindow *) (WSCbaseDialog *) ((WSCfileSelect *) x));
}
static void *_p_WSCvfbtnTo_p_WSCvbtn(void *x) {
    return (void *)((WSCvbtn *)  ((WSCvfbtn *) x));
}
static void *_p_WSCvarrowTo_p_WSCvbtn(void *x) {
    return (void *)((WSCvbtn *)  ((WSCvarrow *) x));
}
static void *_p_WSCcheckGroupTo_p_WSCradioGroup(void *x) {
    return (void *)((WSCradioGroup *)  ((WSCcheckGroup *) x));
}
static void *_p_WSCvballoonHelpTo_p_WSCngbase(void *x) {
    return (void *)((WSCngbase *)  ((WSCvballoonHelp *) x));
}
static void *_p_WSCvudpsocketTo_p_WSCngbase(void *x) {
    return (void *)((WSCngbase *)  ((WSCvudpsocket *) x));
}
static void *_p_WSCvremoteClientTo_p_WSCngbase(void *x) {
    return (void *)((WSCngbase *)  ((WSCvremoteClient *) x));
}
static void *_p_WSCvremoteServerTo_p_WSCngbase(void *x) {
    return (void *)((WSCngbase *)  ((WSCvremoteServer *) x));
}
static void *_p_WSCvdbTo_p_WSCngbase(void *x) {
    return (void *)((WSCngbase *)  ((WSCvdb *) x));
}
static void *_p_WSCvtimerTo_p_WSCngbase(void *x) {
    return (void *)((WSCngbase *)  ((WSCvtimer *) x));
}
static void *_p_WSCvspaceTo_p_WSCngbase(void *x) {
    return (void *)((WSCngbase *)  ((WSCvspace *) x));
}
static void *_p_WSCvcsocketTo_p_WSCngbase(void *x) {
    return (void *)((WSCngbase *)  ((WSCvcsocket *) x));
}
static void *_p_WSCvssocketTo_p_WSCngbase(void *x) {
    return (void *)((WSCngbase *)  ((WSCvssocket *) x));
}
static void *_p_WSCcomboBoxTo_p_WSCform(void *x) {
    return (void *)((WSCform *)  ((WSCcomboBox *) x));
}
static void *_p_WSChorzFormTo_p_WSCform(void *x) {
    return (void *)((WSCform *) (WSCvertForm *) ((WSChorzForm *) x));
}
static void *_p_WSClistTo_p_WSCform(void *x) {
    return (void *)((WSCform *) (WSCscrForm *) ((WSClist *) x));
}
static void *_p_WSCcheckGroupTo_p_WSCform(void *x) {
    return (void *)((WSCform *) (WSCradioGroup *) ((WSCcheckGroup *) x));
}
static void *_p_WSCvertFormTo_p_WSCform(void *x) {
    return (void *)((WSCform *)  ((WSCvertForm *) x));
}
static void *_p_WSCsformTo_p_WSCform(void *x) {
    return (void *)((WSCform *)  ((WSCsform *) x));
}
static void *_p_WSCindexFormTo_p_WSCform(void *x) {
    return (void *)((WSCform *)  ((WSCindexForm *) x));
}
static void *_p_WSCtextFieldTo_p_WSCform(void *x) {
    return (void *)((WSCform *)  ((WSCtextField *) x));
}
static void *_p_WSCverbListTo_p_WSCform(void *x) {
    return (void *)((WSCform *) (WSCscrForm *)(WSClist *) ((WSCverbList *) x));
}
static void *_p_WSCtreeListTo_p_WSCform(void *x) {
    return (void *)((WSCform *) (WSCscrForm *)(WSClist *) ((WSCtreeList *) x));
}
static void *_p_WSCoptionTo_p_WSCform(void *x) {
    return (void *)((WSCform *)  ((WSCoption *) x));
}
static void *_p_WSCscrFormTo_p_WSCform(void *x) {
    return (void *)((WSCform *)  ((WSCscrForm *) x));
}
static void *_p_WSCmenuAreaTo_p_WSCform(void *x) {
    return (void *)((WSCform *)  ((WSCmenuArea *) x));
}
static void *_p_WSCradioGroupTo_p_WSCform(void *x) {
    return (void *)((WSCform *)  ((WSCradioGroup *) x));
}
static void *_p_WSCgridTo_p_WSCform(void *x) {
    return (void *)((WSCform *)  ((WSCgrid *) x));
}
static swig_type_info _swigt__p_WSCvpoly[] = {{"_p_WSCvpoly", 0, "WSCvpoly *", 0},{"_p_WSCvpoly"},{0}};
static swig_type_info _swigt__p_WSCremoteInstanceData[] = {{"_p_WSCremoteInstanceData", 0, "WSCremoteInstanceData *", 0},{"_p_WSCremoteInstanceData"},{0}};
static swig_type_info _swigt__p_WSCpulldownMenu[] = {{"_p_WSCpulldownMenu", 0, "WSCpulldownMenu *", 0},{"_p_WSCpulldownMenu"},{0}};
static swig_type_info _swigt__p_WSCvmifield[] = {{"_p_WSCvmifield", 0, "WSCvmifield *", 0},{"_p_WSCvmifield"},{0}};
static swig_type_info _swigt__p_WSCvimage[] = {{"_p_WSCvimage", 0, "WSCvimage *", 0},{"_p_WSCvimage"},{0}};
static swig_type_info _swigt__p_WSCRbase[] = {{"_p_WSCRbase", 0, "WSCRbase *", 0},{"_p_WSCRbase"},{0}};
static swig_type_info _swigt__p_WSCvtimer[] = {{"_p_WSCvtimer", 0, "WSCvtimer *", 0},{"_p_WSCvtimer"},{0}};
static swig_type_info _swigt__p_WSCvariant[] = {{"_p_WSCvariant", 0, "WSCvariant *", 0},{"_p_WSCvariant"},{0}};
static swig_type_info _swigt__p_WSCvballoonHelp[] = {{"_p_WSCvballoonHelp", 0, "WSCvballoonHelp *", 0},{"_p_WSCvballoonHelp"},{0}};
static swig_type_info _swigt__p_WSDimage[] = {{"_p_WSDimage", 0, "WSDimage *", 0},{"_p_WSDimage"},{0}};
static swig_type_info _swigt__p_WSCsform[] = {{"_p_WSCsform", 0, "WSCsform *", 0},{"_p_WSCsform"},{0}};
static swig_type_info _swigt__p_WSCcolorSet[] = {{"_p_WSCcolorSet", 0, "WSCcolorSet *", 0},{"_p_WSCcolorSet"},{0}};
static swig_type_info _swigt__p_WSCtreeList[] = {{"_p_WSCtreeList", 0, "WSCtreeList *", 0},{"_p_WSCtreeList"},{0}};
static swig_type_info _swigt__p_WSCvertForm[] = {{"_p_WSCvertForm", 0, "WSCvertForm *", 0},{"_p_WSChorzForm", _p_WSChorzFormTo_p_WSCvertForm},{"_p_WSCvertForm"},{0}};
static swig_type_info _swigt__p_WSCtextField[] = {{"_p_WSCtextField", 0, "WSCtextField *", 0},{"_p_WSCtextField"},{0}};
static swig_type_info _swigt__p_WSCfontSet[] = {{"_p_WSCfontSet", 0, "WSCfontSet *", 0},{"_p_WSCfontSet"},{0}};
static swig_type_info _swigt__p_WSCvtoggle[] = {{"_p_WSCvtoggle", 0, "WSCvtoggle *", 0},{"_p_WSCvtoggle"},{"_p_WSCvradio", _p_WSCvradioTo_p_WSCvtoggle},{0}};
static swig_type_info _swigt__p_WSDkeyboard[] = {{"_p_WSDkeyboard", 0, "WSDkeyboard *", 0},{"_p_WSDkeyboard"},{0}};
static swig_type_info _swigt__p_WSCvbarGraph[] = {{"_p_WSCvbarGraph", 0, "WSCvbarGraph *", 0},{"_p_WSCvbarGraph"},{0}};
static swig_type_info _swigt__p_WSCmenuArea[] = {{"_p_WSCmenuArea", 0, "WSCmenuArea *", 0},{"_p_WSCmenuArea"},{0}};
static swig_type_info _swigt__p_WSCvslider[] = {{"_p_WSCvslider", 0, "WSCvslider *", 0},{"_p_WSCvslider"},{0}};
static swig_type_info _swigt__p_WSCvlabel[] = {{"_p_WSCvlabel", 0, "WSCvlabel *", 0},{"_p_WSCvarrow", _p_WSCvarrowTo_p_WSCvlabel},{"_p_WSCvfbtn", _p_WSCvfbtnTo_p_WSCvlabel},{"_p_WSCvlabel"},{"_p_WSCvkflabel", _p_WSCvkflabelTo_p_WSCvlabel},{"_p_WSCvifield", _p_WSCvifieldTo_p_WSCvlabel},{"_p_WSCvpifield", _p_WSCvpifieldTo_p_WSCvlabel},{"_p_WSCvbtn", _p_WSCvbtnTo_p_WSCvlabel},{"_p_WSCvmifield", _p_WSCvmifieldTo_p_WSCvlabel},{"_p_WSCvtoggle", _p_WSCvtoggleTo_p_WSCvlabel},{"_p_WSCvklabel", _p_WSCvklabelTo_p_WSCvlabel},{"_p_WSCvclock", _p_WSCvclockTo_p_WSCvlabel},{"_p_WSCpulldownMenu", _p_WSCpulldownMenuTo_p_WSCvlabel},{"_p_WSCvkslabel", _p_WSCvkslabelTo_p_WSCvlabel},{"_p_WSCvradio", _p_WSCvradioTo_p_WSCvlabel},{0}};
static swig_type_info _swigt__p_WSCvgraphMatrix[] = {{"_p_WSCvgraphMatrix", 0, "WSCvgraphMatrix *", 0},{"_p_WSCvgraphMatrix"},{0}};
static swig_type_info _swigt__p_WSCscrForm[] = {{"_p_WSCscrForm", 0, "WSCscrForm *", 0},{"_p_WSCverbList", _p_WSCverbListTo_p_WSCscrForm},{"_p_WSCscrForm"},{"_p_WSCtreeList", _p_WSCtreeListTo_p_WSCscrForm},{"_p_WSClist", _p_WSClistTo_p_WSCscrForm},{0}};
static swig_type_info _swigt__p_WSCvrect[] = {{"_p_WSCvrect", 0, "WSCvrect *", 0},{"_p_WSCvrect"},{0}};
static swig_type_info _swigt__p_WSCvkslabel[] = {{"_p_WSCvkslabel", 0, "WSCvkslabel *", 0},{"_p_WSCvkslabel"},{0}};
static swig_type_info _swigt__p_WSCcheckGroup[] = {{"_p_WSCcheckGroup", 0, "WSCcheckGroup *", 0},{"_p_WSCcheckGroup"},{0}};
static swig_type_info _swigt__p_WSCvgraphScale[] = {{"_p_WSCvgraphScale", 0, "WSCvgraphScale *", 0},{"_p_WSCvgraphScale"},{0}};
static swig_type_info _swigt__p_WSCulong[] = {{"_p_WSCulong", 0, "WSCulong *", 0},{"_p_WSCulong"},{0}};
static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
static swig_type_info _swigt__p_WSClist[] = {{"_p_WSClist", 0, "WSClist *", 0},{"_p_WSCverbList", _p_WSCverbListTo_p_WSClist},{"_p_WSCtreeList", _p_WSCtreeListTo_p_WSClist},{"_p_WSClist"},{0}};
static swig_type_info _swigt__p_WSClistData[] = {{"_p_WSClistData", 0, "WSClistData *", 0},{"_p_WSClistData"},{0}};
static swig_type_info _swigt__p_WSCuchar[] = {{"_p_WSCuchar", 0, "WSCuchar *", 0},{"_p_WSCuchar"},{"_p_WSCbool"},{0}};
static swig_type_info _swigt__p_WSCvlineGraph[] = {{"_p_WSCvlineGraph", 0, "WSCvlineGraph *", 0},{"_p_WSCvlineGraph"},{0}};
static swig_type_info _swigt__p_WSCvradio[] = {{"_p_WSCvradio", 0, "WSCvradio *", 0},{"_p_WSCvradio"},{0}};
static swig_type_info _swigt__p_WSCvclock[] = {{"_p_WSCvclock", 0, "WSCvclock *", 0},{"_p_WSCvclock"},{0}};
static swig_type_info _swigt__p_WSCbaseList[] = {{"_p_WSCbaseList", 0, "WSCbaseList *", 0},{"_p_WSCbaseList"},{0}};
static swig_type_info _swigt__p_WSCworkingDialog[] = {{"_p_WSCworkingDialog", 0, "WSCworkingDialog *", 0},{"_p_WSCworkingDialog"},{0}};
static swig_type_info _swigt__p_WSCmessageDialog[] = {{"_p_WSCmessageDialog", 0, "WSCmessageDialog *", 0},{"_p_WSCmessageDialog"},{0}};
static swig_type_info _swigt__p_WSCbaseDialog[] = {{"_p_WSCbaseDialog", 0, "WSCbaseDialog *", 0},{"_p_WSCdialog", _p_WSCdialogTo_p_WSCbaseDialog},{"_p_WSCinputDialog", _p_WSCinputDialogTo_p_WSCbaseDialog},{"_p_WSCwizardDialog", _p_WSCwizardDialogTo_p_WSCbaseDialog},{"_p_WSCbaseDialog"},{"_p_WSCmessageDialog", _p_WSCmessageDialogTo_p_WSCbaseDialog},{"_p_WSCworkingDialog", _p_WSCworkingDialogTo_p_WSCbaseDialog},{"_p_WSCfileSelect", _p_WSCfileSelectTo_p_WSCbaseDialog},{0}};
static swig_type_info _swigt__p_WSCvremoteClient[] = {{"_p_WSCvremoteClient", 0, "WSCvremoteClient *", 0},{"_p_WSCvremoteClient"},{0}};
static swig_type_info _swigt__p_WSCverbList[] = {{"_p_WSCverbList", 0, "WSCverbList *", 0},{"_p_WSCverbList"},{0}};
static swig_type_info _swigt__p_WSCpoint[] = {{"_p_WSCpoint", 0, "WSCpoint *", 0},{"_p_WSCpoint"},{0}};
static swig_type_info _swigt__p_WSDfont[] = {{"_p_WSDfont", 0, "WSDfont *", 0},{"_p_WSDfont"},{0}};
static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
static swig_type_info _swigt__p_WSCvpolyAttr[] = {{"_p_WSCvpolyAttr", 0, "WSCvpolyAttr *", 0},{"_p_WSCvmeter", _p_WSCvmeterTo_p_WSCvpolyAttr},{"_p_WSCvpoly", _p_WSCvpolyTo_p_WSCvpolyAttr},{"_p_WSCvpolyAttr"},{"_p_WSCvrect", _p_WSCvrectTo_p_WSCvpolyAttr},{"_p_WSCvarc", _p_WSCvarcTo_p_WSCvpolyAttr},{0}};
static swig_type_info _swigt__p_WSCvudpsocket[] = {{"_p_WSCvudpsocket", 0, "WSCvudpsocket *", 0},{"_p_WSCvudpsocket"},{0}};
static swig_type_info _swigt__p_WSCbool[] = {{"_p_WSCbool", 0, "WSCbool *", 0},{"_p_WSCbool"},{"_p_WSCuchar"},{0}};
static swig_type_info _swigt__p_WSCvdrawingArea[] = {{"_p_WSCvdrawingArea", 0, "WSCvdrawingArea *", 0},{"_p_WSCvdrawingArea"},{0}};
static swig_type_info _swigt__p_WSCbase[] = {{"_p_WSCbase", 0, "WSCbase *", 0},{"_p_WSClist", _p_WSClistTo_p_WSCbase},{"_p_WSCvlabel", _p_WSCvlabelTo_p_WSCbase},{"_p_WSCoption", _p_WSCoptionTo_p_WSCbase},{"_p_WSCvrect", _p_WSCvrectTo_p_WSCbase},{"_p_WSCvremoteClient", _p_WSCvremoteClientTo_p_WSCbase},{"_p_WSCngbase", _p_WSCngbaseTo_p_WSCbase},{"_p_WSCindexForm", _p_WSCindexFormTo_p_WSCbase},{"_p_WSCvfbtn", _p_WSCvfbtnTo_p_WSCbase},{"_p_WSCvline", _p_WSCvlineTo_p_WSCbase},{"_p_WSCvbarGraph", _p_WSCvbarGraphTo_p_WSCbase},{"_p_WSCworkingDialog", _p_WSCworkingDialogTo_p_WSCbase},{"_p_WSCmessageDialog", _p_WSCmessageDialogTo_p_WSCbase},{"_p_WSCbaseDialog", _p_WSCbaseDialogTo_p_WSCbase},{"_p_WSCvslider", _p_WSCvsliderTo_p_WSCbase},{"_p_WSCtextField", _p_WSCtextFieldTo_p_WSCbase},{"_p_WSCvbtn", _p_WSCvbtnTo_p_WSCbase},{"_p_WSCvradio", _p_WSCvradioTo_p_WSCbase},{"_p_WSCvertForm", _p_WSCvertFormTo_p_WSCbase},{"_p_WSCmainWindow", _p_WSCmainWindowTo_p_WSCbase},{"_p_WSCwindow", _p_WSCwindowTo_p_WSCbase},{"_p_WSCvdb", _p_WSCvdbTo_p_WSCbase},{"_p_WSCform", _p_WSCformTo_p_WSCbase},{"_p_WSCcomboBox", _p_WSCcomboBoxTo_p_WSCbase},{"_p_WSCvscrBar", _p_WSCvscrBarTo_p_WSCbase},{"_p_WSCmenuArea", _p_WSCmenuAreaTo_p_WSCbase},{"_p_WSCvklabel", _p_WSCvklabelTo_p_WSCbase},{"_p_WSCvkflabel", _p_WSCvkflabelTo_p_WSCbase},{"_p_WSCcheckGroup", _p_WSCcheckGroupTo_p_WSCbase},{"_p_WSCscrForm", _p_WSCscrFormTo_p_WSCbase},{"_p_WSCnwbase", _p_WSCnwbaseTo_p_WSCbase},{"_p_WSCvkslabel", _p_WSCvkslabelTo_p_WSCbase},{"_p_WSCvlineGraph", _p_WSCvlineGraphTo_p_WSCbase},{"_p_WSCsform", _p_WSCsformTo_p_WSCbase},{"_p_WSCvmifield", _p_WSCvmifieldTo_p_WSCbase},{"_p_WSCvpoly", _p_WSCvpolyTo_p_WSCbase},{"_p_WSCvarc", _p_WSCvarcTo_p_WSCbase},{"_p_WSCvarrow", _p_WSCvarrowTo_p_WSCbase},{"_p_WSCradioGroup", _p_WSCradioGroupTo_p_WSCbase},{"_p_WSCvssocket", _p_WSCvssocketTo_p_WSCbase},{"_p_WSCvcsocket", _p_WSCvcsocketTo_p_WSCbase},{"_p_WSChorzForm", _p_WSChorzFormTo_p_WSCbase},{"_p_WSCvpolyAttr", _p_WSCvpolyAttrTo_p_WSCbase},{"_p_WSCvballoonHelp", _p_WSCvballoonHelpTo_p_WSCbase},{"_p_WSCvimage", _p_WSCvimageTo_p_WSCbase},{"_p_WSCvremoteServer", _p_WSCvremoteServerTo_p_WSCbase},{"_p_WSCvtimer", _p_WSCvtimerTo_p_WSCbase},{"_p_WSCvmeter", _p_WSCvmeterTo_p_WSCbase},{"_p_WSCvgraphMatrix", _p_WSCvgraphMatrixTo_p_WSCbase},{"_p_WSCvpifield", _p_WSCvpifieldTo_p_WSCbase},{"_p_WSCvifield", _p_WSCvifieldTo_p_WSCbase},{"_p_WSCfileSelect", _p_WSCfileSelectTo_p_WSCbase},{"_p_WSCvclock", _p_WSCvclockTo_p_WSCbase},{"_p_WSCvdrawingArea", _p_WSCvdrawingAreaTo_p_WSCbase},{"_p_WSCtreeList", _p_WSCtreeListTo_p_WSCbase},{"_p_WSCvtoggle", _p_WSCvtoggleTo_p_WSCbase},{"_p_WSCdialog", _p_WSCdialogTo_p_WSCbase},{"_p_WSCinputDialog", _p_WSCinputDialogTo_p_WSCbase},{"_p_WSCwizardDialog", _p_WSCwizardDialogTo_p_WSCbase},{"_p_WSCvgraphScale", _p_WSCvgraphScaleTo_p_WSCbase},{"_p_WSCvudpsocket", _p_WSCvudpsocketTo_p_WSCbase},{"_p_WSCgrid", _p_WSCgridTo_p_WSCbase},{"_p_WSCverbList", _p_WSCverbListTo_p_WSCbase},{"_p_WSCpulldownMenu", _p_WSCpulldownMenuTo_p_WSCbase},{"_p_WSCvspace", _p_WSCvspaceTo_p_WSCbase},{"_p_WSCbase"},{0}};
static swig_type_info _swigt__p_WSCcomboBox[] = {{"_p_WSCcomboBox", 0, "WSCcomboBox *", 0},{"_p_WSCcomboBox"},{0}};
static swig_type_info _swigt__p_WSCvline[] = {{"_p_WSCvline", 0, "WSCvline *", 0},{"_p_WSCvline"},{0}};
static swig_type_info _swigt__p_WSCvifield[] = {{"_p_WSCvifield", 0, "WSCvifield *", 0},{"_p_WSCvkslabel", _p_WSCvkslabelTo_p_WSCvifield},{"_p_WSCvmifield", _p_WSCvmifieldTo_p_WSCvifield},{"_p_WSCvifield"},{"_p_WSCvpifield", _p_WSCvpifieldTo_p_WSCvifield},{0}};
static swig_type_info _swigt__p_WSCvpifield[] = {{"_p_WSCvpifield", 0, "WSCvpifield *", 0},{"_p_WSCvpifield"},{0}};
static swig_type_info _swigt__p_WSCnwbase[] = {{"_p_WSCnwbase", 0, "WSCnwbase *", 0},{"_p_WSCvpoly", _p_WSCvpolyTo_p_WSCnwbase},{"_p_WSCvarrow", _p_WSCvarrowTo_p_WSCnwbase},{"_p_WSCvpolyAttr", _p_WSCvpolyAttrTo_p_WSCnwbase},{"_p_WSCvbarGraph", _p_WSCvbarGraphTo_p_WSCnwbase},{"_p_WSCvline", _p_WSCvlineTo_p_WSCnwbase},{"_p_WSCvfbtn", _p_WSCvfbtnTo_p_WSCnwbase},{"_p_WSCvlabel", _p_WSCvlabelTo_p_WSCnwbase},{"_p_WSCvkflabel", _p_WSCvkflabelTo_p_WSCnwbase},{"_p_WSCvgraphScale", _p_WSCvgraphScaleTo_p_WSCnwbase},{"_p_WSCvlineGraph", _p_WSCvlineGraphTo_p_WSCnwbase},{"_p_WSCvifield", _p_WSCvifieldTo_p_WSCnwbase},{"_p_WSCvpifield", _p_WSCvpifieldTo_p_WSCnwbase},{"_p_WSCvscrBar", _p_WSCvscrBarTo_p_WSCnwbase},{"_p_WSCvbtn", _p_WSCvbtnTo_p_WSCnwbase},{"_p_WSCvrect", _p_WSCvrectTo_p_WSCnwbase},{"_p_WSCvmifield", _p_WSCvmifieldTo_p_WSCnwbase},{"_p_WSCvtoggle", _p_WSCvtoggleTo_p_WSCnwbase},{"_p_WSCvklabel", _p_WSCvklabelTo_p_WSCnwbase},{"_p_WSCvslider", _p_WSCvsliderTo_p_WSCnwbase},{"_p_WSCvdrawingArea", _p_WSCvdrawingAreaTo_p_WSCnwbase},{"_p_WSCpulldownMenu", _p_WSCpulldownMenuTo_p_WSCnwbase},{"_p_WSCvclock", _p_WSCvclockTo_p_WSCnwbase},{"_p_WSCnwbase"},{"_p_WSCvarc", _p_WSCvarcTo_p_WSCnwbase},{"_p_WSCvmeter", _p_WSCvmeterTo_p_WSCnwbase},{"_p_WSCvkslabel", _p_WSCvkslabelTo_p_WSCnwbase},{"_p_WSCvimage", _p_WSCvimageTo_p_WSCnwbase},{"_p_WSCvgraphMatrix", _p_WSCvgraphMatrixTo_p_WSCnwbase},{"_p_WSCvradio", _p_WSCvradioTo_p_WSCnwbase},{0}};
static swig_type_info _swigt__p_WSCvklabel[] = {{"_p_WSCvklabel", 0, "WSCvklabel *", 0},{"_p_WSCvklabel"},{"_p_WSCvkflabel", _p_WSCvkflabelTo_p_WSCvklabel},{0}};
static swig_type_info _swigt__p_WSCvfbtn[] = {{"_p_WSCvfbtn", 0, "WSCvfbtn *", 0},{"_p_WSCvfbtn"},{0}};
static swig_type_info _swigt__p_WSCrect[] = {{"_p_WSCrect", 0, "WSCrect *", 0},{"_p_WSCrect"},{0}};
static swig_type_info _swigt__p_WSCvremoteServer[] = {{"_p_WSCvremoteServer", 0, "WSCvremoteServer *", 0},{"_p_WSCvremoteServer"},{0}};
static swig_type_info _swigt__p_WSDappDev[] = {{"_p_WSDappDev", 0, "WSDappDev *", 0},{"_p_WSDappDev"},{0}};
static swig_type_info _swigt__p_WSChorzForm[] = {{"_p_WSChorzForm", 0, "WSChorzForm *", 0},{"_p_WSChorzForm"},{0}};
static swig_type_info _swigt__p_WSCvdb[] = {{"_p_WSCvdb", 0, "WSCvdb *", 0},{"_p_WSCvdb"},{0}};
static swig_type_info _swigt__p_WSCmainWindow[] = {{"_p_WSCmainWindow", 0, "WSCmainWindow *", 0},{"_p_WSCmainWindow"},{0}};
static swig_type_info _swigt__p_WSCwindow[] = {{"_p_WSCwindow", 0, "WSCwindow *", 0},{"_p_WSCdialog", _p_WSCdialogTo_p_WSCwindow},{"_p_WSCinputDialog", _p_WSCinputDialogTo_p_WSCwindow},{"_p_WSCwizardDialog", _p_WSCwizardDialogTo_p_WSCwindow},{"_p_WSCbaseDialog", _p_WSCbaseDialogTo_p_WSCwindow},{"_p_WSCmessageDialog", _p_WSCmessageDialogTo_p_WSCwindow},{"_p_WSCworkingDialog", _p_WSCworkingDialogTo_p_WSCwindow},{"_p_WSCwindow"},{"_p_WSCmainWindow", _p_WSCmainWindowTo_p_WSCwindow},{"_p_WSCfileSelect", _p_WSCfileSelectTo_p_WSCwindow},{0}};
static swig_type_info _swigt__p_WSCstring[] = {{"_p_WSCstring", 0, "WSCstring *", 0},{"_p_WSCstring"},{0}};
static swig_type_info _swigt__p_WSCvbtn[] = {{"_p_WSCvbtn", 0, "WSCvbtn *", 0},{"_p_WSCvfbtn", _p_WSCvfbtnTo_p_WSCvbtn},{"_p_WSCvarrow", _p_WSCvarrowTo_p_WSCvbtn},{"_p_WSCvbtn"},{0}};
static swig_type_info _swigt__p_WSCwizardDialog[] = {{"_p_WSCwizardDialog", 0, "WSCwizardDialog *", 0},{"_p_WSCwizardDialog"},{0}};
static swig_type_info _swigt__p_WSCinputDialog[] = {{"_p_WSCinputDialog", 0, "WSCinputDialog *", 0},{"_p_WSCinputDialog"},{0}};
static swig_type_info _swigt__p_WSCdialog[] = {{"_p_WSCdialog", 0, "WSCdialog *", 0},{"_p_WSCdialog"},{0}};
static swig_type_info _swigt__p_WSCvmeter[] = {{"_p_WSCvmeter", 0, "WSCvmeter *", 0},{"_p_WSCvmeter"},{0}};
static swig_type_info _swigt__p_WSCradioGroup[] = {{"_p_WSCradioGroup", 0, "WSCradioGroup *", 0},{"_p_WSCcheckGroup", _p_WSCcheckGroupTo_p_WSCradioGroup},{"_p_WSCradioGroup"},{0}};
static swig_type_info _swigt__p_WSCindexForm[] = {{"_p_WSCindexForm", 0, "WSCindexForm *", 0},{"_p_WSCindexForm"},{0}};
static swig_type_info _swigt__p_WSCoption[] = {{"_p_WSCoption", 0, "WSCoption *", 0},{"_p_WSCoption"},{0}};
static swig_type_info _swigt__p_WSCgrid[] = {{"_p_WSCgrid", 0, "WSCgrid *", 0},{"_p_WSCgrid"},{0}};
static swig_type_info _swigt__p_WSCvarrow[] = {{"_p_WSCvarrow", 0, "WSCvarrow *", 0},{"_p_WSCvarrow"},{0}};
static swig_type_info _swigt__p_WSCvkflabel[] = {{"_p_WSCvkflabel", 0, "WSCvkflabel *", 0},{"_p_WSCvkflabel"},{0}};
static swig_type_info _swigt__p_WSCngbase[] = {{"_p_WSCngbase", 0, "WSCngbase *", 0},{"_p_WSCvballoonHelp", _p_WSCvballoonHelpTo_p_WSCngbase},{"_p_WSCvudpsocket", _p_WSCvudpsocketTo_p_WSCngbase},{"_p_WSCvremoteClient", _p_WSCvremoteClientTo_p_WSCngbase},{"_p_WSCvremoteServer", _p_WSCvremoteServerTo_p_WSCngbase},{"_p_WSCvdb", _p_WSCvdbTo_p_WSCngbase},{"_p_WSCngbase"},{"_p_WSCvtimer", _p_WSCvtimerTo_p_WSCngbase},{"_p_WSCvspace", _p_WSCvspaceTo_p_WSCngbase},{"_p_WSCvcsocket", _p_WSCvcsocketTo_p_WSCngbase},{"_p_WSCvssocket", _p_WSCvssocketTo_p_WSCngbase},{0}};
static swig_type_info _swigt__p_WSCimageSet[] = {{"_p_WSCimageSet", 0, "WSCimageSet *", 0},{"_p_WSCimageSet"},{0}};
static swig_type_info _swigt__p_WSCvspace[] = {{"_p_WSCvspace", 0, "WSCvspace *", 0},{"_p_WSCvspace"},{0}};
static swig_type_info _swigt__p_WSCvscrBar[] = {{"_p_WSCvscrBar", 0, "WSCvscrBar *", 0},{"_p_WSCvscrBar"},{0}};
static swig_type_info _swigt__p_WSCvarc[] = {{"_p_WSCvarc", 0, "WSCvarc *", 0},{"_p_WSCvarc"},{0}};
static swig_type_info _swigt__p_WSCfileSelect[] = {{"_p_WSCfileSelect", 0, "WSCfileSelect *", 0},{"_p_WSCfileSelect"},{0}};
static swig_type_info _swigt__p_WSCvssocket[] = {{"_p_WSCvssocket", 0, "WSCvssocket *", 0},{"_p_WSCvssocket"},{0}};
static swig_type_info _swigt__p_WSCvcsocket[] = {{"_p_WSCvcsocket", 0, "WSCvcsocket *", 0},{"_p_WSCvcsocket"},{0}};
static swig_type_info _swigt__p_WSDcolor[] = {{"_p_WSDcolor", 0, "WSDcolor *", 0},{"_p_WSDcolor"},{0}};
static swig_type_info _swigt__p_WSCform[] = {{"_p_WSCform", 0, "WSCform *", 0},{"_p_WSCcomboBox", _p_WSCcomboBoxTo_p_WSCform},{"_p_WSChorzForm", _p_WSChorzFormTo_p_WSCform},{"_p_WSCform"},{"_p_WSClist", _p_WSClistTo_p_WSCform},{"_p_WSCcheckGroup", _p_WSCcheckGroupTo_p_WSCform},{"_p_WSCvertForm", _p_WSCvertFormTo_p_WSCform},{"_p_WSCsform", _p_WSCsformTo_p_WSCform},{"_p_WSCindexForm", _p_WSCindexFormTo_p_WSCform},{"_p_WSCtextField", _p_WSCtextFieldTo_p_WSCform},{"_p_WSCverbList", _p_WSCverbListTo_p_WSCform},{"_p_WSCtreeList", _p_WSCtreeListTo_p_WSCform},{"_p_WSCoption", _p_WSCoptionTo_p_WSCform},{"_p_WSCscrForm", _p_WSCscrFormTo_p_WSCform},{"_p_WSCmenuArea", _p_WSCmenuAreaTo_p_WSCform},{"_p_WSCradioGroup", _p_WSCradioGroupTo_p_WSCform},{"_p_WSCgrid", _p_WSCgridTo_p_WSCform},{0}};

static swig_type_info *swig_types_initial[] = {
_swigt__p_WSCvpoly, 
_swigt__p_WSCremoteInstanceData, 
_swigt__p_WSCpulldownMenu, 
_swigt__p_WSCvmifield, 
_swigt__p_WSCvimage, 
_swigt__p_WSCRbase, 
_swigt__p_WSCvtimer, 
_swigt__p_WSCvariant, 
_swigt__p_WSCvballoonHelp, 
_swigt__p_WSDimage, 
_swigt__p_WSCsform, 
_swigt__p_WSCcolorSet, 
_swigt__p_WSCtreeList, 
_swigt__p_WSCvertForm, 
_swigt__p_WSCtextField, 
_swigt__p_WSCfontSet, 
_swigt__p_WSCvtoggle, 
_swigt__p_WSDkeyboard, 
_swigt__p_WSCvbarGraph, 
_swigt__p_WSCmenuArea, 
_swigt__p_WSCvslider, 
_swigt__p_WSCvlabel, 
_swigt__p_WSCvgraphMatrix, 
_swigt__p_WSCscrForm, 
_swigt__p_WSCvrect, 
_swigt__p_WSCvkslabel, 
_swigt__p_WSCcheckGroup, 
_swigt__p_WSCvgraphScale, 
_swigt__p_WSCulong, 
_swigt__p_void, 
_swigt__p_WSClist, 
_swigt__p_WSClistData, 
_swigt__p_WSCuchar, 
_swigt__p_WSCvlineGraph, 
_swigt__p_WSCvradio, 
_swigt__p_WSCvclock, 
_swigt__p_WSCbaseList, 
_swigt__p_WSCworkingDialog, 
_swigt__p_WSCmessageDialog, 
_swigt__p_WSCbaseDialog, 
_swigt__p_WSCvremoteClient, 
_swigt__p_WSCverbList, 
_swigt__p_WSCpoint, 
_swigt__p_WSDfont, 
_swigt__p_long, 
_swigt__p_WSCvpolyAttr, 
_swigt__p_WSCvudpsocket, 
_swigt__p_WSCbool, 
_swigt__p_WSCvdrawingArea, 
_swigt__p_WSCbase, 
_swigt__p_WSCcomboBox, 
_swigt__p_WSCvline, 
_swigt__p_WSCvifield, 
_swigt__p_WSCvpifield, 
_swigt__p_WSCnwbase, 
_swigt__p_WSCvklabel, 
_swigt__p_WSCvfbtn, 
_swigt__p_WSCrect, 
_swigt__p_WSCvremoteServer, 
_swigt__p_WSDappDev, 
_swigt__p_WSChorzForm, 
_swigt__p_WSCvdb, 
_swigt__p_WSCmainWindow, 
_swigt__p_WSCwindow, 
_swigt__p_WSCstring, 
_swigt__p_WSCvbtn, 
_swigt__p_WSCwizardDialog, 
_swigt__p_WSCinputDialog, 
_swigt__p_WSCdialog, 
_swigt__p_WSCvmeter, 
_swigt__p_WSCradioGroup, 
_swigt__p_WSCindexForm, 
_swigt__p_WSCoption, 
_swigt__p_WSCgrid, 
_swigt__p_WSCvarrow, 
_swigt__p_WSCvkflabel, 
_swigt__p_WSCngbase, 
_swigt__p_WSCimageSet, 
_swigt__p_WSCvspace, 
_swigt__p_WSCvscrBar, 
_swigt__p_WSCvarc, 
_swigt__p_WSCfileSelect, 
_swigt__p_WSCvssocket, 
_swigt__p_WSCvcsocket, 
_swigt__p_WSDcolor, 
_swigt__p_WSCform, 
0
};


/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */


#ifdef __cplusplus
extern "C"
#endif
void Init_mpfc(void) {
    int i;
    
    SWIG_InitRuntime();
    mMpfc = rb_define_module("Mpfc");
    
    for (i = 0; swig_types_initial[i]; i++) {
        swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
        SWIG_define_class(swig_types[i]);
    }
    
    
    cWSCpoint.klass = rb_define_class_under(mMpfc, "WSCpoint", rb_cObject);
    SWIG_TypeClientData(SWIGTYPE_p_WSCpoint, (void *) &cWSCpoint);
    rb_define_singleton_method(cWSCpoint.klass, "new", VALUEFUNC(_wrap_WSCpoint_allocate), -1);
    rb_define_method(cWSCpoint.klass, "initialize", VALUEFUNC(_wrap_new_WSCpoint), -1);
    rb_define_method(cWSCpoint.klass, "x=", VALUEFUNC(_wrap_WSCpoint_x_set), -1);
    rb_define_method(cWSCpoint.klass, "x", VALUEFUNC(_wrap_WSCpoint_x_get), -1);
    rb_define_method(cWSCpoint.klass, "y=", VALUEFUNC(_wrap_WSCpoint_y_set), -1);
    rb_define_method(cWSCpoint.klass, "y", VALUEFUNC(_wrap_WSCpoint_y_get), -1);
    rb_define_method(cWSCpoint.klass, "setPoint", VALUEFUNC(_wrap_WSCpoint_setPoint), -1);
    cWSCpoint.mark = 0;
    cWSCpoint.destroy = (void (*)(void *)) free_WSCpoint;
    
    cWSCrect.klass = rb_define_class_under(mMpfc, "WSCrect", rb_cObject);
    SWIG_TypeClientData(SWIGTYPE_p_WSCrect, (void *) &cWSCrect);
    rb_define_singleton_method(cWSCrect.klass, "new", VALUEFUNC(_wrap_WSCrect_allocate), -1);
    rb_define_method(cWSCrect.klass, "initialize", VALUEFUNC(_wrap_new_WSCrect), -1);
    rb_define_method(cWSCrect.klass, "x=", VALUEFUNC(_wrap_WSCrect_x_set), -1);
    rb_define_method(cWSCrect.klass, "x", VALUEFUNC(_wrap_WSCrect_x_get), -1);
    rb_define_method(cWSCrect.klass, "y=", VALUEFUNC(_wrap_WSCrect_y_set), -1);
    rb_define_method(cWSCrect.klass, "y", VALUEFUNC(_wrap_WSCrect_y_get), -1);
    rb_define_method(cWSCrect.klass, "width=", VALUEFUNC(_wrap_WSCrect_width_set), -1);
    rb_define_method(cWSCrect.klass, "width", VALUEFUNC(_wrap_WSCrect_width_get), -1);
    rb_define_method(cWSCrect.klass, "height=", VALUEFUNC(_wrap_WSCrect_height_set), -1);
    rb_define_method(cWSCrect.klass, "height", VALUEFUNC(_wrap_WSCrect_height_get), -1);
    rb_define_method(cWSCrect.klass, "setRect", VALUEFUNC(_wrap_WSCrect_setRect), -1);
    cWSCrect.mark = 0;
    cWSCrect.destroy = (void (*)(void *)) free_WSCrect;
    rb_define_const(mMpfc,"WS_EN_DEFAULT", INT2NUM(-2));
    rb_define_const(mMpfc,"WS_EN_LOCALE", INT2NUM(-1));
    rb_define_const(mMpfc,"WS_EN_NONE", INT2NUM(0));
    rb_define_const(mMpfc,"WS_EN_ISO8859_1", INT2NUM(1));
    rb_define_const(mMpfc,"WS_EN_ISO8859_2", INT2NUM(2));
    rb_define_const(mMpfc,"WS_EN_ISO8859_3", INT2NUM(3));
    rb_define_const(mMpfc,"WS_EN_ISO8859_4", INT2NUM(4));
    rb_define_const(mMpfc,"WS_EN_ISO8859_5", INT2NUM(5));
    rb_define_const(mMpfc,"WS_EN_ISO8859_6", INT2NUM(6));
    rb_define_const(mMpfc,"WS_EN_ISO8859_7", INT2NUM(7));
    rb_define_const(mMpfc,"WS_EN_ISO8859_8", INT2NUM(8));
    rb_define_const(mMpfc,"WS_EN_ISO8859_9", INT2NUM(9));
    rb_define_const(mMpfc,"WS_EN_ISO8859_10", INT2NUM(10));
    rb_define_const(mMpfc,"WS_EN_ISO8859_11", INT2NUM(11));
    rb_define_const(mMpfc,"WS_EN_ISO8859_12", INT2NUM(12));
    rb_define_const(mMpfc,"WS_EN_ISO8859_13", INT2NUM(13));
    rb_define_const(mMpfc,"WS_EN_ISO8859_14", INT2NUM(14));
    rb_define_const(mMpfc,"WS_EN_ISO8859_15", INT2NUM(15));
    rb_define_const(mMpfc,"WS_EN_UTF8", INT2NUM(16));
    rb_define_const(mMpfc,"WS_EN_KOI8R", INT2NUM(17));
    rb_define_const(mMpfc,"WS_EN_EUCJP", INT2NUM(20));
    rb_define_const(mMpfc,"WS_EN_SJIS", INT2NUM(21));
    rb_define_const(mMpfc,"WS_EN_EUCKR", INT2NUM(30));
    rb_define_const(mMpfc,"WS_EN_EUCCN", INT2NUM(40));
    rb_define_const(mMpfc,"WS_EN_BIG5", INT2NUM(50));
    
    cWSCstring.klass = rb_define_class_under(mMpfc, "WSCstring", rb_cObject);
    SWIG_TypeClientData(SWIGTYPE_p_WSCstring, (void *) &cWSCstring);
    rb_define_singleton_method(cWSCstring.klass, "new", VALUEFUNC(_wrap_WSCstring_allocate), -1);
    rb_define_method(cWSCstring.klass, "initialize", VALUEFUNC(_wrap_new_WSCstring), -1);
    rb_define_method(cWSCstring.klass, "setString", VALUEFUNC(_wrap_WSCstring_setString), -1);
    rb_define_method(cWSCstring.klass, "getString", VALUEFUNC(_wrap_WSCstring_getString), -1);
    cWSCstring.mark = 0;
    cWSCstring.destroy = (void (*)(void *)) free_WSCstring;
    
    cWSCvariant.klass = rb_define_class_under(mMpfc, "WSCvariant", rb_cObject);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvariant, (void *) &cWSCvariant);
    rb_define_singleton_method(cWSCvariant.klass, "new", VALUEFUNC(_wrap_WSCvariant_allocate), -1);
    rb_define_method(cWSCvariant.klass, "initialize", VALUEFUNC(_wrap_new_WSCvariant), -1);
    rb_define_method(cWSCvariant.klass, "getChar", VALUEFUNC(_wrap_WSCvariant_getChar), -1);
    rb_define_method(cWSCvariant.klass, "getUnsignedChar", VALUEFUNC(_wrap_WSCvariant_getUnsignedChar), -1);
    rb_define_method(cWSCvariant.klass, "getShort", VALUEFUNC(_wrap_WSCvariant_getShort), -1);
    rb_define_method(cWSCvariant.klass, "getUnsignedShort", VALUEFUNC(_wrap_WSCvariant_getUnsignedShort), -1);
    rb_define_method(cWSCvariant.klass, "getLong", VALUEFUNC(_wrap_WSCvariant_getLong), -1);
    rb_define_method(cWSCvariant.klass, "getUnsignedLong", VALUEFUNC(_wrap_WSCvariant_getUnsignedLong), -1);
    rb_define_method(cWSCvariant.klass, "getInt", VALUEFUNC(_wrap_WSCvariant_getInt), -1);
    rb_define_method(cWSCvariant.klass, "getUnsignedInt", VALUEFUNC(_wrap_WSCvariant_getUnsignedInt), -1);
    rb_define_method(cWSCvariant.klass, "getFloat", VALUEFUNC(_wrap_WSCvariant_getFloat), -1);
    rb_define_method(cWSCvariant.klass, "getDouble", VALUEFUNC(_wrap_WSCvariant_getDouble), -1);
    rb_define_method(cWSCvariant.klass, "getCharPtr", VALUEFUNC(_wrap_WSCvariant_getCharPtr), -1);
    rb_define_method(cWSCvariant.klass, "setValue", VALUEFUNC(_wrap_WSCvariant_setValue), -1);
    rb_define_method(cWSCvariant.klass, "getType", VALUEFUNC(_wrap_WSCvariant_getType), -1);
    rb_define_method(cWSCvariant.klass, "getTypeName", VALUEFUNC(_wrap_WSCvariant_getTypeName), -1);
    rb_define_method(cWSCvariant.klass, "clear", VALUEFUNC(_wrap_WSCvariant_clear), -1);
    cWSCvariant.mark = 0;
    cWSCvariant.destroy = (void (*)(void *)) free_WSCvariant;
    
    cWSDappDev.klass = rb_define_class_under(mMpfc, "WSDappDev", rb_cObject);
    SWIG_TypeClientData(SWIGTYPE_p_WSDappDev, (void *) &cWSDappDev);
    rb_define_singleton_method(cWSDappDev.klass, "new", VALUEFUNC(_wrap_WSDappDev_allocate), -1);
    rb_define_method(cWSDappDev.klass, "initialize", VALUEFUNC(_wrap_new_WSDappDev), -1);
    rb_define_method(cWSDappDev.klass, "handleEvents", VALUEFUNC(_wrap_WSDappDev_handleEvents), -1);
    rb_define_method(cWSDappDev.klass, "getInstanceName", VALUEFUNC(_wrap_WSDappDev_getInstanceName), -1);
    rb_define_method(cWSDappDev.klass, "getWidth", VALUEFUNC(_wrap_WSDappDev_getWidth), -1);
    rb_define_method(cWSDappDev.klass, "getHeight", VALUEFUNC(_wrap_WSDappDev_getHeight), -1);
    rb_define_method(cWSDappDev.klass, "update", VALUEFUNC(_wrap_WSDappDev_update), -1);
    cWSDappDev.mark = 0;
    cWSDappDev.destroy = (void (*)(void *)) free_WSDappDev;
    rb_define_module_function(mMpfc, "WSGIappDev", VALUEFUNC(_wrap_WSGIappDev), -1);
    rb_define_module_function(mMpfc, "WSGFwsInitialize", VALUEFUNC(_wrap_WSGFwsInitialize), -1);
    rb_define_module_function(mMpfc, "WSGFdeviceInitialize", VALUEFUNC(_wrap_WSGFdeviceInitialize), -1);
    
    cWSCbase.klass = rb_define_class_under(mMpfc, "WSCbase", rb_cObject);
    SWIG_TypeClientData(SWIGTYPE_p_WSCbase, (void *) &cWSCbase);
    rb_define_singleton_method(cWSCbase.klass, "new", VALUEFUNC(_wrap_WSCbase_allocate), -1);
    rb_define_method(cWSCbase.klass, "initialize", VALUEFUNC(_wrap_new_WSCbase), -1);
    rb_define_method(cWSCbase.klass, "init", VALUEFUNC(_wrap_WSCbase_init), -1);
    rb_define_method(cWSCbase.klass, "getInitialized", VALUEFUNC(_wrap_WSCbase_getInitialized), -1);
    rb_define_method(cWSCbase.klass, "onMouseIn", VALUEFUNC(_wrap_WSCbase_onMouseIn), -1);
    rb_define_method(cWSCbase.klass, "onMouseOut", VALUEFUNC(_wrap_WSCbase_onMouseOut), -1);
    rb_define_method(cWSCbase.klass, "onMouseMove", VALUEFUNC(_wrap_WSCbase_onMouseMove), -1);
    rb_define_method(cWSCbase.klass, "onMousePress", VALUEFUNC(_wrap_WSCbase_onMousePress), -1);
    rb_define_method(cWSCbase.klass, "onMouseRelease", VALUEFUNC(_wrap_WSCbase_onMouseRelease), -1);
    rb_define_method(cWSCbase.klass, "onExpose", VALUEFUNC(_wrap_WSCbase_onExpose), -1);
    rb_define_method(cWSCbase.klass, "onResize", VALUEFUNC(_wrap_WSCbase_onResize), -1);
    rb_define_method(cWSCbase.klass, "onVisibleChange", VALUEFUNC(_wrap_WSCbase_onVisibleChange), -1);
    rb_define_method(cWSCbase.klass, "onSensitiveChange", VALUEFUNC(_wrap_WSCbase_onSensitiveChange), -1);
    rb_define_method(cWSCbase.klass, "onParentVisibleChange", VALUEFUNC(_wrap_WSCbase_onParentVisibleChange), -1);
    rb_define_method(cWSCbase.klass, "onParentSensitiveChange", VALUEFUNC(_wrap_WSCbase_onParentSensitiveChange), -1);
    rb_define_method(cWSCbase.klass, "onEditModeChange", VALUEFUNC(_wrap_WSCbase_onEditModeChange), -1);
    rb_define_method(cWSCbase.klass, "onFocusChange", VALUEFUNC(_wrap_WSCbase_onFocusChange), -1);
    rb_define_method(cWSCbase.klass, "onSpecialFocusChange", VALUEFUNC(_wrap_WSCbase_onSpecialFocusChange), -1);
    rb_define_method(cWSCbase.klass, "onChildAdded", VALUEFUNC(_wrap_WSCbase_onChildAdded), -1);
    rb_define_method(cWSCbase.klass, "onSelectionChange", VALUEFUNC(_wrap_WSCbase_onSelectionChange), -1);
    rb_define_method(cWSCbase.klass, "onGuiPolicyChange", VALUEFUNC(_wrap_WSCbase_onGuiPolicyChange), -1);
    rb_define_method(cWSCbase.klass, "onDefaultColorChange", VALUEFUNC(_wrap_WSCbase_onDefaultColorChange), -1);
    rb_define_method(cWSCbase.klass, "getInstanceName", VALUEFUNC(_wrap_WSCbase_getInstanceName), -1);
    rb_define_method(cWSCbase.klass, "setVisible", VALUEFUNC(_wrap_WSCbase_setVisible), -1);
    rb_define_method(cWSCbase.klass, "getVisible", VALUEFUNC(_wrap_WSCbase_getVisible), -1);
    rb_define_method(cWSCbase.klass, "getProperty", VALUEFUNC(_wrap_WSCbase_getProperty), -1);
    rb_define_method(cWSCbase.klass, "setProperty", VALUEFUNC(_wrap_WSCbase_setProperty), -1);
    rb_define_method(cWSCbase.klass, "addProcedure", VALUEFUNC(_wrap_WSCbase_addProcedure), -1);
    rb_define_method(cWSCbase.klass, "setParent", VALUEFUNC(_wrap_WSCbase_setParent), -1);
    rb_define_method(cWSCbase.klass, "getParent", VALUEFUNC(_wrap_WSCbase_getParent), -1);
    rb_define_method(cWSCbase.klass, "getParentWindow", VALUEFUNC(_wrap_WSCbase_getParentWindow), -1);
    rb_define_method(cWSCbase.klass, "setInternalObject", VALUEFUNC(_wrap_WSCbase_setInternalObject), -1);
    rb_define_method(cWSCbase.klass, "getInternalObject", VALUEFUNC(_wrap_WSCbase_getInternalObject), -1);
    rb_define_method(cWSCbase.klass, "setDefaultValue", VALUEFUNC(_wrap_WSCbase_setDefaultValue), -1);
    rb_define_method(cWSCbase.klass, "existProperty", VALUEFUNC(_wrap_WSCbase_existProperty), -1);
    rb_define_method(cWSCbase.klass, "getDefaultProperty", VALUEFUNC(_wrap_WSCbase_getDefaultProperty), -1);
    rb_define_method(cWSCbase.klass, "setFocus", VALUEFUNC(_wrap_WSCbase_setFocus), -1);
    rb_define_method(cWSCbase.klass, "setSpecialFocus", VALUEFUNC(_wrap_WSCbase_setSpecialFocus), -1);
    rb_define_method(cWSCbase.klass, "setParentVisible", VALUEFUNC(_wrap_WSCbase_setParentVisible), -1);
    rb_define_method(cWSCbase.klass, "setSensitive", VALUEFUNC(_wrap_WSCbase_setSensitive), -1);
    rb_define_method(cWSCbase.klass, "setParentSensitive", VALUEFUNC(_wrap_WSCbase_setParentSensitive), -1);
    rb_define_method(cWSCbase.klass, "getParentVisible", VALUEFUNC(_wrap_WSCbase_getParentVisible), -1);
    rb_define_method(cWSCbase.klass, "getSensitive", VALUEFUNC(_wrap_WSCbase_getSensitive), -1);
    rb_define_method(cWSCbase.klass, "getParentSensitive", VALUEFUNC(_wrap_WSCbase_getParentSensitive), -1);
    rb_define_method(cWSCbase.klass, "getFocus", VALUEFUNC(_wrap_WSCbase_getFocus), -1);
    rb_define_method(cWSCbase.klass, "getSpecialFocus", VALUEFUNC(_wrap_WSCbase_getSpecialFocus), -1);
    rb_define_method(cWSCbase.klass, "setAbsoluteDraw", VALUEFUNC(_wrap_WSCbase_setAbsoluteDraw), -1);
    rb_define_method(cWSCbase.klass, "getAbsoluteDraw", VALUEFUNC(_wrap_WSCbase_getAbsoluteDraw), -1);
    rb_define_method(cWSCbase.klass, "setUserData", VALUEFUNC(_wrap_WSCbase_setUserData), -1);
    rb_define_method(cWSCbase.klass, "getUserData", VALUEFUNC(_wrap_WSCbase_getUserData), -1);
    rb_define_method(cWSCbase.klass, "setVariantData", VALUEFUNC(_wrap_WSCbase_setVariantData), -1);
    rb_define_method(cWSCbase.klass, "getVariantData", VALUEFUNC(_wrap_WSCbase_getVariantData), -1);
    rb_define_method(cWSCbase.klass, "execProcedure", VALUEFUNC(_wrap_WSCbase_execProcedure), -1);
    rb_define_method(cWSCbase.klass, "draw", VALUEFUNC(_wrap_WSCbase_draw), -1);
    rb_define_method(cWSCbase.klass, "clear", VALUEFUNC(_wrap_WSCbase_clear), -1);
    rb_define_method(cWSCbase.klass, "redraw", VALUEFUNC(_wrap_WSCbase_redraw), -1);
    rb_define_method(cWSCbase.klass, "cdraw", VALUEFUNC(_wrap_WSCbase_cdraw), -1);
    rb_define_singleton_method(cWSCbase.klass, "getNewInstance", VALUEFUNC(_wrap_WSCbase_getNewInstance), -1);
    rb_define_singleton_method(cWSCbase.klass, "getFocusInstance", VALUEFUNC(_wrap_WSCbase_getFocusInstance), -1);
    rb_define_singleton_method(cWSCbase.klass, "getSpecialFocusInstance", VALUEFUNC(_wrap_WSCbase_getSpecialFocusInstance), -1);
    cWSCbase.mark = 0;
    cWSCbase.destroy = (void (*)(void *)) free_WSCbase;
    
    cWSCform.klass = rb_define_class_under(mMpfc, "WSCform", ((swig_class *) SWIGTYPE_p_WSCbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCform, (void *) &cWSCform);
    rb_define_singleton_method(cWSCform.klass, "new", VALUEFUNC(_wrap_WSCform_allocate), -1);
    rb_define_method(cWSCform.klass, "initialize", VALUEFUNC(_wrap_new_WSCform), -1);
    cWSCform.mark = 0;
    cWSCform.destroy = (void (*)(void *)) free_WSCform;
    
    cWSCnwbase.klass = rb_define_class_under(mMpfc, "WSCnwbase", ((swig_class *) SWIGTYPE_p_WSCbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCnwbase, (void *) &cWSCnwbase);
    rb_define_singleton_method(cWSCnwbase.klass, "new", VALUEFUNC(_wrap_WSCnwbase_allocate), -1);
    rb_define_method(cWSCnwbase.klass, "initialize", VALUEFUNC(_wrap_new_WSCnwbase), -1);
    cWSCnwbase.mark = 0;
    cWSCnwbase.destroy = (void (*)(void *)) free_WSCnwbase;
    
    cWSCngbase.klass = rb_define_class_under(mMpfc, "WSCngbase", ((swig_class *) SWIGTYPE_p_WSCbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCngbase, (void *) &cWSCngbase);
    rb_define_singleton_method(cWSCngbase.klass, "new", VALUEFUNC(_wrap_WSCngbase_allocate), -1);
    rb_define_method(cWSCngbase.klass, "initialize", VALUEFUNC(_wrap_new_WSCngbase), -1);
    cWSCngbase.mark = 0;
    cWSCngbase.destroy = (void (*)(void *)) free_WSCngbase;
    
    cWSCvlabel.klass = rb_define_class_under(mMpfc, "WSCvlabel", ((swig_class *) SWIGTYPE_p_WSCnwbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvlabel, (void *) &cWSCvlabel);
    rb_define_singleton_method(cWSCvlabel.klass, "new", VALUEFUNC(_wrap_WSCvlabel_allocate), -1);
    rb_define_method(cWSCvlabel.klass, "initialize", VALUEFUNC(_wrap_new_WSCvlabel), -1);
    cWSCvlabel.mark = 0;
    cWSCvlabel.destroy = (void (*)(void *)) free_WSCvlabel;
    
    cWSCvbtn.klass = rb_define_class_under(mMpfc, "WSCvbtn", ((swig_class *) SWIGTYPE_p_WSCvlabel->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvbtn, (void *) &cWSCvbtn);
    rb_define_singleton_method(cWSCvbtn.klass, "new", VALUEFUNC(_wrap_WSCvbtn_allocate), -1);
    rb_define_method(cWSCvbtn.klass, "initialize", VALUEFUNC(_wrap_new_WSCvbtn), -1);
    rb_define_method(cWSCvbtn.klass, "onKey", VALUEFUNC(_wrap_WSCvbtn_onKey), -1);
    rb_define_method(cWSCvbtn.klass, "onActivate", VALUEFUNC(_wrap_WSCvbtn_onActivate), -1);
    rb_define_method(cWSCvbtn.klass, "setDrawFocusBorder", VALUEFUNC(_wrap_WSCvbtn_setDrawFocusBorder), -1);
    cWSCvbtn.mark = 0;
    cWSCvbtn.destroy = (void (*)(void *)) free_WSCvbtn;
    
    cWSCvfbtn.klass = rb_define_class_under(mMpfc, "WSCvfbtn", ((swig_class *) SWIGTYPE_p_WSCvbtn->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvfbtn, (void *) &cWSCvfbtn);
    rb_define_singleton_method(cWSCvfbtn.klass, "new", VALUEFUNC(_wrap_WSCvfbtn_allocate), -1);
    rb_define_method(cWSCvfbtn.klass, "initialize", VALUEFUNC(_wrap_new_WSCvfbtn), -1);
    cWSCvfbtn.mark = 0;
    cWSCvfbtn.destroy = (void (*)(void *)) free_WSCvfbtn;
    
    cWSCvklabel.klass = rb_define_class_under(mMpfc, "WSCvklabel", ((swig_class *) SWIGTYPE_p_WSCvlabel->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvklabel, (void *) &cWSCvklabel);
    rb_define_singleton_method(cWSCvklabel.klass, "new", VALUEFUNC(_wrap_WSCvklabel_allocate), -1);
    rb_define_method(cWSCvklabel.klass, "initialize", VALUEFUNC(_wrap_new_WSCvklabel), -1);
    cWSCvklabel.mark = 0;
    cWSCvklabel.destroy = (void (*)(void *)) free_WSCvklabel;
    
    cWSCvkflabel.klass = rb_define_class_under(mMpfc, "WSCvkflabel", ((swig_class *) SWIGTYPE_p_WSCvklabel->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvkflabel, (void *) &cWSCvkflabel);
    rb_define_singleton_method(cWSCvkflabel.klass, "new", VALUEFUNC(_wrap_WSCvkflabel_allocate), -1);
    rb_define_method(cWSCvkflabel.klass, "initialize", VALUEFUNC(_wrap_new_WSCvkflabel), -1);
    cWSCvkflabel.mark = 0;
    cWSCvkflabel.destroy = (void (*)(void *)) free_WSCvkflabel;
    
    cWSDkeyboard.klass = rb_define_class_under(mMpfc, "WSDkeyboard", rb_cObject);
    SWIG_TypeClientData(SWIGTYPE_p_WSDkeyboard, (void *) &cWSDkeyboard);
    rb_define_singleton_method(cWSDkeyboard.klass, "new", VALUEFUNC(_wrap_WSDkeyboard_allocate), -1);
    rb_define_method(cWSDkeyboard.klass, "initialize", VALUEFUNC(_wrap_new_WSDkeyboard), -1);
    rb_define_method(cWSDkeyboard.klass, "setKey", VALUEFUNC(_wrap_WSDkeyboard_setKey), -1);
    rb_define_method(cWSDkeyboard.klass, "getKey", VALUEFUNC(_wrap_WSDkeyboard_getKey), -1);
    rb_define_method(cWSDkeyboard.klass, "withShift", VALUEFUNC(_wrap_WSDkeyboard_withShift), -1);
    rb_define_method(cWSDkeyboard.klass, "withLock", VALUEFUNC(_wrap_WSDkeyboard_withLock), -1);
    rb_define_method(cWSDkeyboard.klass, "withCntl", VALUEFUNC(_wrap_WSDkeyboard_withCntl), -1);
    rb_define_method(cWSDkeyboard.klass, "withAlt", VALUEFUNC(_wrap_WSDkeyboard_withAlt), -1);
    rb_define_method(cWSDkeyboard.klass, "isCursorKey", VALUEFUNC(_wrap_WSDkeyboard_isCursorKey), -1);
    rb_define_method(cWSDkeyboard.klass, "isFuncKey", VALUEFUNC(_wrap_WSDkeyboard_isFuncKey), -1);
    rb_define_method(cWSDkeyboard.klass, "isTtyFunction", VALUEFUNC(_wrap_WSDkeyboard_isTtyFunction), -1);
    rb_define_method(cWSDkeyboard.klass, "getFepStatus", VALUEFUNC(_wrap_WSDkeyboard_getFepStatus), -1);
    rb_define_method(cWSDkeyboard.klass, "getEnableFep", VALUEFUNC(_wrap_WSDkeyboard_getEnableFep), -1);
    rb_define_method(cWSDkeyboard.klass, "isPressed", VALUEFUNC(_wrap_WSDkeyboard_isPressed), -1);
    rb_define_method(cWSDkeyboard.klass, "setWithShift", VALUEFUNC(_wrap_WSDkeyboard_setWithShift), -1);
    rb_define_method(cWSDkeyboard.klass, "setWithLock", VALUEFUNC(_wrap_WSDkeyboard_setWithLock), -1);
    rb_define_method(cWSDkeyboard.klass, "setWithCntl", VALUEFUNC(_wrap_WSDkeyboard_setWithCntl), -1);
    rb_define_method(cWSDkeyboard.klass, "setWithAlt", VALUEFUNC(_wrap_WSDkeyboard_setWithAlt), -1);
    rb_define_method(cWSDkeyboard.klass, "setIsCursorKey", VALUEFUNC(_wrap_WSDkeyboard_setIsCursorKey), -1);
    rb_define_method(cWSDkeyboard.klass, "setIsFuncKey", VALUEFUNC(_wrap_WSDkeyboard_setIsFuncKey), -1);
    rb_define_method(cWSDkeyboard.klass, "setIsTtyFunction", VALUEFUNC(_wrap_WSDkeyboard_setIsTtyFunction), -1);
    rb_define_method(cWSDkeyboard.klass, "setIsPressed", VALUEFUNC(_wrap_WSDkeyboard_setIsPressed), -1);
    rb_define_method(cWSDkeyboard.klass, "getTextString", VALUEFUNC(_wrap_WSDkeyboard_getTextString), -1);
    rb_define_method(cWSDkeyboard.klass, "getText", VALUEFUNC(_wrap_WSDkeyboard_getText), -1);
    rb_define_method(cWSDkeyboard.klass, "setSelectedString", VALUEFUNC(_wrap_WSDkeyboard_setSelectedString), -1);
    rb_define_method(cWSDkeyboard.klass, "getSelectedString", VALUEFUNC(_wrap_WSDkeyboard_getSelectedString), -1);
    cWSDkeyboard.mark = 0;
    cWSDkeyboard.destroy = (void (*)(void *)) free_WSDkeyboard;
    rb_define_module_function(mMpfc, "WSGIappKeyboard", VALUEFUNC(_wrap_WSGIappKeyboard), -1);
    
    cWSCvifield.klass = rb_define_class_under(mMpfc, "WSCvifield", ((swig_class *) SWIGTYPE_p_WSCvlabel->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvifield, (void *) &cWSCvifield);
    rb_define_singleton_method(cWSCvifield.klass, "new", VALUEFUNC(_wrap_WSCvifield_allocate), -1);
    rb_define_method(cWSCvifield.klass, "initialize", VALUEFUNC(_wrap_new_WSCvifield), -1);
    rb_define_method(cWSCvifield.klass, "onCursorBlink", VALUEFUNC(_wrap_WSCvifield_onCursorBlink), -1);
    rb_define_method(cWSCvifield.klass, "onKeyHook", VALUEFUNC(_wrap_WSCvifield_onKeyHook), -1);
    rb_define_method(cWSCvifield.klass, "onKeyInput", VALUEFUNC(_wrap_WSCvifield_onKeyInput), -1);
    rb_define_method(cWSCvifield.klass, "onKey", VALUEFUNC(_wrap_WSCvifield_onKey), -1);
    rb_define_method(cWSCvifield.klass, "onActivate", VALUEFUNC(_wrap_WSCvifield_onActivate), -1);
    rb_define_method(cWSCvifield.klass, "onValueChange", VALUEFUNC(_wrap_WSCvifield_onValueChange), -1);
    rb_define_method(cWSCvifield.klass, "onSelectionChange", VALUEFUNC(_wrap_WSCvifield_onSelectionChange), -1);
    rb_define_method(cWSCvifield.klass, "onVisibleChange", VALUEFUNC(_wrap_WSCvifield_onVisibleChange), -1);
    rb_define_method(cWSCvifield.klass, "onParentVisibleChange", VALUEFUNC(_wrap_WSCvifield_onParentVisibleChange), -1);
    rb_define_method(cWSCvifield.klass, "setCursorFore", VALUEFUNC(_wrap_WSCvifield_setCursorFore), -1);
    rb_define_method(cWSCvifield.klass, "getCursorFore", VALUEFUNC(_wrap_WSCvifield_getCursorFore), -1);
    rb_define_method(cWSCvifield.klass, "setCurPos", VALUEFUNC(_wrap_WSCvifield_setCurPos), -1);
    rb_define_method(cWSCvifield.klass, "replaceSelectedString", VALUEFUNC(_wrap_WSCvifield_replaceSelectedString), -1);
    rb_define_method(cWSCvifield.klass, "getSelectedString", VALUEFUNC(_wrap_WSCvifield_getSelectedString), -1);
    rb_define_method(cWSCvifield.klass, "deleteSelectedString", VALUEFUNC(_wrap_WSCvifield_deleteSelectedString), -1);
    rb_define_method(cWSCvifield.klass, "setSelect", VALUEFUNC(_wrap_WSCvifield_setSelect), -1);
    rb_define_method(cWSCvifield.klass, "getSelectedPos", VALUEFUNC(_wrap_WSCvifield_getSelectedPos), -1);
    rb_define_method(cWSCvifield.klass, "getString", VALUEFUNC(_wrap_WSCvifield_getString), -1);
    rb_define_method(cWSCvifield.klass, "addString", VALUEFUNC(_wrap_WSCvifield_addString), -1);
    cWSCvifield.mark = 0;
    cWSCvifield.destroy = (void (*)(void *)) free_WSCvifield;
    
    cWSCvkslabel.klass = rb_define_class_under(mMpfc, "WSCvkslabel", ((swig_class *) SWIGTYPE_p_WSCvifield->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvkslabel, (void *) &cWSCvkslabel);
    rb_define_singleton_method(cWSCvkslabel.klass, "new", VALUEFUNC(_wrap_WSCvkslabel_allocate), -1);
    rb_define_method(cWSCvkslabel.klass, "initialize", VALUEFUNC(_wrap_new_WSCvkslabel), -1);
    cWSCvkslabel.mark = 0;
    cWSCvkslabel.destroy = (void (*)(void *)) free_WSCvkslabel;
    
    cWSCvmifield.klass = rb_define_class_under(mMpfc, "WSCvmifield", ((swig_class *) SWIGTYPE_p_WSCvifield->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvmifield, (void *) &cWSCvmifield);
    rb_define_singleton_method(cWSCvmifield.klass, "new", VALUEFUNC(_wrap_WSCvmifield_allocate), -1);
    rb_define_method(cWSCvmifield.klass, "initialize", VALUEFUNC(_wrap_new_WSCvmifield), -1);
    cWSCvmifield.mark = 0;
    cWSCvmifield.destroy = (void (*)(void *)) free_WSCvmifield;
    
    cWSCvpifield.klass = rb_define_class_under(mMpfc, "WSCvpifield", ((swig_class *) SWIGTYPE_p_WSCvifield->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvpifield, (void *) &cWSCvpifield);
    rb_define_singleton_method(cWSCvpifield.klass, "new", VALUEFUNC(_wrap_WSCvpifield_allocate), -1);
    rb_define_method(cWSCvpifield.klass, "initialize", VALUEFUNC(_wrap_new_WSCvpifield), -1);
    cWSCvpifield.mark = 0;
    cWSCvpifield.destroy = (void (*)(void *)) free_WSCvpifield;
    
    cWSCtextField.klass = rb_define_class_under(mMpfc, "WSCtextField", ((swig_class *) SWIGTYPE_p_WSCform->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCtextField, (void *) &cWSCtextField);
    rb_define_singleton_method(cWSCtextField.klass, "new", VALUEFUNC(_wrap_WSCtextField_allocate), -1);
    rb_define_method(cWSCtextField.klass, "initialize", VALUEFUNC(_wrap_new_WSCtextField), -1);
    rb_define_method(cWSCtextField.klass, "addString", VALUEFUNC(_wrap_WSCtextField_addString), -1);
    rb_define_method(cWSCtextField.klass, "replaceSelectedString", VALUEFUNC(_wrap_WSCtextField_replaceSelectedString), -1);
    rb_define_method(cWSCtextField.klass, "getSelectedString", VALUEFUNC(_wrap_WSCtextField_getSelectedString), -1);
    rb_define_method(cWSCtextField.klass, "getString", VALUEFUNC(_wrap_WSCtextField_getString), -1);
    rb_define_method(cWSCtextField.klass, "deleteSelectedString", VALUEFUNC(_wrap_WSCtextField_deleteSelectedString), -1);
    rb_define_method(cWSCtextField.klass, "setSelect", VALUEFUNC(_wrap_WSCtextField_setSelect), -1);
    rb_define_method(cWSCtextField.klass, "getSelectedPos", VALUEFUNC(_wrap_WSCtextField_getSelectedPos), -1);
    rb_define_method(cWSCtextField.klass, "getLines", VALUEFUNC(_wrap_WSCtextField_getLines), -1);
    rb_define_method(cWSCtextField.klass, "getTopLine", VALUEFUNC(_wrap_WSCtextField_getTopLine), -1);
    rb_define_method(cWSCtextField.klass, "setTopLine", VALUEFUNC(_wrap_WSCtextField_setTopLine), -1);
    rb_define_method(cWSCtextField.klass, "getBottomLine", VALUEFUNC(_wrap_WSCtextField_getBottomLine), -1);
    rb_define_method(cWSCtextField.klass, "setBottomLine", VALUEFUNC(_wrap_WSCtextField_setBottomLine), -1);
    rb_define_method(cWSCtextField.klass, "getTextFrame", VALUEFUNC(_wrap_WSCtextField_getTextFrame), -1);
    cWSCtextField.mark = 0;
    cWSCtextField.destroy = (void (*)(void *)) free_WSCtextField;
    
    cWSCvarrow.klass = rb_define_class_under(mMpfc, "WSCvarrow", ((swig_class *) SWIGTYPE_p_WSCvbtn->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvarrow, (void *) &cWSCvarrow);
    rb_define_singleton_method(cWSCvarrow.klass, "new", VALUEFUNC(_wrap_WSCvarrow_allocate), -1);
    rb_define_method(cWSCvarrow.klass, "initialize", VALUEFUNC(_wrap_new_WSCvarrow), -1);
    cWSCvarrow.mark = 0;
    cWSCvarrow.destroy = (void (*)(void *)) free_WSCvarrow;
    
    cWSCvscrBar.klass = rb_define_class_under(mMpfc, "WSCvscrBar", ((swig_class *) SWIGTYPE_p_WSCnwbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvscrBar, (void *) &cWSCvscrBar);
    rb_define_singleton_method(cWSCvscrBar.klass, "new", VALUEFUNC(_wrap_WSCvscrBar_allocate), -1);
    rb_define_method(cWSCvscrBar.klass, "initialize", VALUEFUNC(_wrap_new_WSCvscrBar), -1);
    rb_define_method(cWSCvscrBar.klass, "onActivate", VALUEFUNC(_wrap_WSCvscrBar_onActivate), -1);
    rb_define_method(cWSCvscrBar.klass, "onBegin", VALUEFUNC(_wrap_WSCvscrBar_onBegin), -1);
    rb_define_method(cWSCvscrBar.klass, "onEnd", VALUEFUNC(_wrap_WSCvscrBar_onEnd), -1);
    rb_define_method(cWSCvscrBar.klass, "onIncrement", VALUEFUNC(_wrap_WSCvscrBar_onIncrement), -1);
    rb_define_method(cWSCvscrBar.klass, "onDecrement", VALUEFUNC(_wrap_WSCvscrBar_onDecrement), -1);
    rb_define_method(cWSCvscrBar.klass, "onPageIncrement", VALUEFUNC(_wrap_WSCvscrBar_onPageIncrement), -1);
    rb_define_method(cWSCvscrBar.klass, "onPageDecrement", VALUEFUNC(_wrap_WSCvscrBar_onPageDecrement), -1);
    rb_define_method(cWSCvscrBar.klass, "onValueChange", VALUEFUNC(_wrap_WSCvscrBar_onValueChange), -1);
    rb_define_method(cWSCvscrBar.klass, "getMaxSlideValue", VALUEFUNC(_wrap_WSCvscrBar_getMaxSlideValue), -1);
    cWSCvscrBar.mark = 0;
    cWSCvscrBar.destroy = (void (*)(void *)) free_WSCvscrBar;
    
    cWSCvpolyAttr.klass = rb_define_class_under(mMpfc, "WSCvpolyAttr", ((swig_class *) SWIGTYPE_p_WSCnwbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvpolyAttr, (void *) &cWSCvpolyAttr);
    rb_define_singleton_method(cWSCvpolyAttr.klass, "new", VALUEFUNC(_wrap_WSCvpolyAttr_allocate), -1);
    rb_define_method(cWSCvpolyAttr.klass, "initialize", VALUEFUNC(_wrap_new_WSCvpolyAttr), -1);
    cWSCvpolyAttr.mark = 0;
    cWSCvpolyAttr.destroy = (void (*)(void *)) free_WSCvpolyAttr;
    
    cWSCvmeter.klass = rb_define_class_under(mMpfc, "WSCvmeter", ((swig_class *) SWIGTYPE_p_WSCvpolyAttr->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvmeter, (void *) &cWSCvmeter);
    rb_define_singleton_method(cWSCvmeter.klass, "new", VALUEFUNC(_wrap_WSCvmeter_allocate), -1);
    rb_define_method(cWSCvmeter.klass, "initialize", VALUEFUNC(_wrap_new_WSCvmeter), -1);
    cWSCvmeter.mark = 0;
    cWSCvmeter.destroy = (void (*)(void *)) free_WSCvmeter;
    
    cWSCvclock.klass = rb_define_class_under(mMpfc, "WSCvclock", ((swig_class *) SWIGTYPE_p_WSCvlabel->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvclock, (void *) &cWSCvclock);
    rb_define_singleton_method(cWSCvclock.klass, "new", VALUEFUNC(_wrap_WSCvclock_allocate), -1);
    rb_define_method(cWSCvclock.klass, "initialize", VALUEFUNC(_wrap_new_WSCvclock), -1);
    cWSCvclock.mark = 0;
    cWSCvclock.destroy = (void (*)(void *)) free_WSCvclock;
    
    cWSCvslider.klass = rb_define_class_under(mMpfc, "WSCvslider", ((swig_class *) SWIGTYPE_p_WSCnwbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvslider, (void *) &cWSCvslider);
    rb_define_singleton_method(cWSCvslider.klass, "new", VALUEFUNC(_wrap_WSCvslider_allocate), -1);
    rb_define_method(cWSCvslider.klass, "initialize", VALUEFUNC(_wrap_new_WSCvslider), -1);
    rb_define_method(cWSCvslider.klass, "onActivate", VALUEFUNC(_wrap_WSCvslider_onActivate), -1);
    rb_define_method(cWSCvslider.klass, "onDragInterval", VALUEFUNC(_wrap_WSCvslider_onDragInterval), -1);
    rb_define_method(cWSCvslider.klass, "onValueChange", VALUEFUNC(_wrap_WSCvslider_onValueChange), -1);
    cWSCvslider.mark = 0;
    cWSCvslider.destroy = (void (*)(void *)) free_WSCvslider;
    
    cWSCpulldownMenu.klass = rb_define_class_under(mMpfc, "WSCpulldownMenu", ((swig_class *) SWIGTYPE_p_WSCvlabel->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCpulldownMenu, (void *) &cWSCpulldownMenu);
    rb_define_singleton_method(cWSCpulldownMenu.klass, "new", VALUEFUNC(_wrap_WSCpulldownMenu_allocate), -1);
    rb_define_method(cWSCpulldownMenu.klass, "initialize", VALUEFUNC(_wrap_new_WSCpulldownMenu), -1);
    rb_define_method(cWSCpulldownMenu.klass, "onActivate", VALUEFUNC(_wrap_WSCpulldownMenu_onActivate), -1);
    rb_define_method(cWSCpulldownMenu.klass, "setItemSensitive", VALUEFUNC(_wrap_WSCpulldownMenu_setItemSensitive), -1);
    rb_define_method(cWSCpulldownMenu.klass, "setValueSensitive", VALUEFUNC(_wrap_WSCpulldownMenu_setValueSensitive), -1);
    rb_define_method(cWSCpulldownMenu.klass, "getItemSensitive", VALUEFUNC(_wrap_WSCpulldownMenu_getItemSensitive), -1);
    rb_define_method(cWSCpulldownMenu.klass, "getValue", VALUEFUNC(_wrap_WSCpulldownMenu_getValue), -1);
    rb_define_method(cWSCpulldownMenu.klass, "getItems", VALUEFUNC(_wrap_WSCpulldownMenu_getItems), -1);
    rb_define_method(cWSCpulldownMenu.klass, "beginCascade", VALUEFUNC(_wrap_WSCpulldownMenu_beginCascade), -1);
    rb_define_method(cWSCpulldownMenu.klass, "addItem", VALUEFUNC(_wrap_WSCpulldownMenu_addItem), -1);
    rb_define_method(cWSCpulldownMenu.klass, "endCascade", VALUEFUNC(_wrap_WSCpulldownMenu_endCascade), -1);
    cWSCpulldownMenu.mark = 0;
    cWSCpulldownMenu.destroy = (void (*)(void *)) free_WSCpulldownMenu;
    
    cWSCcomboBox.klass = rb_define_class_under(mMpfc, "WSCcomboBox", ((swig_class *) SWIGTYPE_p_WSCform->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCcomboBox, (void *) &cWSCcomboBox);
    rb_define_singleton_method(cWSCcomboBox.klass, "new", VALUEFUNC(_wrap_WSCcomboBox_allocate), -1);
    rb_define_method(cWSCcomboBox.klass, "initialize", VALUEFUNC(_wrap_new_WSCcomboBox), -1);
    rb_define_method(cWSCcomboBox.klass, "onActivate", VALUEFUNC(_wrap_WSCcomboBox_onActivate), -1);
    cWSCcomboBox.mark = 0;
    cWSCcomboBox.destroy = (void (*)(void *)) free_WSCcomboBox;
    
    cWSCoption.klass = rb_define_class_under(mMpfc, "WSCoption", ((swig_class *) SWIGTYPE_p_WSCform->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCoption, (void *) &cWSCoption);
    rb_define_singleton_method(cWSCoption.klass, "new", VALUEFUNC(_wrap_WSCoption_allocate), -1);
    rb_define_method(cWSCoption.klass, "initialize", VALUEFUNC(_wrap_new_WSCoption), -1);
    rb_define_method(cWSCoption.klass, "onActivate", VALUEFUNC(_wrap_WSCoption_onActivate), -1);
    rb_define_method(cWSCoption.klass, "onValueChange", VALUEFUNC(_wrap_WSCoption_onValueChange), -1);
    rb_define_method(cWSCoption.klass, "setItemSensitive", VALUEFUNC(_wrap_WSCoption_setItemSensitive), -1);
    rb_define_method(cWSCoption.klass, "setSelectValue", VALUEFUNC(_wrap_WSCoption_setSelectValue), -1);
    rb_define_method(cWSCoption.klass, "getValue", VALUEFUNC(_wrap_WSCoption_getValue), -1);
    rb_define_method(cWSCoption.klass, "getItemValue", VALUEFUNC(_wrap_WSCoption_getItemValue), -1);
    rb_define_method(cWSCoption.klass, "getSelectStatus", VALUEFUNC(_wrap_WSCoption_getSelectStatus), -1);
    rb_define_method(cWSCoption.klass, "getItemNum", VALUEFUNC(_wrap_WSCoption_getItemNum), -1);
    rb_define_method(cWSCoption.klass, "getItems", VALUEFUNC(_wrap_WSCoption_getItems), -1);
    cWSCoption.mark = 0;
    cWSCoption.destroy = (void (*)(void *)) free_WSCoption;
    
    cWSCgrid.klass = rb_define_class_under(mMpfc, "WSCgrid", ((swig_class *) SWIGTYPE_p_WSCform->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCgrid, (void *) &cWSCgrid);
    rb_define_singleton_method(cWSCgrid.klass, "new", VALUEFUNC(_wrap_WSCgrid_allocate), -1);
    rb_define_method(cWSCgrid.klass, "initialize", VALUEFUNC(_wrap_new_WSCgrid), -1);
    rb_define_method(cWSCgrid.klass, "onInputFixed", VALUEFUNC(_wrap_WSCgrid_onInputFixed), -1);
    rb_define_method(cWSCgrid.klass, "getCellNo", VALUEFUNC(_wrap_WSCgrid_getCellNo), -1);
    rb_define_method(cWSCgrid.klass, "getHColumns", VALUEFUNC(_wrap_WSCgrid_getHColumns), -1);
    rb_define_method(cWSCgrid.klass, "getVColumns", VALUEFUNC(_wrap_WSCgrid_getVColumns), -1);
    rb_define_method(cWSCgrid.klass, "getItem", VALUEFUNC(_wrap_WSCgrid_getItem), -1);
    rb_define_method(cWSCgrid.klass, "setItem", VALUEFUNC(_wrap_WSCgrid_setItem), -1);
    rb_define_method(cWSCgrid.klass, "getItemAlignment", VALUEFUNC(_wrap_WSCgrid_getItemAlignment), -1);
    rb_define_method(cWSCgrid.klass, "setCellForeColor", VALUEFUNC(_wrap_WSCgrid_setCellForeColor), -1);
    rb_define_method(cWSCgrid.klass, "setCellBackColor", VALUEFUNC(_wrap_WSCgrid_setCellBackColor), -1);
    rb_define_method(cWSCgrid.klass, "setCellInputStatus", VALUEFUNC(_wrap_WSCgrid_setCellInputStatus), -1);
    rb_define_method(cWSCgrid.klass, "getCellInputStatus", VALUEFUNC(_wrap_WSCgrid_getCellInputStatus), -1);
    rb_define_method(cWSCgrid.klass, "getFocusedCell", VALUEFUNC(_wrap_WSCgrid_getFocusedCell), -1);
    rb_define_method(cWSCgrid.klass, "setFocusedCell", VALUEFUNC(_wrap_WSCgrid_setFocusedCell), -1);
    cWSCgrid.mark = 0;
    cWSCgrid.destroy = (void (*)(void *)) free_WSCgrid;
    
    cWSCvimage.klass = rb_define_class_under(mMpfc, "WSCvimage", ((swig_class *) SWIGTYPE_p_WSCnwbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvimage, (void *) &cWSCvimage);
    rb_define_singleton_method(cWSCvimage.klass, "new", VALUEFUNC(_wrap_WSCvimage_allocate), -1);
    rb_define_method(cWSCvimage.klass, "initialize", VALUEFUNC(_wrap_new_WSCvimage), -1);
    cWSCvimage.mark = 0;
    cWSCvimage.destroy = (void (*)(void *)) free_WSCvimage;
    
    cWSCvrect.klass = rb_define_class_under(mMpfc, "WSCvrect", ((swig_class *) SWIGTYPE_p_WSCvpolyAttr->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvrect, (void *) &cWSCvrect);
    rb_define_singleton_method(cWSCvrect.klass, "new", VALUEFUNC(_wrap_WSCvrect_allocate), -1);
    rb_define_method(cWSCvrect.klass, "initialize", VALUEFUNC(_wrap_new_WSCvrect), -1);
    cWSCvrect.mark = 0;
    cWSCvrect.destroy = (void (*)(void *)) free_WSCvrect;
    
    cWSCvarc.klass = rb_define_class_under(mMpfc, "WSCvarc", ((swig_class *) SWIGTYPE_p_WSCvpolyAttr->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvarc, (void *) &cWSCvarc);
    rb_define_singleton_method(cWSCvarc.klass, "new", VALUEFUNC(_wrap_WSCvarc_allocate), -1);
    rb_define_method(cWSCvarc.klass, "initialize", VALUEFUNC(_wrap_new_WSCvarc), -1);
    cWSCvarc.mark = 0;
    cWSCvarc.destroy = (void (*)(void *)) free_WSCvarc;
    
    cWSCvpoly.klass = rb_define_class_under(mMpfc, "WSCvpoly", ((swig_class *) SWIGTYPE_p_WSCvpolyAttr->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvpoly, (void *) &cWSCvpoly);
    rb_define_singleton_method(cWSCvpoly.klass, "new", VALUEFUNC(_wrap_WSCvpoly_allocate), -1);
    rb_define_method(cWSCvpoly.klass, "initialize", VALUEFUNC(_wrap_new_WSCvpoly), -1);
    cWSCvpoly.mark = 0;
    cWSCvpoly.destroy = (void (*)(void *)) free_WSCvpoly;
    
    cWSCvline.klass = rb_define_class_under(mMpfc, "WSCvline", ((swig_class *) SWIGTYPE_p_WSCnwbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvline, (void *) &cWSCvline);
    rb_define_singleton_method(cWSCvline.klass, "new", VALUEFUNC(_wrap_WSCvline_allocate), -1);
    rb_define_method(cWSCvline.klass, "initialize", VALUEFUNC(_wrap_new_WSCvline), -1);
    cWSCvline.mark = 0;
    cWSCvline.destroy = (void (*)(void *)) free_WSCvline;
    
    cWSDimage.klass = rb_define_class_under(mMpfc, "WSDimage", rb_cObject);
    SWIG_TypeClientData(SWIGTYPE_p_WSDimage, (void *) &cWSDimage);
    rb_define_singleton_method(cWSDimage.klass, "new", VALUEFUNC(_wrap_WSDimage_allocate), -1);
    rb_define_method(cWSDimage.klass, "initialize", VALUEFUNC(_wrap_new_WSDimage), -1);
    rb_define_method(cWSDimage.klass, "destroyImage", VALUEFUNC(_wrap_WSDimage_destroyImage), -1);
    rb_define_method(cWSDimage.klass, "getImageWidth", VALUEFUNC(_wrap_WSDimage_getImageWidth), -1);
    rb_define_method(cWSDimage.klass, "getImageHeight", VALUEFUNC(_wrap_WSDimage_getImageHeight), -1);
    rb_define_method(cWSDimage.klass, "getReady", VALUEFUNC(_wrap_WSDimage_getReady), -1);
    cWSDimage.mark = 0;
    cWSDimage.destroy = (void (*)(void *)) free_WSDimage;
    
    cWSCvdrawingArea.klass = rb_define_class_under(mMpfc, "WSCvdrawingArea", ((swig_class *) SWIGTYPE_p_WSCnwbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvdrawingArea, (void *) &cWSCvdrawingArea);
    rb_define_singleton_method(cWSCvdrawingArea.klass, "new", VALUEFUNC(_wrap_WSCvdrawingArea_allocate), -1);
    rb_define_method(cWSCvdrawingArea.klass, "initialize", VALUEFUNC(_wrap_new_WSCvdrawingArea), -1);
    rb_define_method(cWSCvdrawingArea.klass, "beginDraw", VALUEFUNC(_wrap_WSCvdrawingArea_beginDraw), -1);
    rb_define_method(cWSCvdrawingArea.klass, "endDraw", VALUEFUNC(_wrap_WSCvdrawingArea_endDraw), -1);
    rb_define_method(cWSCvdrawingArea.klass, "setForeColor", VALUEFUNC(_wrap_WSCvdrawingArea_setForeColor), -1);
    rb_define_method(cWSCvdrawingArea.klass, "setBackColor", VALUEFUNC(_wrap_WSCvdrawingArea_setBackColor), -1);
    rb_define_method(cWSCvdrawingArea.klass, "setLineWidth", VALUEFUNC(_wrap_WSCvdrawingArea_setLineWidth), -1);
    rb_define_method(cWSCvdrawingArea.klass, "setLineDashType", VALUEFUNC(_wrap_WSCvdrawingArea_setLineDashType), -1);
    rb_define_method(cWSCvdrawingArea.klass, "setHatchPattern", VALUEFUNC(_wrap_WSCvdrawingArea_setHatchPattern), -1);
    rb_define_method(cWSCvdrawingArea.klass, "setRegion", VALUEFUNC(_wrap_WSCvdrawingArea_setRegion), -1);
    rb_define_method(cWSCvdrawingArea.klass, "drawArc", VALUEFUNC(_wrap_WSCvdrawingArea_drawArc), -1);
    rb_define_method(cWSCvdrawingArea.klass, "drawFillArc", VALUEFUNC(_wrap_WSCvdrawingArea_drawFillArc), -1);
    rb_define_method(cWSCvdrawingArea.klass, "drawLine", VALUEFUNC(_wrap_WSCvdrawingArea_drawLine), -1);
    rb_define_method(cWSCvdrawingArea.klass, "drawLines", VALUEFUNC(_wrap_WSCvdrawingArea_drawLines), -1);
    rb_define_method(cWSCvdrawingArea.klass, "drawRect", VALUEFUNC(_wrap_WSCvdrawingArea_drawRect), -1);
    rb_define_method(cWSCvdrawingArea.klass, "drawFillRect", VALUEFUNC(_wrap_WSCvdrawingArea_drawFillRect), -1);
    rb_define_method(cWSCvdrawingArea.klass, "drawRects", VALUEFUNC(_wrap_WSCvdrawingArea_drawRects), -1);
    rb_define_method(cWSCvdrawingArea.klass, "drawFillRects", VALUEFUNC(_wrap_WSCvdrawingArea_drawFillRects), -1);
    rb_define_method(cWSCvdrawingArea.klass, "drawPoly", VALUEFUNC(_wrap_WSCvdrawingArea_drawPoly), -1);
    rb_define_method(cWSCvdrawingArea.klass, "drawFillPoly", VALUEFUNC(_wrap_WSCvdrawingArea_drawFillPoly), -1);
    rb_define_method(cWSCvdrawingArea.klass, "drawGradation", VALUEFUNC(_wrap_WSCvdrawingArea_drawGradation), -1);
    rb_define_method(cWSCvdrawingArea.klass, "drawImage", VALUEFUNC(_wrap_WSCvdrawingArea_drawImage), -1);
    rb_define_method(cWSCvdrawingArea.klass, "drawStretchedImage", VALUEFUNC(_wrap_WSCvdrawingArea_drawStretchedImage), -1);
    rb_define_method(cWSCvdrawingArea.klass, "drawString", VALUEFUNC(_wrap_WSCvdrawingArea_drawString), -1);
    rb_define_method(cWSCvdrawingArea.klass, "drawFillString", VALUEFUNC(_wrap_WSCvdrawingArea_drawFillString), -1);
    cWSCvdrawingArea.mark = 0;
    cWSCvdrawingArea.destroy = (void (*)(void *)) free_WSCvdrawingArea;
    
    cWSCvbarGraph.klass = rb_define_class_under(mMpfc, "WSCvbarGraph", ((swig_class *) SWIGTYPE_p_WSCnwbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvbarGraph, (void *) &cWSCvbarGraph);
    rb_define_singleton_method(cWSCvbarGraph.klass, "new", VALUEFUNC(_wrap_WSCvbarGraph_allocate), -1);
    rb_define_method(cWSCvbarGraph.klass, "initialize", VALUEFUNC(_wrap_new_WSCvbarGraph), -1);
    cWSCvbarGraph.mark = 0;
    cWSCvbarGraph.destroy = (void (*)(void *)) free_WSCvbarGraph;
    
    cWSCvlineGraph.klass = rb_define_class_under(mMpfc, "WSCvlineGraph", ((swig_class *) SWIGTYPE_p_WSCnwbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvlineGraph, (void *) &cWSCvlineGraph);
    rb_define_singleton_method(cWSCvlineGraph.klass, "new", VALUEFUNC(_wrap_WSCvlineGraph_allocate), -1);
    rb_define_method(cWSCvlineGraph.klass, "initialize", VALUEFUNC(_wrap_new_WSCvlineGraph), -1);
    cWSCvlineGraph.mark = 0;
    cWSCvlineGraph.destroy = (void (*)(void *)) free_WSCvlineGraph;
    
    cWSCvgraphScale.klass = rb_define_class_under(mMpfc, "WSCvgraphScale", ((swig_class *) SWIGTYPE_p_WSCnwbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvgraphScale, (void *) &cWSCvgraphScale);
    rb_define_singleton_method(cWSCvgraphScale.klass, "new", VALUEFUNC(_wrap_WSCvgraphScale_allocate), -1);
    rb_define_method(cWSCvgraphScale.klass, "initialize", VALUEFUNC(_wrap_new_WSCvgraphScale), -1);
    cWSCvgraphScale.mark = 0;
    cWSCvgraphScale.destroy = (void (*)(void *)) free_WSCvgraphScale;
    
    cWSCvgraphMatrix.klass = rb_define_class_under(mMpfc, "WSCvgraphMatrix", ((swig_class *) SWIGTYPE_p_WSCnwbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvgraphMatrix, (void *) &cWSCvgraphMatrix);
    rb_define_singleton_method(cWSCvgraphMatrix.klass, "new", VALUEFUNC(_wrap_WSCvgraphMatrix_allocate), -1);
    rb_define_method(cWSCvgraphMatrix.klass, "initialize", VALUEFUNC(_wrap_new_WSCvgraphMatrix), -1);
    cWSCvgraphMatrix.mark = 0;
    cWSCvgraphMatrix.destroy = (void (*)(void *)) free_WSCvgraphMatrix;
    
    cWSCvtimer.klass = rb_define_class_under(mMpfc, "WSCvtimer", ((swig_class *) SWIGTYPE_p_WSCngbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvtimer, (void *) &cWSCvtimer);
    rb_define_singleton_method(cWSCvtimer.klass, "new", VALUEFUNC(_wrap_WSCvtimer_allocate), -1);
    rb_define_method(cWSCvtimer.klass, "initialize", VALUEFUNC(_wrap_new_WSCvtimer), -1);
    rb_define_method(cWSCvtimer.klass, "onActivate", VALUEFUNC(_wrap_WSCvtimer_onActivate), -1);
    cWSCvtimer.mark = 0;
    cWSCvtimer.destroy = (void (*)(void *)) free_WSCvtimer;
    
    cWSCvspace.klass = rb_define_class_under(mMpfc, "WSCvspace", ((swig_class *) SWIGTYPE_p_WSCngbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvspace, (void *) &cWSCvspace);
    rb_define_singleton_method(cWSCvspace.klass, "new", VALUEFUNC(_wrap_WSCvspace_allocate), -1);
    rb_define_method(cWSCvspace.klass, "initialize", VALUEFUNC(_wrap_new_WSCvspace), -1);
    cWSCvspace.mark = 0;
    cWSCvspace.destroy = (void (*)(void *)) free_WSCvspace;
    
    cWSCvballoonHelp.klass = rb_define_class_under(mMpfc, "WSCvballoonHelp", ((swig_class *) SWIGTYPE_p_WSCngbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvballoonHelp, (void *) &cWSCvballoonHelp);
    rb_define_singleton_method(cWSCvballoonHelp.klass, "new", VALUEFUNC(_wrap_WSCvballoonHelp_allocate), -1);
    rb_define_method(cWSCvballoonHelp.klass, "initialize", VALUEFUNC(_wrap_new_WSCvballoonHelp), -1);
    cWSCvballoonHelp.mark = 0;
    cWSCvballoonHelp.destroy = (void (*)(void *)) free_WSCvballoonHelp;
    
    cWSCvcsocket.klass = rb_define_class_under(mMpfc, "WSCvcsocket", ((swig_class *) SWIGTYPE_p_WSCngbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvcsocket, (void *) &cWSCvcsocket);
    rb_define_singleton_method(cWSCvcsocket.klass, "new", VALUEFUNC(_wrap_WSCvcsocket_allocate), -1);
    rb_define_method(cWSCvcsocket.klass, "initialize", VALUEFUNC(_wrap_new_WSCvcsocket), -1);
    rb_define_method(cWSCvcsocket.klass, "onActivate", VALUEFUNC(_wrap_WSCvcsocket_onActivate), -1);
    rb_define_method(cWSCvcsocket.klass, "read", VALUEFUNC(_wrap_WSCvcsocket_read), -1);
    rb_define_method(cWSCvcsocket.klass, "write", VALUEFUNC(_wrap_WSCvcsocket_write), -1);
    rb_define_method(cWSCvcsocket.klass, "exec", VALUEFUNC(_wrap_WSCvcsocket_exec), -1);
    rb_define_method(cWSCvcsocket.klass, "setBindAddr", VALUEFUNC(_wrap_WSCvcsocket_setBindAddr), -1);
    rb_define_method(cWSCvcsocket.klass, "getBindAddr", VALUEFUNC(_wrap_WSCvcsocket_getBindAddr), -1);
    rb_define_method(cWSCvcsocket.klass, "getErrorMessage", VALUEFUNC(_wrap_WSCvcsocket_getErrorMessage), -1);
    cWSCvcsocket.mark = 0;
    cWSCvcsocket.destroy = (void (*)(void *)) free_WSCvcsocket;
    
    cWSCvssocket.klass = rb_define_class_under(mMpfc, "WSCvssocket", ((swig_class *) SWIGTYPE_p_WSCngbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvssocket, (void *) &cWSCvssocket);
    rb_define_singleton_method(cWSCvssocket.klass, "new", VALUEFUNC(_wrap_WSCvssocket_allocate), -1);
    rb_define_method(cWSCvssocket.klass, "initialize", VALUEFUNC(_wrap_new_WSCvssocket), -1);
    rb_define_method(cWSCvssocket.klass, "onActivate", VALUEFUNC(_wrap_WSCvssocket_onActivate), -1);
    rb_define_method(cWSCvssocket.klass, "read", VALUEFUNC(_wrap_WSCvssocket_read), -1);
    rb_define_method(cWSCvssocket.klass, "write", VALUEFUNC(_wrap_WSCvssocket_write), -1);
    rb_define_method(cWSCvssocket.klass, "getDestAddr", VALUEFUNC(_wrap_WSCvssocket_getDestAddr), -1);
    rb_define_method(cWSCvssocket.klass, "getErrorMessage", VALUEFUNC(_wrap_WSCvssocket_getErrorMessage), -1);
    cWSCvssocket.mark = 0;
    cWSCvssocket.destroy = (void (*)(void *)) free_WSCvssocket;
    
    cWSCvudpsocket.klass = rb_define_class_under(mMpfc, "WSCvudpsocket", ((swig_class *) SWIGTYPE_p_WSCngbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvudpsocket, (void *) &cWSCvudpsocket);
    rb_define_singleton_method(cWSCvudpsocket.klass, "new", VALUEFUNC(_wrap_WSCvudpsocket_allocate), -1);
    rb_define_method(cWSCvudpsocket.klass, "initialize", VALUEFUNC(_wrap_new_WSCvudpsocket), -1);
    rb_define_method(cWSCvudpsocket.klass, "onActivate", VALUEFUNC(_wrap_WSCvudpsocket_onActivate), -1);
    rb_define_method(cWSCvudpsocket.klass, "read", VALUEFUNC(_wrap_WSCvudpsocket_read), -1);
    rb_define_method(cWSCvudpsocket.klass, "write", VALUEFUNC(_wrap_WSCvudpsocket_write), -1);
    rb_define_method(cWSCvudpsocket.klass, "getDestAddr", VALUEFUNC(_wrap_WSCvudpsocket_getDestAddr), -1);
    rb_define_method(cWSCvudpsocket.klass, "setBindAddr", VALUEFUNC(_wrap_WSCvudpsocket_setBindAddr), -1);
    rb_define_method(cWSCvudpsocket.klass, "getBindAddr", VALUEFUNC(_wrap_WSCvudpsocket_getBindAddr), -1);
    rb_define_method(cWSCvudpsocket.klass, "start", VALUEFUNC(_wrap_WSCvudpsocket_start), -1);
    rb_define_method(cWSCvudpsocket.klass, "stop", VALUEFUNC(_wrap_WSCvudpsocket_stop), -1);
    rb_define_method(cWSCvudpsocket.klass, "getErrorMessage", VALUEFUNC(_wrap_WSCvudpsocket_getErrorMessage), -1);
    cWSCvudpsocket.mark = 0;
    cWSCvudpsocket.destroy = (void (*)(void *)) free_WSCvudpsocket;
    
    cWSCvremoteClient.klass = rb_define_class_under(mMpfc, "WSCvremoteClient", ((swig_class *) SWIGTYPE_p_WSCngbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvremoteClient, (void *) &cWSCvremoteClient);
    rb_define_singleton_method(cWSCvremoteClient.klass, "new", VALUEFUNC(_wrap_WSCvremoteClient_allocate), -1);
    rb_define_method(cWSCvremoteClient.klass, "initialize", VALUEFUNC(_wrap_new_WSCvremoteClient), -1);
    cWSCvremoteClient.mark = 0;
    cWSCvremoteClient.destroy = (void (*)(void *)) free_WSCvremoteClient;
    
    cWSCvremoteServer.klass = rb_define_class_under(mMpfc, "WSCvremoteServer", ((swig_class *) SWIGTYPE_p_WSCngbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvremoteServer, (void *) &cWSCvremoteServer);
    rb_define_singleton_method(cWSCvremoteServer.klass, "new", VALUEFUNC(_wrap_WSCvremoteServer_allocate), -1);
    rb_define_method(cWSCvremoteServer.klass, "initialize", VALUEFUNC(_wrap_new_WSCvremoteServer), -1);
    cWSCvremoteServer.mark = 0;
    cWSCvremoteServer.destroy = (void (*)(void *)) free_WSCvremoteServer;
    
    cWSCvdb.klass = rb_define_class_under(mMpfc, "WSCvdb", ((swig_class *) SWIGTYPE_p_WSCngbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvdb, (void *) &cWSCvdb);
    rb_define_singleton_method(cWSCvdb.klass, "new", VALUEFUNC(_wrap_WSCvdb_allocate), -1);
    rb_define_method(cWSCvdb.klass, "initialize", VALUEFUNC(_wrap_new_WSCvdb), -1);
    rb_define_method(cWSCvdb.klass, "open", VALUEFUNC(_wrap_WSCvdb_open), -1);
    rb_define_method(cWSCvdb.klass, "close", VALUEFUNC(_wrap_WSCvdb_close), -1);
    rb_define_method(cWSCvdb.klass, "isOpen", VALUEFUNC(_wrap_WSCvdb_isOpen), -1);
    rb_define_method(cWSCvdb.klass, "sqlExecute", VALUEFUNC(_wrap_WSCvdb_sqlExecute), -1);
    rb_define_method(cWSCvdb.klass, "beginTran", VALUEFUNC(_wrap_WSCvdb_beginTran), -1);
    rb_define_method(cWSCvdb.klass, "commitTran", VALUEFUNC(_wrap_WSCvdb_commitTran), -1);
    rb_define_method(cWSCvdb.klass, "abortTran", VALUEFUNC(_wrap_WSCvdb_abortTran), -1);
    rb_define_method(cWSCvdb.klass, "getErrorMessage", VALUEFUNC(_wrap_WSCvdb_getErrorMessage), -1);
    cWSCvdb.mark = 0;
    cWSCvdb.destroy = (void (*)(void *)) free_WSCvdb;
    
    cWSCwindow.klass = rb_define_class_under(mMpfc, "WSCwindow", ((swig_class *) SWIGTYPE_p_WSCbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCwindow, (void *) &cWSCwindow);
    rb_define_singleton_method(cWSCwindow.klass, "new", VALUEFUNC(_wrap_WSCwindow_allocate), -1);
    rb_define_method(cWSCwindow.klass, "initialize", VALUEFUNC(_wrap_new_WSCwindow), -1);
    cWSCwindow.mark = 0;
    cWSCwindow.destroy = (void (*)(void *)) free_WSCwindow;
    
    cWSCmainWindow.klass = rb_define_class_under(mMpfc, "WSCmainWindow", ((swig_class *) SWIGTYPE_p_WSCwindow->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCmainWindow, (void *) &cWSCmainWindow);
    rb_define_singleton_method(cWSCmainWindow.klass, "new", VALUEFUNC(_wrap_WSCmainWindow_allocate), -1);
    rb_define_method(cWSCmainWindow.klass, "initialize", VALUEFUNC(_wrap_new_WSCmainWindow), -1);
    cWSCmainWindow.mark = 0;
    cWSCmainWindow.destroy = (void (*)(void *)) free_WSCmainWindow;
    
    cWSCbaseDialog.klass = rb_define_class_under(mMpfc, "WSCbaseDialog", ((swig_class *) SWIGTYPE_p_WSCwindow->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCbaseDialog, (void *) &cWSCbaseDialog);
    rb_define_singleton_method(cWSCbaseDialog.klass, "new", VALUEFUNC(_wrap_WSCbaseDialog_allocate), -1);
    rb_define_method(cWSCbaseDialog.klass, "initialize", VALUEFUNC(_wrap_new_WSCbaseDialog), -1);
    rb_define_method(cWSCbaseDialog.klass, "popup", VALUEFUNC(_wrap_WSCbaseDialog_popup), -1);
    cWSCbaseDialog.mark = 0;
    cWSCbaseDialog.destroy = (void (*)(void *)) free_WSCbaseDialog;
    
    cWSCdialog.klass = rb_define_class_under(mMpfc, "WSCdialog", ((swig_class *) SWIGTYPE_p_WSCbaseDialog->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCdialog, (void *) &cWSCdialog);
    rb_define_singleton_method(cWSCdialog.klass, "new", VALUEFUNC(_wrap_WSCdialog_allocate), -1);
    rb_define_method(cWSCdialog.klass, "initialize", VALUEFUNC(_wrap_new_WSCdialog), -1);
    cWSCdialog.mark = 0;
    cWSCdialog.destroy = (void (*)(void *)) free_WSCdialog;
    
    cWSCmessageDialog.klass = rb_define_class_under(mMpfc, "WSCmessageDialog", ((swig_class *) SWIGTYPE_p_WSCbaseDialog->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCmessageDialog, (void *) &cWSCmessageDialog);
    rb_define_singleton_method(cWSCmessageDialog.klass, "new", VALUEFUNC(_wrap_WSCmessageDialog_allocate), -1);
    rb_define_method(cWSCmessageDialog.klass, "initialize", VALUEFUNC(_wrap_new_WSCmessageDialog), -1);
    cWSCmessageDialog.mark = 0;
    cWSCmessageDialog.destroy = (void (*)(void *)) free_WSCmessageDialog;
    
    cWSCinputDialog.klass = rb_define_class_under(mMpfc, "WSCinputDialog", ((swig_class *) SWIGTYPE_p_WSCbaseDialog->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCinputDialog, (void *) &cWSCinputDialog);
    rb_define_singleton_method(cWSCinputDialog.klass, "new", VALUEFUNC(_wrap_WSCinputDialog_allocate), -1);
    rb_define_method(cWSCinputDialog.klass, "initialize", VALUEFUNC(_wrap_new_WSCinputDialog), -1);
    cWSCinputDialog.mark = 0;
    cWSCinputDialog.destroy = (void (*)(void *)) free_WSCinputDialog;
    
    cWSCwizardDialog.klass = rb_define_class_under(mMpfc, "WSCwizardDialog", ((swig_class *) SWIGTYPE_p_WSCbaseDialog->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCwizardDialog, (void *) &cWSCwizardDialog);
    rb_define_singleton_method(cWSCwizardDialog.klass, "new", VALUEFUNC(_wrap_WSCwizardDialog_allocate), -1);
    rb_define_method(cWSCwizardDialog.klass, "initialize", VALUEFUNC(_wrap_new_WSCwizardDialog), -1);
    cWSCwizardDialog.mark = 0;
    cWSCwizardDialog.destroy = (void (*)(void *)) free_WSCwizardDialog;
    
    cWSCfileSelect.klass = rb_define_class_under(mMpfc, "WSCfileSelect", ((swig_class *) SWIGTYPE_p_WSCbaseDialog->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCfileSelect, (void *) &cWSCfileSelect);
    rb_define_singleton_method(cWSCfileSelect.klass, "new", VALUEFUNC(_wrap_WSCfileSelect_allocate), -1);
    rb_define_method(cWSCfileSelect.klass, "initialize", VALUEFUNC(_wrap_new_WSCfileSelect), -1);
    rb_define_method(cWSCfileSelect.klass, "getFileName", VALUEFUNC(_wrap_WSCfileSelect_getFileName), -1);
    cWSCfileSelect.mark = 0;
    cWSCfileSelect.destroy = (void (*)(void *)) free_WSCfileSelect;
    rb_define_module_function(mMpfc, "WSGIappFileSelect", VALUEFUNC(_wrap_WSGIappFileSelect), -1);
    
    cWSCworkingDialog.klass = rb_define_class_under(mMpfc, "WSCworkingDialog", ((swig_class *) SWIGTYPE_p_WSCbaseDialog->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCworkingDialog, (void *) &cWSCworkingDialog);
    rb_define_singleton_method(cWSCworkingDialog.klass, "new", VALUEFUNC(_wrap_WSCworkingDialog_allocate), -1);
    rb_define_method(cWSCworkingDialog.klass, "initialize", VALUEFUNC(_wrap_new_WSCworkingDialog), -1);
    cWSCworkingDialog.mark = 0;
    cWSCworkingDialog.destroy = (void (*)(void *)) free_WSCworkingDialog;
    
    cWSCindexForm.klass = rb_define_class_under(mMpfc, "WSCindexForm", ((swig_class *) SWIGTYPE_p_WSCform->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCindexForm, (void *) &cWSCindexForm);
    rb_define_singleton_method(cWSCindexForm.klass, "new", VALUEFUNC(_wrap_WSCindexForm_allocate), -1);
    rb_define_method(cWSCindexForm.klass, "initialize", VALUEFUNC(_wrap_new_WSCindexForm), -1);
    cWSCindexForm.mark = 0;
    cWSCindexForm.destroy = (void (*)(void *)) free_WSCindexForm;
    
    cWSCsform.klass = rb_define_class_under(mMpfc, "WSCsform", ((swig_class *) SWIGTYPE_p_WSCform->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCsform, (void *) &cWSCsform);
    rb_define_singleton_method(cWSCsform.klass, "new", VALUEFUNC(_wrap_WSCsform_allocate), -1);
    rb_define_method(cWSCsform.klass, "initialize", VALUEFUNC(_wrap_new_WSCsform), -1);
    rb_define_method(cWSCsform.klass, "getStatus", VALUEFUNC(_wrap_WSCsform_getStatus), -1);
    rb_define_method(cWSCsform.klass, "setAdjustChildren", VALUEFUNC(_wrap_WSCsform_setAdjustChildren), -1);
    rb_define_method(cWSCsform.klass, "setManaged", VALUEFUNC(_wrap_WSCsform_setManaged), -1);
    cWSCsform.mark = 0;
    cWSCsform.destroy = (void (*)(void *)) free_WSCsform;
    
    cWSCvtoggle.klass = rb_define_class_under(mMpfc, "WSCvtoggle", ((swig_class *) SWIGTYPE_p_WSCvlabel->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvtoggle, (void *) &cWSCvtoggle);
    rb_define_singleton_method(cWSCvtoggle.klass, "new", VALUEFUNC(_wrap_WSCvtoggle_allocate), -1);
    rb_define_method(cWSCvtoggle.klass, "initialize", VALUEFUNC(_wrap_new_WSCvtoggle), -1);
    rb_define_method(cWSCvtoggle.klass, "setStatus", VALUEFUNC(_wrap_WSCvtoggle_setStatus), -1);
    rb_define_method(cWSCvtoggle.klass, "getStatus", VALUEFUNC(_wrap_WSCvtoggle_getStatus), -1);
    rb_define_method(cWSCvtoggle.klass, "getGroupValue", VALUEFUNC(_wrap_WSCvtoggle_getGroupValue), -1);
    rb_define_method(cWSCvtoggle.klass, "setGroupValue", VALUEFUNC(_wrap_WSCvtoggle_setGroupValue), -1);
    rb_define_method(cWSCvtoggle.klass, "clearGroupValue", VALUEFUNC(_wrap_WSCvtoggle_clearGroupValue), -1);
    cWSCvtoggle.mark = 0;
    cWSCvtoggle.destroy = (void (*)(void *)) free_WSCvtoggle;
    
    cWSCvradio.klass = rb_define_class_under(mMpfc, "WSCvradio", ((swig_class *) SWIGTYPE_p_WSCvtoggle->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvradio, (void *) &cWSCvradio);
    rb_define_singleton_method(cWSCvradio.klass, "new", VALUEFUNC(_wrap_WSCvradio_allocate), -1);
    rb_define_method(cWSCvradio.klass, "initialize", VALUEFUNC(_wrap_new_WSCvradio), -1);
    cWSCvradio.mark = 0;
    cWSCvradio.destroy = (void (*)(void *)) free_WSCvradio;
    
    cWSCradioGroup.klass = rb_define_class_under(mMpfc, "WSCradioGroup", ((swig_class *) SWIGTYPE_p_WSCform->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCradioGroup, (void *) &cWSCradioGroup);
    rb_define_singleton_method(cWSCradioGroup.klass, "new", VALUEFUNC(_wrap_WSCradioGroup_allocate), -1);
    rb_define_method(cWSCradioGroup.klass, "initialize", VALUEFUNC(_wrap_new_WSCradioGroup), -1);
    rb_define_method(cWSCradioGroup.klass, "onValueChange", VALUEFUNC(_wrap_WSCradioGroup_onValueChange), -1);
    rb_define_method(cWSCradioGroup.klass, "setItemSensitive", VALUEFUNC(_wrap_WSCradioGroup_setItemSensitive), -1);
    rb_define_method(cWSCradioGroup.klass, "getItemSensitive", VALUEFUNC(_wrap_WSCradioGroup_getItemSensitive), -1);
    rb_define_method(cWSCradioGroup.klass, "getItem", VALUEFUNC(_wrap_WSCradioGroup_getItem), -1);
    cWSCradioGroup.mark = 0;
    cWSCradioGroup.destroy = (void (*)(void *)) free_WSCradioGroup;
    
    cWSCcheckGroup.klass = rb_define_class_under(mMpfc, "WSCcheckGroup", ((swig_class *) SWIGTYPE_p_WSCradioGroup->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCcheckGroup, (void *) &cWSCcheckGroup);
    rb_define_singleton_method(cWSCcheckGroup.klass, "new", VALUEFUNC(_wrap_WSCcheckGroup_allocate), -1);
    rb_define_method(cWSCcheckGroup.klass, "initialize", VALUEFUNC(_wrap_new_WSCcheckGroup), -1);
    cWSCcheckGroup.mark = 0;
    cWSCcheckGroup.destroy = (void (*)(void *)) free_WSCcheckGroup;
    
    cWSCvertForm.klass = rb_define_class_under(mMpfc, "WSCvertForm", ((swig_class *) SWIGTYPE_p_WSCform->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCvertForm, (void *) &cWSCvertForm);
    rb_define_singleton_method(cWSCvertForm.klass, "new", VALUEFUNC(_wrap_WSCvertForm_allocate), -1);
    rb_define_method(cWSCvertForm.klass, "initialize", VALUEFUNC(_wrap_new_WSCvertForm), -1);
    cWSCvertForm.mark = 0;
    cWSCvertForm.destroy = (void (*)(void *)) free_WSCvertForm;
    
    cWSChorzForm.klass = rb_define_class_under(mMpfc, "WSChorzForm", ((swig_class *) SWIGTYPE_p_WSCvertForm->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSChorzForm, (void *) &cWSChorzForm);
    rb_define_singleton_method(cWSChorzForm.klass, "new", VALUEFUNC(_wrap_WSChorzForm_allocate), -1);
    rb_define_method(cWSChorzForm.klass, "initialize", VALUEFUNC(_wrap_new_WSChorzForm), -1);
    cWSChorzForm.mark = 0;
    cWSChorzForm.destroy = (void (*)(void *)) free_WSChorzForm;
    
    cWSCmenuArea.klass = rb_define_class_under(mMpfc, "WSCmenuArea", ((swig_class *) SWIGTYPE_p_WSCform->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCmenuArea, (void *) &cWSCmenuArea);
    rb_define_singleton_method(cWSCmenuArea.klass, "new", VALUEFUNC(_wrap_WSCmenuArea_allocate), -1);
    rb_define_method(cWSCmenuArea.klass, "initialize", VALUEFUNC(_wrap_new_WSCmenuArea), -1);
    cWSCmenuArea.mark = 0;
    cWSCmenuArea.destroy = (void (*)(void *)) free_WSCmenuArea;
    
    cWSCscrForm.klass = rb_define_class_under(mMpfc, "WSCscrForm", ((swig_class *) SWIGTYPE_p_WSCform->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCscrForm, (void *) &cWSCscrForm);
    rb_define_singleton_method(cWSCscrForm.klass, "new", VALUEFUNC(_wrap_WSCscrForm_allocate), -1);
    rb_define_method(cWSCscrForm.klass, "initialize", VALUEFUNC(_wrap_new_WSCscrForm), -1);
    rb_define_method(cWSCscrForm.klass, "onScrMousePress", VALUEFUNC(_wrap_WSCscrForm_onScrMousePress), -1);
    rb_define_method(cWSCscrForm.klass, "onScrMouseRelease", VALUEFUNC(_wrap_WSCscrForm_onScrMouseRelease), -1);
    rb_define_method(cWSCscrForm.klass, "onScrMouseMove", VALUEFUNC(_wrap_WSCscrForm_onScrMouseMove), -1);
    rb_define_method(cWSCscrForm.klass, "getVisibleWidth", VALUEFUNC(_wrap_WSCscrForm_getVisibleWidth), -1);
    rb_define_method(cWSCscrForm.klass, "getVisibleHeight", VALUEFUNC(_wrap_WSCscrForm_getVisibleHeight), -1);
    rb_define_method(cWSCscrForm.klass, "getScrFrame", VALUEFUNC(_wrap_WSCscrForm_getScrFrame), -1);
    cWSCscrForm.mark = 0;
    cWSCscrForm.destroy = (void (*)(void *)) free_WSCscrForm;
    
    cWSClist.klass = rb_define_class_under(mMpfc, "WSClist", ((swig_class *) SWIGTYPE_p_WSCscrForm->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSClist, (void *) &cWSClist);
    rb_define_singleton_method(cWSClist.klass, "new", VALUEFUNC(_wrap_WSClist_allocate), -1);
    rb_define_method(cWSClist.klass, "initialize", VALUEFUNC(_wrap_new_WSClist), -1);
    rb_define_method(cWSClist.klass, "onSort", VALUEFUNC(_wrap_WSClist_onSort), -1);
    rb_define_method(cWSClist.klass, "onItemSelected", VALUEFUNC(_wrap_WSClist_onItemSelected), -1);
    rb_define_method(cWSClist.klass, "onInputFixed", VALUEFUNC(_wrap_WSClist_onInputFixed), -1);
    rb_define_method(cWSClist.klass, "setLabelHeight", VALUEFUNC(_wrap_WSClist_setLabelHeight), -1);
    rb_define_method(cWSClist.klass, "delAll", VALUEFUNC(_wrap_WSClist_delAll), -1);
    rb_define_method(cWSClist.klass, "getLabel", VALUEFUNC(_wrap_WSClist_getLabel), -1);
    rb_define_method(cWSClist.klass, "getNum", VALUEFUNC(_wrap_WSClist_getNum), -1);
    rb_define_method(cWSClist.klass, "getItem", VALUEFUNC(_wrap_WSClist_getItem), -1);
    rb_define_method(cWSClist.klass, "addItem", VALUEFUNC(_wrap_WSClist_addItem), -1);
    rb_define_method(cWSClist.klass, "replaceItem", VALUEFUNC(_wrap_WSClist_replaceItem), -1);
    rb_define_method(cWSClist.klass, "delPos", VALUEFUNC(_wrap_WSClist_delPos), -1);
    rb_define_method(cWSClist.klass, "getPreSelectedPos", VALUEFUNC(_wrap_WSClist_getPreSelectedPos), -1);
    rb_define_method(cWSClist.klass, "setPreSelectPos", VALUEFUNC(_wrap_WSClist_setPreSelectPos), -1);
    rb_define_method(cWSClist.klass, "getSelectedPos", VALUEFUNC(_wrap_WSClist_getSelectedPos), -1);
    rb_define_method(cWSClist.klass, "setSelectPos", VALUEFUNC(_wrap_WSClist_setSelectPos), -1);
    rb_define_method(cWSClist.klass, "getSelectedItem", VALUEFUNC(_wrap_WSClist_getSelectedItem), -1);
    rb_define_method(cWSClist.klass, "setTopPos", VALUEFUNC(_wrap_WSClist_setTopPos), -1);
    rb_define_method(cWSClist.klass, "setBottomPos", VALUEFUNC(_wrap_WSClist_setBottomPos), -1);
    rb_define_method(cWSClist.klass, "getTopPos", VALUEFUNC(_wrap_WSClist_getTopPos), -1);
    rb_define_method(cWSClist.klass, "getBottomPos", VALUEFUNC(_wrap_WSClist_getBottomPos), -1);
    rb_define_method(cWSClist.klass, "updateList", VALUEFUNC(_wrap_WSClist_updateList), -1);
    rb_define_method(cWSClist.klass, "setLabelProperty", VALUEFUNC(_wrap_WSClist_setLabelProperty), -1);
    rb_define_method(cWSClist.klass, "setLabelClass", VALUEFUNC(_wrap_WSClist_setLabelClass), -1);
    rb_define_method(cWSClist.klass, "getSelectItemChanged", VALUEFUNC(_wrap_WSClist_getSelectItemChanged), -1);
    rb_define_method(cWSClist.klass, "setSelectItemChanged", VALUEFUNC(_wrap_WSClist_setSelectItemChanged), -1);
    rb_define_method(cWSClist.klass, "setItemVisible", VALUEFUNC(_wrap_WSClist_setItemVisible), -1);
    rb_define_method(cWSClist.klass, "setItemValue", VALUEFUNC(_wrap_WSClist_setItemValue), -1);
    rb_define_method(cWSClist.klass, "getItemValue", VALUEFUNC(_wrap_WSClist_getItemValue), -1);
    rb_define_method(cWSClist.klass, "getInputString", VALUEFUNC(_wrap_WSClist_getInputString), -1);
    rb_define_method(cWSClist.klass, "cancelInput", VALUEFUNC(_wrap_WSClist_cancelInput), -1);
    rb_define_method(cWSClist.klass, "getSeparator", VALUEFUNC(_wrap_WSClist_getSeparator), -1);
    cWSClist.mark = 0;
    cWSClist.destroy = (void (*)(void *)) free_WSClist;
    
    cWSCverbList.klass = rb_define_class_under(mMpfc, "WSCverbList", ((swig_class *) SWIGTYPE_p_WSClist->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCverbList, (void *) &cWSCverbList);
    rb_define_singleton_method(cWSCverbList.klass, "new", VALUEFUNC(_wrap_WSCverbList_allocate), -1);
    rb_define_method(cWSCverbList.klass, "initialize", VALUEFUNC(_wrap_new_WSCverbList), -1);
    cWSCverbList.mark = 0;
    cWSCverbList.destroy = (void (*)(void *)) free_WSCverbList;
    
    cWSCtreeList.klass = rb_define_class_under(mMpfc, "WSCtreeList", ((swig_class *) SWIGTYPE_p_WSClist->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCtreeList, (void *) &cWSCtreeList);
    rb_define_singleton_method(cWSCtreeList.klass, "new", VALUEFUNC(_wrap_WSCtreeList_allocate), -1);
    rb_define_method(cWSCtreeList.klass, "initialize", VALUEFUNC(_wrap_new_WSCtreeList), -1);
    cWSCtreeList.mark = 0;
    cWSCtreeList.destroy = (void (*)(void *)) free_WSCtreeList;
    rb_define_module_function(mMpfc, "WSGFsetDefaultEncoding", VALUEFUNC(_wrap_WSGFsetDefaultEncoding), -1);
    rb_define_module_function(mMpfc, "WSGFgettext", VALUEFUNC(_wrap_WSGFgettext), -1);
    rb_define_module_function(mMpfc, "WSGFimage", VALUEFUNC(_wrap_WSGFimage), -1);
    
    cWSDcolor.klass = rb_define_class_under(mMpfc, "WSDcolor", rb_cObject);
    SWIG_TypeClientData(SWIGTYPE_p_WSDcolor, (void *) &cWSDcolor);
    rb_define_singleton_method(cWSDcolor.klass, "new", VALUEFUNC(_wrap_WSDcolor_allocate), -1);
    rb_define_method(cWSDcolor.klass, "initialize", VALUEFUNC(_wrap_new_WSDcolor), -1);
    rb_define_method(cWSDcolor.klass, "getColorName", VALUEFUNC(_wrap_WSDcolor_getColorName), -1);
    rb_define_method(cWSDcolor.klass, "getUsePrivateCell", VALUEFUNC(_wrap_WSDcolor_getUsePrivateCell), -1);
    rb_define_method(cWSDcolor.klass, "setUsePrivateCell", VALUEFUNC(_wrap_WSDcolor_setUsePrivateCell), -1);
    rb_define_method(cWSDcolor.klass, "getRGB", VALUEFUNC(_wrap_WSDcolor_getRGB), -1);
    rb_define_method(cWSDcolor.klass, "setColorName", VALUEFUNC(_wrap_WSDcolor_setColorName), -1);
    cWSDcolor.mark = 0;
    cWSDcolor.destroy = (void (*)(void *)) free_WSDcolor;
    
    cWSCcolorSet.klass = rb_define_class_under(mMpfc, "WSCcolorSet", rb_cObject);
    SWIG_TypeClientData(SWIGTYPE_p_WSCcolorSet, (void *) &cWSCcolorSet);
    rb_define_singleton_method(cWSCcolorSet.klass, "new", VALUEFUNC(_wrap_WSCcolorSet_allocate), -1);
    rb_define_method(cWSCcolorSet.klass, "initialize", VALUEFUNC(_wrap_new_WSCcolorSet), -1);
    rb_define_method(cWSCcolorSet.klass, "getColor", VALUEFUNC(_wrap_WSCcolorSet_getColor), -1);
    rb_define_method(cWSCcolorSet.klass, "getColorName", VALUEFUNC(_wrap_WSCcolorSet_getColorName), -1);
    cWSCcolorSet.mark = 0;
    cWSCcolorSet.destroy = (void (*)(void *)) free_WSCcolorSet;
    rb_define_module_function(mMpfc, "WSGIappColorSet", VALUEFUNC(_wrap_WSGIappColorSet), -1);
    rb_define_module_function(mMpfc, "WSGFindexColor", VALUEFUNC(_wrap_WSGFindexColor), -1);
    rb_define_module_function(mMpfc, "WSGFcolorName", VALUEFUNC(_wrap_WSGFcolorName), -1);
    rb_define_module_function(mMpfc, "WSGFcolor", VALUEFUNC(_wrap_WSGFcolor), -1);
    
    cWSCimageSet.klass = rb_define_class_under(mMpfc, "WSCimageSet", rb_cObject);
    SWIG_TypeClientData(SWIGTYPE_p_WSCimageSet, (void *) &cWSCimageSet);
    rb_define_singleton_method(cWSCimageSet.klass, "new", VALUEFUNC(_wrap_WSCimageSet_allocate), -1);
    rb_define_method(cWSCimageSet.klass, "initialize", VALUEFUNC(_wrap_new_WSCimageSet), -1);
    rb_define_method(cWSCimageSet.klass, "getImageNo", VALUEFUNC(_wrap_WSCimageSet_getImageNo), -1);
    rb_define_method(cWSCimageSet.klass, "getImage", VALUEFUNC(_wrap_WSCimageSet_getImage), -1);
    rb_define_method(cWSCimageSet.klass, "getImageName", VALUEFUNC(_wrap_WSCimageSet_getImageName), -1);
    rb_define_method(cWSCimageSet.klass, "destroyImage", VALUEFUNC(_wrap_WSCimageSet_destroyImage), -1);
    rb_define_method(cWSCimageSet.klass, "destroyAllImage", VALUEFUNC(_wrap_WSCimageSet_destroyAllImage), -1);
    cWSCimageSet.mark = 0;
    cWSCimageSet.destroy = (void (*)(void *)) free_WSCimageSet;
    rb_define_module_function(mMpfc, "WSGIappImageSet", VALUEFUNC(_wrap_WSGIappImageSet), -1);
    rb_define_module_function(mMpfc, "WSGFimageName", VALUEFUNC(_wrap_WSGFimageName), -1);
    
    cWSDfont.klass = rb_define_class_under(mMpfc, "WSDfont", rb_cObject);
    SWIG_TypeClientData(SWIGTYPE_p_WSDfont, (void *) &cWSDfont);
    rb_define_singleton_method(cWSDfont.klass, "new", VALUEFUNC(_wrap_WSDfont_allocate), -1);
    rb_define_method(cWSDfont.klass, "initialize", VALUEFUNC(_wrap_new_WSDfont), -1);
    rb_define_method(cWSDfont.klass, "getFontHeight", VALUEFUNC(_wrap_WSDfont_getFontHeight), -1);
    rb_define_method(cWSDfont.klass, "setFontName", VALUEFUNC(_wrap_WSDfont_setFontName), -1);
    rb_define_method(cWSDfont.klass, "getFontName", VALUEFUNC(_wrap_WSDfont_getFontName), -1);
    rb_define_method(cWSDfont.klass, "getStringWidth", VALUEFUNC(_wrap_WSDfont_getStringWidth), -1);
    rb_define_method(cWSDfont.klass, "getStringHeight", VALUEFUNC(_wrap_WSDfont_getStringHeight), -1);
    cWSDfont.mark = 0;
    cWSDfont.destroy = (void (*)(void *)) free_WSDfont;
    
    cWSCfontSet.klass = rb_define_class_under(mMpfc, "WSCfontSet", rb_cObject);
    SWIG_TypeClientData(SWIGTYPE_p_WSCfontSet, (void *) &cWSCfontSet);
    rb_define_singleton_method(cWSCfontSet.klass, "new", VALUEFUNC(_wrap_WSCfontSet_allocate), -1);
    rb_define_method(cWSCfontSet.klass, "initialize", VALUEFUNC(_wrap_new_WSCfontSet), -1);
    rb_define_method(cWSCfontSet.klass, "getFont", VALUEFUNC(_wrap_WSCfontSet_getFont), -1);
    rb_define_method(cWSCfontSet.klass, "getStringWidth", VALUEFUNC(_wrap_WSCfontSet_getStringWidth), -1);
    rb_define_method(cWSCfontSet.klass, "getStringHeight", VALUEFUNC(_wrap_WSCfontSet_getStringHeight), -1);
    rb_define_method(cWSCfontSet.klass, "setDefaultFont", VALUEFUNC(_wrap_WSCfontSet_setDefaultFont), -1);
    rb_define_method(cWSCfontSet.klass, "getDefaultFontNo", VALUEFUNC(_wrap_WSCfontSet_getDefaultFontNo), -1);
    rb_define_method(cWSCfontSet.klass, "getDefaultFont", VALUEFUNC(_wrap_WSCfontSet_getDefaultFont), -1);
    cWSCfontSet.mark = 0;
    cWSCfontSet.destroy = (void (*)(void *)) free_WSCfontSet;
    rb_define_module_function(mMpfc, "WSGIappFontSet", VALUEFUNC(_wrap_WSGIappFontSet), -1);
    rb_define_module_function(mMpfc, "WSGFdestroyPixmap", VALUEFUNC(_wrap_WSGFdestroyPixmap), -1);
    rb_define_module_function(mMpfc, "WSGIappMessageDialog", VALUEFUNC(_wrap_WSGIappMessageDialog), -1);
    
    cWSCbaseList.klass = rb_define_class_under(mMpfc, "WSCbaseList", rb_cObject);
    SWIG_TypeClientData(SWIGTYPE_p_WSCbaseList, (void *) &cWSCbaseList);
    rb_define_singleton_method(cWSCbaseList.klass, "new", VALUEFUNC(_wrap_WSCbaseList_allocate), -1);
    rb_define_method(cWSCbaseList.klass, "initialize", VALUEFUNC(_wrap_new_WSCbaseList), -1);
    rb_define_method(cWSCbaseList.klass, "getInstance", VALUEFUNC(_wrap_WSCbaseList_getInstance), -1);
    rb_define_method(cWSCbaseList.klass, "getClassList", VALUEFUNC(_wrap_WSCbaseList_getClassList), -1);
    rb_define_method(cWSCbaseList.klass, "addClient", VALUEFUNC(_wrap_WSCbaseList_addClient), -1);
    rb_define_method(cWSCbaseList.klass, "delClient", VALUEFUNC(_wrap_WSCbaseList_delClient), -1);
    rb_define_method(cWSCbaseList.klass, "countObject", VALUEFUNC(_wrap_WSCbaseList_countObject), -1);
    rb_define_method(cWSCbaseList.klass, "addNeedUpdate", VALUEFUNC(_wrap_WSCbaseList_addNeedUpdate), -1);
    rb_define_method(cWSCbaseList.klass, "addNeedInitialize", VALUEFUNC(_wrap_WSCbaseList_addNeedInitialize), -1);
    rb_define_method(cWSCbaseList.klass, "execUpdate", VALUEFUNC(_wrap_WSCbaseList_execUpdate), -1);
    rb_define_method(cWSCbaseList.klass, "execInitialize", VALUEFUNC(_wrap_WSCbaseList_execInitialize), -1);
    rb_define_method(cWSCbaseList.klass, "setUserData", VALUEFUNC(_wrap_WSCbaseList_setUserData), -1);
    rb_define_method(cWSCbaseList.klass, "getUserData", VALUEFUNC(_wrap_WSCbaseList_getUserData), -1);
    rb_define_method(cWSCbaseList.klass, "getInstanceList", VALUEFUNC(_wrap_WSCbaseList_getInstanceList), -1);
    rb_define_method(cWSCbaseList.klass, "getRemoteInstance", VALUEFUNC(_wrap_WSCbaseList_getRemoteInstance), -1);
    rb_define_method(cWSCbaseList.klass, "setSearchInstanceHandler", VALUEFUNC(_wrap_WSCbaseList_setSearchInstanceHandler), -1);
    rb_define_method(cWSCbaseList.klass, "searchInstance", VALUEFUNC(_wrap_WSCbaseList_searchInstance), -1);
    rb_define_method(cWSCbaseList.klass, "existInstance", VALUEFUNC(_wrap_WSCbaseList_existInstance), -1);
    rb_define_method(cWSCbaseList.klass, "addEvent", VALUEFUNC(_wrap_WSCbaseList_addEvent), -1);
    rb_define_method(cWSCbaseList.klass, "delEvent", VALUEFUNC(_wrap_WSCbaseList_delEvent), -1);
    rb_define_method(cWSCbaseList.klass, "execEvent", VALUEFUNC(_wrap_WSCbaseList_execEvent), -1);
    rb_define_method(cWSCbaseList.klass, "addRemoteInstanceData", VALUEFUNC(_wrap_WSCbaseList_addRemoteInstanceData), -1);
    rb_define_method(cWSCbaseList.klass, "delRemoteInstanceData", VALUEFUNC(_wrap_WSCbaseList_delRemoteInstanceData), -1);
    rb_define_method(cWSCbaseList.klass, "getRemoteInstanceListUpdated", VALUEFUNC(_wrap_WSCbaseList_getRemoteInstanceListUpdated), -1);
    rb_define_method(cWSCbaseList.klass, "setRemoteInstanceListUpdated", VALUEFUNC(_wrap_WSCbaseList_setRemoteInstanceListUpdated), -1);
    rb_define_method(cWSCbaseList.klass, "addExportInstanceList", VALUEFUNC(_wrap_WSCbaseList_addExportInstanceList), -1);
    rb_define_method(cWSCbaseList.klass, "delExportInstanceList", VALUEFUNC(_wrap_WSCbaseList_delExportInstanceList), -1);
    rb_define_method(cWSCbaseList.klass, "addExportInstanceUpdateList", VALUEFUNC(_wrap_WSCbaseList_addExportInstanceUpdateList), -1);
    rb_define_method(cWSCbaseList.klass, "delExportInstanceUpdateList", VALUEFUNC(_wrap_WSCbaseList_delExportInstanceUpdateList), -1);
    rb_define_method(cWSCbaseList.klass, "addExportInstanceDeleteList", VALUEFUNC(_wrap_WSCbaseList_addExportInstanceDeleteList), -1);
    rb_define_method(cWSCbaseList.klass, "delExportInstanceDeleteList", VALUEFUNC(_wrap_WSCbaseList_delExportInstanceDeleteList), -1);
    rb_define_method(cWSCbaseList.klass, "getExportInstanceDeleteList", VALUEFUNC(_wrap_WSCbaseList_getExportInstanceDeleteList), -1);
    rb_define_method(cWSCbaseList.klass, "getExportInstanceUpdateList", VALUEFUNC(_wrap_WSCbaseList_getExportInstanceUpdateList), -1);
    rb_define_method(cWSCbaseList.klass, "getExportInstanceList", VALUEFUNC(_wrap_WSCbaseList_getExportInstanceList), -1);
    rb_define_method(cWSCbaseList.klass, "getRemoteInstanceData", VALUEFUNC(_wrap_WSCbaseList_getRemoteInstanceData), -1);
    rb_define_method(cWSCbaseList.klass, "getRemoteInstanceList", VALUEFUNC(_wrap_WSCbaseList_getRemoteInstanceList), -1);
    cWSCbaseList.mark = 0;
    cWSCbaseList.destroy = (void (*)(void *)) free_WSCbaseList;
    rb_define_module_function(mMpfc, "WSGIappObjectList", VALUEFUNC(_wrap_WSGIappObjectList), -1);
    rb_define_const(mMpfc,"WS_MOUSE_SHIFT", INT2NUM((1<<0)));
    rb_define_const(mMpfc,"WS_MOUSE_LOCK", INT2NUM((1<<1)));
    rb_define_const(mMpfc,"WS_MOUSE_CONTROL", INT2NUM((1<<2)));
    rb_define_const(mMpfc,"WS_MOUSE_MOD", INT2NUM((1<<3)));
    rb_define_const(mMpfc,"WS_MOUSE_BTN1", INT2NUM((1<<8)));
    rb_define_const(mMpfc,"WS_MOUSE_BTN2", INT2NUM((1<<9)));
    rb_define_const(mMpfc,"WS_MOUSE_BTN3", INT2NUM((1<<10)));
    rb_define_const(mMpfc,"WS_MOUSE_BTN4", INT2NUM((1<<11)));
    rb_define_const(mMpfc,"WS_MOUSE_BTN5", INT2NUM((1<<12)));
    rb_define_const(mMpfc,"WS_READ", INT2NUM(0));
    rb_define_const(mMpfc,"WS_WRITE", INT2NUM(1));
    rb_define_const(mMpfc,"WS_RW", INT2NUM(2));
    rb_define_const(mMpfc,"WS_SHADOW_OUT", INT2NUM((0)));
    rb_define_const(mMpfc,"WS_SHADOW_IN", INT2NUM((1)));
    rb_define_const(mMpfc,"WS_SHADOW_EOUT", INT2NUM((2)));
    rb_define_const(mMpfc,"WS_SHADOW_EIN", INT2NUM((3)));
    rb_define_const(mMpfc,"WS_SHADOW_BORDER", INT2NUM((4)));
    rb_define_const(mMpfc,"WS_LEFT", INT2NUM(0));
    rb_define_const(mMpfc,"WS_RIGHT", INT2NUM(1));
    rb_define_const(mMpfc,"WS_CENTER", INT2NUM(2));
    rb_define_const(mMpfc,"WS_UP", INT2NUM(3));
    rb_define_const(mMpfc,"WS_TOP", INT2NUM(3));
    rb_define_const(mMpfc,"WS_DOWN", INT2NUM(4));
    rb_define_const(mMpfc,"WS_BOTTOM", INT2NUM(4));
    rb_define_const(mMpfc,"WS_LEFT_TOP", INT2NUM(5));
    rb_define_const(mMpfc,"WS_LEFT_BOTTOM", INT2NUM(6));
    rb_define_const(mMpfc,"WS_RIGHT_TOP", INT2NUM(7));
    rb_define_const(mMpfc,"WS_RIGHT_BOTTOM", INT2NUM(8));
    rb_define_const(mMpfc,"WS_RET", INT2NUM(9));
    rb_define_const(mMpfc,"WS_TAB", INT2NUM(11));
    rb_define_const(mMpfc,"WS_STAB", INT2NUM(12));
    rb_define_const(mMpfc,"WS_NO_ERR", INT2NUM(0));
    rb_define_const(mMpfc,"WS_OK", INT2NUM(0));
    rb_define_const(mMpfc,"WS_ERR", INT2NUM(-1));
    rb_define_const(mMpfc,"WS_REMOTE_CALL_FAILED", INT2NUM(-1));
    rb_define_const(mMpfc,"False", INT2NUM(0));
    rb_define_const(mMpfc,"True", INT2NUM(1));
    rb_define_const(mMpfc,"WSTlong", INT2NUM(0));
    rb_define_const(mMpfc,"WSTulong", INT2NUM(1));
    rb_define_const(mMpfc,"WSTshort", INT2NUM(2));
    rb_define_const(mMpfc,"WSTushort", INT2NUM(3));
    rb_define_const(mMpfc,"WSTchar", INT2NUM(4));
    rb_define_const(mMpfc,"WSTuchar", INT2NUM(5));
    rb_define_const(mMpfc,"WSTfloat", INT2NUM(6));
    rb_define_const(mMpfc,"WSTdouble", INT2NUM(7));
    rb_define_const(mMpfc,"WSTvoidptr", INT2NUM(8));
    rb_define_const(mMpfc,"WSTcharptr", INT2NUM(9));
    rb_define_const(mMpfc,"WSTvoid", INT2NUM(10));
    rb_define_const(mMpfc,"WSTbool", INT2NUM(11));
    rb_define_const(mMpfc,"WSTint", INT2NUM(12));
    rb_define_const(mMpfc,"WSTuint", INT2NUM(13));
    rb_define_const(mMpfc,"WSEV_HASH_MAX_NUM", INT2NUM(32));
    rb_define_const(mMpfc,"WSEV_NONE", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_BackSpace", INT2NUM(0x08));
    rb_define_const(mMpfc,"WSK_Tab", INT2NUM(0x09));
    rb_define_const(mMpfc,"WSK_Linefeed", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_Clear", INT2NUM(0x0C));
    rb_define_const(mMpfc,"WSK_Return", INT2NUM(0x0D));
    rb_define_const(mMpfc,"WSK_Pause", INT2NUM(0x13));
    rb_define_const(mMpfc,"WSK_Scroll_Lock", INT2NUM(0x91));
    rb_define_const(mMpfc,"WSK_Sys_Req", INT2NUM(0x2C));
    rb_define_const(mMpfc,"WSK_Escape", INT2NUM(0x1B));
    rb_define_const(mMpfc,"WSK_Delete", INT2NUM(0x2E));
    rb_define_const(mMpfc,"WSK_Kanji", INT2NUM(0x19));
    rb_define_const(mMpfc,"WSK_Muhenkan", INT2NUM(0x1d));
    rb_define_const(mMpfc,"WSK_Henkan_Mode", INT2NUM(0x1c));
    rb_define_const(mMpfc,"WSK_Henkan", INT2NUM(0x1c));
    rb_define_const(mMpfc,"WSK_Romaji", INT2NUM(0xF2));
    rb_define_const(mMpfc,"WSK_Hiragana", INT2NUM(0xF2));
    rb_define_const(mMpfc,"WSK_Katakana", INT2NUM(0xF2));
    rb_define_const(mMpfc,"WSK_Hiragana_Katakana", INT2NUM(0xF2));
    rb_define_const(mMpfc,"WSK_Zenkaku", INT2NUM(0xF4));
    rb_define_const(mMpfc,"WSK_Hankaku", INT2NUM(0xF3));
    rb_define_const(mMpfc,"WSK_Zenkaku_Hankaku", INT2NUM(0xF4));
    rb_define_const(mMpfc,"WSK_Touroku", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_Massyo", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_Kana_Lock", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_Kana_Shift", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_Eisu_Shift", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_Eisu_toggle", INT2NUM(0xF0));
    rb_define_const(mMpfc,"WSK_Home", INT2NUM(0x24));
    rb_define_const(mMpfc,"WSK_Left", INT2NUM(0x25));
    rb_define_const(mMpfc,"WSK_Up", INT2NUM(0x26));
    rb_define_const(mMpfc,"WSK_Right", INT2NUM(0x27));
    rb_define_const(mMpfc,"WSK_Down", INT2NUM(0x28));
    rb_define_const(mMpfc,"WSK_Prior", INT2NUM(0x21));
    rb_define_const(mMpfc,"WSK_Page_Up", INT2NUM(0x21));
    rb_define_const(mMpfc,"WSK_Page_Down", INT2NUM(0x22));
    rb_define_const(mMpfc,"WSK_End", INT2NUM(0x23));
    rb_define_const(mMpfc,"WSK_Print", INT2NUM(0x2C));
    rb_define_const(mMpfc,"WSK_Execute", INT2NUM(0x2B));
    rb_define_const(mMpfc,"WSK_Insert", INT2NUM(0x2D));
    rb_define_const(mMpfc,"WSK_Cancel", INT2NUM(0x03));
    rb_define_const(mMpfc,"WSK_Help", INT2NUM(0x2F));
    rb_define_const(mMpfc,"WSK_Break", INT2NUM(0x03));
    rb_define_const(mMpfc,"WSK_Num_Lock", INT2NUM(0x90));
    rb_define_const(mMpfc,"WSK_KP_Space", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_KP_Tab", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_KP_Enter", INT2NUM(0x0D));
    rb_define_const(mMpfc,"WSK_KP_F1", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_KP_F2", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_KP_F3", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_KP_F4", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_KP_Home", INT2NUM(0x24));
    rb_define_const(mMpfc,"WSK_KP_Left", INT2NUM(0x25));
    rb_define_const(mMpfc,"WSK_KP_Up", INT2NUM(0x26));
    rb_define_const(mMpfc,"WSK_KP_Right", INT2NUM(0x27));
    rb_define_const(mMpfc,"WSK_KP_Down", INT2NUM(0x28));
    rb_define_const(mMpfc,"WSK_KP_Prior", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_KP_Page_Up", INT2NUM(0x21));
    rb_define_const(mMpfc,"WSK_KP_Next", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_KP_Page_Down", INT2NUM(0x22));
    rb_define_const(mMpfc,"WSK_KP_End", INT2NUM(0x23));
    rb_define_const(mMpfc,"WSK_KP_Begin", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_KP_Insert", INT2NUM(0x2D));
    rb_define_const(mMpfc,"WSK_KP_Delete", INT2NUM(0x2E));
    rb_define_const(mMpfc,"WSK_KP_Equal", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_KP_Multiply", INT2NUM(0x6A));
    rb_define_const(mMpfc,"WSK_KP_Add", INT2NUM(0x6B));
    rb_define_const(mMpfc,"WSK_KP_Separator", INT2NUM(0x6C));
    rb_define_const(mMpfc,"WSK_KP_Subtract", INT2NUM(0x6D));
    rb_define_const(mMpfc,"WSK_KP_Decimal", INT2NUM(0x6E));
    rb_define_const(mMpfc,"WSK_KP_Divide", INT2NUM(0x6F));
    rb_define_const(mMpfc,"WSK_KP_0", INT2NUM(0x60));
    rb_define_const(mMpfc,"WSK_KP_1", INT2NUM(0x61));
    rb_define_const(mMpfc,"WSK_KP_2", INT2NUM(0x62));
    rb_define_const(mMpfc,"WSK_KP_3", INT2NUM(0x63));
    rb_define_const(mMpfc,"WSK_KP_4", INT2NUM(0x64));
    rb_define_const(mMpfc,"WSK_KP_5", INT2NUM(0x65));
    rb_define_const(mMpfc,"WSK_KP_6", INT2NUM(0x66));
    rb_define_const(mMpfc,"WSK_KP_7", INT2NUM(0x67));
    rb_define_const(mMpfc,"WSK_KP_8", INT2NUM(0x68));
    rb_define_const(mMpfc,"WSK_KP_9", INT2NUM(0x69));
    rb_define_const(mMpfc,"WSK_F1", INT2NUM(0x70));
    rb_define_const(mMpfc,"WSK_F2", INT2NUM(0x71));
    rb_define_const(mMpfc,"WSK_F3", INT2NUM(0x72));
    rb_define_const(mMpfc,"WSK_F4", INT2NUM(0x73));
    rb_define_const(mMpfc,"WSK_F5", INT2NUM(0x74));
    rb_define_const(mMpfc,"WSK_F6", INT2NUM(0x75));
    rb_define_const(mMpfc,"WSK_F7", INT2NUM(0x76));
    rb_define_const(mMpfc,"WSK_F8", INT2NUM(0x77));
    rb_define_const(mMpfc,"WSK_F9", INT2NUM(0x78));
    rb_define_const(mMpfc,"WSK_F10", INT2NUM(0x79));
    rb_define_const(mMpfc,"WSK_F11", INT2NUM(0x7A));
    rb_define_const(mMpfc,"WSK_L1", INT2NUM(0x7A));
    rb_define_const(mMpfc,"WSK_F12", INT2NUM(0x7B));
    rb_define_const(mMpfc,"WSK_L2", INT2NUM(0x7B));
    rb_define_const(mMpfc,"WSK_F13", INT2NUM(0x7C));
    rb_define_const(mMpfc,"WSK_L3", INT2NUM(0x7C));
    rb_define_const(mMpfc,"WSK_F14", INT2NUM(0x7D));
    rb_define_const(mMpfc,"WSK_L4", INT2NUM(0x7D));
    rb_define_const(mMpfc,"WSK_F15", INT2NUM(0x7E));
    rb_define_const(mMpfc,"WSK_L5", INT2NUM(0x7E));
    rb_define_const(mMpfc,"WSK_F16", INT2NUM(0x7F));
    rb_define_const(mMpfc,"WSK_L6", INT2NUM(0x7F));
    rb_define_const(mMpfc,"WSK_F17", INT2NUM(0x80));
    rb_define_const(mMpfc,"WSK_L7", INT2NUM(0x80));
    rb_define_const(mMpfc,"WSK_F18", INT2NUM(0x81));
    rb_define_const(mMpfc,"WSK_L8", INT2NUM(0x81));
    rb_define_const(mMpfc,"WSK_F19", INT2NUM(0x82));
    rb_define_const(mMpfc,"WSK_L9", INT2NUM(0x82));
    rb_define_const(mMpfc,"WSK_F20", INT2NUM(0x83));
    rb_define_const(mMpfc,"WSK_L10", INT2NUM(0x83));
    rb_define_const(mMpfc,"WSK_F21", INT2NUM(0x84));
    rb_define_const(mMpfc,"WSK_R1", INT2NUM(0x84));
    rb_define_const(mMpfc,"WSK_F22", INT2NUM(0x85));
    rb_define_const(mMpfc,"WSK_R2", INT2NUM(0x85));
    rb_define_const(mMpfc,"WSK_F23", INT2NUM(0x86));
    rb_define_const(mMpfc,"WSK_R3", INT2NUM(0x86));
    rb_define_const(mMpfc,"WSK_F24", INT2NUM(0x87));
    rb_define_const(mMpfc,"WSK_R4", INT2NUM(0x87));
    rb_define_const(mMpfc,"WSK_F25", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_R5", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_F26", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_R6", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_F27", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_R7", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_F28", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_R8", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_F29", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_R9", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_F30", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_R10", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_F31", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_R11", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_F32", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_R12", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_F33", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_R13", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_F34", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_R14", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_F35", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_R15", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_Shift_L", INT2NUM(0x10));
    rb_define_const(mMpfc,"WSK_Shift_R", INT2NUM(0x10));
    rb_define_const(mMpfc,"WSK_Control_L", INT2NUM(0x11));
    rb_define_const(mMpfc,"WSK_Control_R", INT2NUM(0x11));
    rb_define_const(mMpfc,"WSK_Caps_Lock", INT2NUM(0x14));
    rb_define_const(mMpfc,"WSK_Shift_Lock", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_Meta_L", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_Meta_R", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_Alt_L", INT2NUM(0x12));
    rb_define_const(mMpfc,"WSK_Alt_R", INT2NUM(0x12));
    rb_define_const(mMpfc,"WSK_Super_L", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_Super_R", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_Hyper_L", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_Hyper_R", INT2NUM(-1));
    rb_define_const(mMpfc,"WSK_space", INT2NUM(0x20));
    rb_define_const(mMpfc,"WSK_exclam", INT2NUM(0x121));
    rb_define_const(mMpfc,"WSK_quotedbl", INT2NUM(0x122));
    rb_define_const(mMpfc,"WSK_numbersign", INT2NUM(0x123));
    rb_define_const(mMpfc,"WSK_dollar", INT2NUM(0x124));
    rb_define_const(mMpfc,"WSK_percent", INT2NUM(0x125));
    rb_define_const(mMpfc,"WSK_ampersand", INT2NUM(0x126));
    rb_define_const(mMpfc,"WSK_apostrophe", INT2NUM(0x127));
    rb_define_const(mMpfc,"WSK_quoteright", INT2NUM(0x127));
    rb_define_const(mMpfc,"WSK_parenleft", INT2NUM(0x128));
    rb_define_const(mMpfc,"WSK_parenright", INT2NUM(0x129));
    rb_define_const(mMpfc,"WSK_asterisk", INT2NUM(0x12a));
    rb_define_const(mMpfc,"WSK_plus", INT2NUM(0x12b));
    rb_define_const(mMpfc,"WSK_comma", INT2NUM(0x12c));
    rb_define_const(mMpfc,"WSK_minus", INT2NUM(0x12d));
    rb_define_const(mMpfc,"WSK_period", INT2NUM(0x12e));
    rb_define_const(mMpfc,"WSK_slash", INT2NUM(0x12f));
    rb_define_const(mMpfc,"WSK_0", INT2NUM(0x130));
    rb_define_const(mMpfc,"WSK_1", INT2NUM(0x131));
    rb_define_const(mMpfc,"WSK_2", INT2NUM(0x132));
    rb_define_const(mMpfc,"WSK_3", INT2NUM(0x133));
    rb_define_const(mMpfc,"WSK_4", INT2NUM(0x134));
    rb_define_const(mMpfc,"WSK_5", INT2NUM(0x135));
    rb_define_const(mMpfc,"WSK_6", INT2NUM(0x136));
    rb_define_const(mMpfc,"WSK_7", INT2NUM(0x137));
    rb_define_const(mMpfc,"WSK_8", INT2NUM(0x138));
    rb_define_const(mMpfc,"WSK_9", INT2NUM(0x139));
    rb_define_const(mMpfc,"WSK_colon", INT2NUM(0x13a));
    rb_define_const(mMpfc,"WSK_semicolon", INT2NUM(0x13b));
    rb_define_const(mMpfc,"WSK_less", INT2NUM(0x13c));
    rb_define_const(mMpfc,"WSK_equal", INT2NUM(0x13d));
    rb_define_const(mMpfc,"WSK_greater", INT2NUM(0x13e));
    rb_define_const(mMpfc,"WSK_question", INT2NUM(0x13f));
    rb_define_const(mMpfc,"WSK_at", INT2NUM(0x140));
    rb_define_const(mMpfc,"WSK_A", INT2NUM(0x141));
    rb_define_const(mMpfc,"WSK_B", INT2NUM(0x142));
    rb_define_const(mMpfc,"WSK_C", INT2NUM(0x143));
    rb_define_const(mMpfc,"WSK_D", INT2NUM(0x144));
    rb_define_const(mMpfc,"WSK_E", INT2NUM(0x145));
    rb_define_const(mMpfc,"WSK_F", INT2NUM(0x146));
    rb_define_const(mMpfc,"WSK_G", INT2NUM(0x147));
    rb_define_const(mMpfc,"WSK_H", INT2NUM(0x148));
    rb_define_const(mMpfc,"WSK_I", INT2NUM(0x149));
    rb_define_const(mMpfc,"WSK_J", INT2NUM(0x14a));
    rb_define_const(mMpfc,"WSK_K", INT2NUM(0x14b));
    rb_define_const(mMpfc,"WSK_L", INT2NUM(0x14c));
    rb_define_const(mMpfc,"WSK_M", INT2NUM(0x14d));
    rb_define_const(mMpfc,"WSK_N", INT2NUM(0x14e));
    rb_define_const(mMpfc,"WSK_O", INT2NUM(0x14f));
    rb_define_const(mMpfc,"WSK_P", INT2NUM(0x150));
    rb_define_const(mMpfc,"WSK_Q", INT2NUM(0x151));
    rb_define_const(mMpfc,"WSK_R", INT2NUM(0x152));
    rb_define_const(mMpfc,"WSK_S", INT2NUM(0x153));
    rb_define_const(mMpfc,"WSK_T", INT2NUM(0x154));
    rb_define_const(mMpfc,"WSK_U", INT2NUM(0x155));
    rb_define_const(mMpfc,"WSK_V", INT2NUM(0x156));
    rb_define_const(mMpfc,"WSK_W", INT2NUM(0x157));
    rb_define_const(mMpfc,"WSK_X", INT2NUM(0x158));
    rb_define_const(mMpfc,"WSK_Y", INT2NUM(0x159));
    rb_define_const(mMpfc,"WSK_Z", INT2NUM(0x15a));
    rb_define_const(mMpfc,"WSK_bracketleft", INT2NUM(0x15b));
    rb_define_const(mMpfc,"WSK_backslash", INT2NUM(0x15c));
    rb_define_const(mMpfc,"WSK_bracketright", INT2NUM(0x15d));
    rb_define_const(mMpfc,"WSK_asciicircum", INT2NUM(0x15e));
    rb_define_const(mMpfc,"WSK_underscore", INT2NUM(0x15f));
    rb_define_const(mMpfc,"WSK_grave", INT2NUM(0x160));
    rb_define_const(mMpfc,"WSK_quoteleft", INT2NUM(0x160));
    rb_define_const(mMpfc,"WSK_a", INT2NUM(0x161));
    rb_define_const(mMpfc,"WSK_b", INT2NUM(0x162));
    rb_define_const(mMpfc,"WSK_c", INT2NUM(0x163));
    rb_define_const(mMpfc,"WSK_d", INT2NUM(0x164));
    rb_define_const(mMpfc,"WSK_e", INT2NUM(0x165));
    rb_define_const(mMpfc,"WSK_f", INT2NUM(0x166));
    rb_define_const(mMpfc,"WSK_g", INT2NUM(0x167));
    rb_define_const(mMpfc,"WSK_h", INT2NUM(0x168));
    rb_define_const(mMpfc,"WSK_i", INT2NUM(0x169));
    rb_define_const(mMpfc,"WSK_j", INT2NUM(0x16a));
    rb_define_const(mMpfc,"WSK_k", INT2NUM(0x16b));
    rb_define_const(mMpfc,"WSK_l", INT2NUM(0x16c));
    rb_define_const(mMpfc,"WSK_m", INT2NUM(0x16d));
    rb_define_const(mMpfc,"WSK_n", INT2NUM(0x16e));
    rb_define_const(mMpfc,"WSK_o", INT2NUM(0x16f));
    rb_define_const(mMpfc,"WSK_p", INT2NUM(0x170));
    rb_define_const(mMpfc,"WSK_q", INT2NUM(0x171));
    rb_define_const(mMpfc,"WSK_r", INT2NUM(0x172));
    rb_define_const(mMpfc,"WSK_s", INT2NUM(0x173));
    rb_define_const(mMpfc,"WSK_t", INT2NUM(0x174));
    rb_define_const(mMpfc,"WSK_u", INT2NUM(0x175));
    rb_define_const(mMpfc,"WSK_v", INT2NUM(0x176));
    rb_define_const(mMpfc,"WSK_w", INT2NUM(0x177));
    rb_define_const(mMpfc,"WSK_x", INT2NUM(0x178));
    rb_define_const(mMpfc,"WSK_y", INT2NUM(0x179));
    rb_define_const(mMpfc,"WSK_z", INT2NUM(0x17a));
    rb_define_const(mMpfc,"WSK_braceleft", INT2NUM(0x17b));
    rb_define_const(mMpfc,"WSK_bar", INT2NUM(0x17c));
    rb_define_const(mMpfc,"WSK_braceright", INT2NUM(0x17d));
    rb_define_const(mMpfc,"WSK_asciitilde", INT2NUM(0x17e));
}

