/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.21
 * 
 * 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:
    SwigValueWrapper() : tt(0) { }
    SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
    SwigValueWrapper(const T& t) : tt(new T(t)) { }
    ~SwigValueWrapper() { delete tt; } 
    SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
    operator T&() const { return *tt; }
    T *operator&() { return tt; }
private:
    SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
};                                                    
#endif

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

#include "ruby.h"

/* Flags for pointer conversion */
#define SWIG_POINTER_EXCEPTION     0x1
#define SWIG_POINTER_DISOWN        0x2

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

#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;
  VALUE mImpl;
  void  (*mark)(void *);
  void  (*destroy)(void *);
} swig_class;

/* Don't use for expressions have side effect */
#ifndef RB_STRING_VALUE
#define RB_STRING_VALUE(s) (TYPE(s) == T_STRING ? (s) : (*(volatile VALUE *)&(s) = rb_str_to_str(s)))
#endif
#ifndef StringValue
#define StringValue(s) RB_STRING_VALUE(s)
#endif
#ifndef StringValuePtr
#define StringValuePtr(s) RSTRING(RB_STRING_VALUE(s))->ptr
#endif
#ifndef StringValueLen
#define StringValueLen(s) RSTRING(RB_STRING_VALUE(s))->len
#endif
#ifndef SafeStringValue
#define SafeStringValue(v) do {\
    StringValue(v);\
    rb_check_safe_str(v);\
} while (0)
#endif

#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
#define rb_define_alloc_func(klass, func) rb_define_singleton_method((klass), "new", VALUEFUNC((func)), -1)
#define rb_undef_alloc_func(klass) rb_undef_method(CLASS_OF((klass)), "new")
#endif

/* Contract support */

#define SWIG_contract_assert(expr, msg) if (!(expr)) { rb_raise(rb_eRuntimeError, (char *) msg ); } else


/*************************************************************** -*- c -*-
 * ruby/precommon.swg
 *
 * Rename all exported symbols from common.swg, to avoid symbol
 * clashes if multiple interpreters are included
 *
 ************************************************************************/

#define SWIG_TypeRegister    SWIG_Ruby_TypeRegister
#define SWIG_TypeCheck       SWIG_Ruby_TypeCheck
#define SWIG_TypeCast        SWIG_Ruby_TypeCast
#define SWIG_TypeDynamicCast SWIG_Ruby_TypeDynamicCast
#define SWIG_TypeName        SWIG_Ruby_TypeName
#define SWIG_TypeQuery       SWIG_Ruby_TypeQuery
#define SWIG_TypeClientData  SWIG_Ruby_TypeClientData
#define SWIG_PackData        SWIG_Ruby_PackData 
#define SWIG_UnpackData      SWIG_Ruby_UnpackData 

/* Also rename all exported symbols from rubydef.swig */

/* Common SWIG API */
#define SWIG_ConvertPtr(obj, pp, type, flags) \
  SWIG_Ruby_ConvertPtr(obj, pp, type, flags)
#define SWIG_NewPointerObj(p, type, flags) \
  SWIG_Ruby_NewPointerObj(p, type, flags)
#define SWIG_MustGetPtr(p, type, argnum, flags) \
  SWIG_Ruby_MustGetPtr(p, type, argnum, flags)

/* Ruby-specific SWIG API */

#define SWIG_InitRuntime() \
  SWIG_Ruby_InitRuntime()
#define SWIG_define_class(ty) \
  SWIG_Ruby_define_class(ty)
#define SWIG_NewClassInstance(value, ty) \
  SWIG_Ruby_NewClassInstance(value, ty)
#define SWIG_MangleStr(value) \
  SWIG_Ruby_MangleStr(value)
#define SWIG_CheckConvert(value, ty) \
  SWIG_Ruby_CheckConvert(value, ty)
#define SWIG_NewPackedObj(ptr, sz, ty) \
  SWIG_Ruby_NewPackedObj(ptr, sz, ty)
#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
  SWIG_Ruby_ConvertPacked(obj, ptr, sz, ty, flags)


/***********************************************************************
 * 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__) || defined(__CYGWIN__)
#  if defined(_MSC_VER) || defined(__GNUC__)
#    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(const char *)     SWIG_TypeName(const swig_type_info *);
SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
SWIGIMPORT(void)             SWIG_TypeClientData(swig_type_info *, void *);
SWIGIMPORT(char *)           SWIG_PackData(char *, void *, int);
SWIGIMPORT(char *)           SWIG_UnpackData(char *, void *, int);

#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++;
  }
  if (next) next->prev = head;
  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;
      s->prev = ty;
      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;
}

/* Return the name associated with this type */
SWIGRUNTIME(const char *)
SWIG_TypeName(const swig_type_info *ty) {
  return ty->name;
}

/* 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;
  }
}

/* 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;
}

#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_Ruby_InitRuntime(void)
{
    if (_mSWIG == Qnil) {
        _mSWIG = rb_define_module("SWIG");
    }
}

/* Define Ruby class for C type */
SWIGRUNTIME(void)
SWIG_Ruby_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_Ruby_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_Ruby_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_Ruby_MangleStr(VALUE obj)
{
  VALUE stype = rb_iv_get(obj, "__swigtype__");
  return StringValuePtr(stype);
}

/* Convert a pointer value */
SWIGRUNTIME(int)
SWIG_Ruby_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 (*ptr == 0)
            rb_raise(rb_eRuntimeError, "This %s already released", ty->str);
          return 0;
        }
    }
    if ((c = SWIG_MangleStr(obj)) == NULL) {
      if (flags & SWIG_POINTER_EXCEPTION)
        rb_raise(rb_eTypeError, "Expected %s", ty->str);
      else
        return -1;
    }
    tc = SWIG_TypeCheck(c, ty);
    if (!tc) {
      if (flags & SWIG_POINTER_EXCEPTION)
        rb_raise(rb_eTypeError, "Expected %s", ty->str);
      else
        return -1;
    }
    *ptr = SWIG_TypeCast(tc, *ptr);
  }
  return 0;
}

/* Convert a pointer value, signal an exception on a type mismatch */
SWIGRUNTIME(void *)
SWIG_Ruby_MustGetPtr(VALUE obj, swig_type_info *ty, int argnum, int flags)
{
  void *result;
  SWIG_ConvertPtr(obj, &result, ty, flags | SWIG_POINTER_EXCEPTION);
  return result;
}

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

SWIGRUNTIME(VALUE)
SWIG_Ruby_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_Ruby_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 = StringValuePtr(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_WSCdbRecord swig_types[8] 
#define  SWIGTYPE_p_WSCvballoonHelp swig_types[9] 
#define  SWIGTYPE_p_WSDimage swig_types[10] 
#define  SWIGTYPE_p_WSCsform swig_types[11] 
#define  SWIGTYPE_p_WSCcolorSet swig_types[12] 
#define  SWIGTYPE_p_WSCtreeList swig_types[13] 
#define  SWIGTYPE_p_WSCvertForm swig_types[14] 
#define  SWIGTYPE_p_WSCtextField swig_types[15] 
#define  SWIGTYPE_p_WSCfontSet swig_types[16] 
#define  SWIGTYPE_p_WSCvtoggle swig_types[17] 
#define  SWIGTYPE_p_short swig_types[18] 
#define  SWIGTYPE_p_WSDkeyboard swig_types[19] 
#define  SWIGTYPE_p_WSCvbarGraph swig_types[20] 
#define  SWIGTYPE_p_WSDmouse swig_types[21] 
#define  SWIGTYPE_p_WSCvslider swig_types[22] 
#define  SWIGTYPE_p_WSCvlabel swig_types[23] 
#define  SWIGTYPE_p_WSCmenuArea swig_types[24] 
#define  SWIGTYPE_p_WSCvgraphMatrix swig_types[25] 
#define  SWIGTYPE_p_WSCscrForm swig_types[26] 
#define  SWIGTYPE_p_WSCtform swig_types[27] 
#define  SWIGTYPE_p_WSCvrect swig_types[28] 
#define  SWIGTYPE_p_WSCdirTree swig_types[29] 
#define  SWIGTYPE_p_WSCvkslabel swig_types[30] 
#define  SWIGTYPE_p_WSCcheckGroup swig_types[31] 
#define  SWIGTYPE_p_WSCvgraphScale swig_types[32] 
#define  SWIGTYPE_p_WSCulong swig_types[33] 
#define  SWIGTYPE_p_void swig_types[34] 
#define  SWIGTYPE_p_WSClist swig_types[35] 
#define  SWIGTYPE_p_WSClistData swig_types[36] 
#define  SWIGTYPE_p_WSCuchar swig_types[37] 
#define  SWIGTYPE_p_WSCvlineGraph swig_types[38] 
#define  SWIGTYPE_p_WSCvradio swig_types[39] 
#define  SWIGTYPE_p_WSCvclock swig_types[40] 
#define  SWIGTYPE_p_WSCbaseList swig_types[41] 
#define  SWIGTYPE_p_WSCworkingDialog swig_types[42] 
#define  SWIGTYPE_p_WSCmessageDialog swig_types[43] 
#define  SWIGTYPE_p_WSCbaseDialog swig_types[44] 
#define  SWIGTYPE_p_WSCvremoteClient swig_types[45] 
#define  SWIGTYPE_p_WSCverbList swig_types[46] 
#define  SWIGTYPE_p_WSCpoint swig_types[47] 
#define  SWIGTYPE_p_WSDfont swig_types[48] 
#define  SWIGTYPE_p_long swig_types[49] 
#define  SWIGTYPE_p_WSCvpolyAttr swig_types[50] 
#define  SWIGTYPE_p_WSCvudpsocket swig_types[51] 
#define  SWIGTYPE_p_WSCbool swig_types[52] 
#define  SWIGTYPE_p_WSCvdrawingArea swig_types[53] 
#define  SWIGTYPE_p_WSCfform swig_types[54] 
#define  SWIGTYPE_p_WSCbase swig_types[55] 
#define  SWIGTYPE_p_WSCcomboBox swig_types[56] 
#define  SWIGTYPE_p_WSCvline swig_types[57] 
#define  SWIGTYPE_p_WSCvifield swig_types[58] 
#define  SWIGTYPE_p_WSCvpifield swig_types[59] 
#define  SWIGTYPE_p_WSCnwbase swig_types[60] 
#define  SWIGTYPE_p_WSCprform swig_types[61] 
#define  SWIGTYPE_p_WSCvklabel swig_types[62] 
#define  SWIGTYPE_p_WSCvfbtn swig_types[63] 
#define  SWIGTYPE_p_WSCrect swig_types[64] 
#define  SWIGTYPE_p_WSCvremoteServer swig_types[65] 
#define  SWIGTYPE_p_WSDappDev swig_types[66] 
#define  SWIGTYPE_p_WSChorzForm swig_types[67] 
#define  SWIGTYPE_p_WSCvdb swig_types[68] 
#define  SWIGTYPE_p_WSCmainWindow swig_types[69] 
#define  SWIGTYPE_p_WSCwindow swig_types[70] 
#define  SWIGTYPE_p_WSCstring swig_types[71] 
#define  SWIGTYPE_p_WSCvbtn swig_types[72] 
#define  SWIGTYPE_p_WSCwizardDialog swig_types[73] 
#define  SWIGTYPE_p_WSCinputDialog swig_types[74] 
#define  SWIGTYPE_p_WSCdialog swig_types[75] 
#define  SWIGTYPE_p_WSCvmeter swig_types[76] 
#define  SWIGTYPE_p_WSCradioGroup swig_types[77] 
#define  SWIGTYPE_p_WSCindexForm swig_types[78] 
#define  SWIGTYPE_p_WSCoption swig_types[79] 
#define  SWIGTYPE_p_WSCgrid swig_types[80] 
#define  SWIGTYPE_p_WSCvarrow swig_types[81] 
#define  SWIGTYPE_p_WSCvkflabel swig_types[82] 
#define  SWIGTYPE_p_WSCngbase swig_types[83] 
#define  SWIGTYPE_p_WSCsheet swig_types[84] 
#define  SWIGTYPE_p_WSCj3wform swig_types[85] 
#define  SWIGTYPE_p_WSCimageSet swig_types[86] 
#define  SWIGTYPE_p_WSCvspace swig_types[87] 
#define  SWIGTYPE_p_WSCvscrBar swig_types[88] 
#define  SWIGTYPE_p_WSCvarc swig_types[89] 
#define  SWIGTYPE_p_WSCfileSelect swig_types[90] 
#define  SWIGTYPE_p_WSCvssocket swig_types[91] 
#define  SWIGTYPE_p_WSCvcsocket swig_types[92] 
#define  SWIGTYPE_p_WSDcolor swig_types[93] 
#define  SWIGTYPE_p_WSCform swig_types[94] 
static swig_type_info *swig_types[96];

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

#define SWIG_init    Init_mpfc
#define SWIG_name    "Mpfc"

VALUE mMpfc;

#ifdef __cplusplus
extern "C" {
#endif
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
struct timeval rb_time_timeval(VALUE);
#endif
#ifdef __cplusplus
}
#endif


#ifdef __cplusplus
extern "C" {
#endif
#include "rubyio.h"
#ifdef __cplusplus
}
#endif


#include "mpfc.h"


swig_class cWSCpoint;
static void free_WSCpoint(WSCpoint *);

swig_class cWSCrect;
static void free_WSCrect(WSCrect *);
char *WSCstring___str__(WSCstring *self){ return self->getString(-2); }
bool WSCstring___eq__(WSCstring *self,WSCstring const &str){ return (*self == str) ? true : false; }

swig_class cWSCstring;
static void free_WSCstring(WSCstring *);
long WSCvariant___int__(WSCvariant *self){ return self->getLong(); }
double WSCvariant___float__(WSCvariant *self){ return self->getDouble(); }
char *WSCvariant___str__(WSCvariant *self){ return self->getCharPtr(); }
bool WSCvariant_to_bool(WSCvariant *self){ return self->getUnsignedChar() ? true : false; }

swig_class cWSCvariant;
static void free_WSCvariant(WSCvariant *);

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

swig_class cWSCbase;
static void free_WSCbase(WSCbase *);

static VALUE output_helper(VALUE target, VALUE o) {
    if (NIL_P(target)) {
	target = o;
    } else {
	if (TYPE(target) != T_ARRAY) {
	    VALUE o2 = target;
	    target = rb_ary_new();
	    rb_ary_push(target, o2);
	}
	rb_ary_push(target, o);
    }
    return target;
}


swig_class cWSDmouse;
static void free_WSDmouse(WSDmouse *);

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 cWSCdbRecord;
static void free_WSCdbRecord(WSCdbRecord *);

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 cWSCtform;
static void free_WSCtform(WSCtform *);

swig_class cWSCfform;
static void free_WSCfform(WSCfform *);

swig_class cWSCprform;
static void free_WSCprform(WSCprform *);

swig_class cWSCj3wform;
static void free_WSCj3wform(WSCj3wform *);

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 *);

swig_class cWSCdirTree;
static void free_WSCdirTree(WSCdirTree *);
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();

swig_class cWSCsheet;
static void free_WSCsheet(WSCsheet *);
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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCpoint_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCpoint_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCpoint);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCrect_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCrect_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCrect);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 ;
    long arg2 = (long) -2 ;
    WSCstring *result;
    
    if ((argc < 1) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    arg1 = StringValuePtr(argv[0]);
    if (argc > 1) {
        arg2 = NUM2LONG(argv[1]);
    }
    result = (WSCstring *)new WSCstring(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static VALUE
_wrap_new_WSCstring__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCvariant *arg1 = 0 ;
    long arg2 = (long) -2 ;
    WSCstring *result;
    
    if ((argc < 1) || (argc > 2))
    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");
    if (argc > 1) {
        arg2 = NUM2LONG(argv[1]);
    }
    result = (WSCstring *)new WSCstring((WSCvariant const &)*arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCstring_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCstring_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCstring);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        return vresult;
    }
    

static VALUE
_wrap_new_WSCstring__SWIG_2(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[2];
    int ii;
    
    argc = nargs;
    for (ii = 0; (ii < argc) && (ii < 2); ii++) {
        argv[ii] = args[ii];
    }
    if (argc == 0) {
        return _wrap_new_WSCstring__SWIG_2(nargs, args, self);
    }
    if ((argc >= 1) && (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) {
            if (argc <= 1) {
                return _wrap_new_WSCstring__SWIG_1(nargs, args, self);
            }
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_new_WSCstring__SWIG_1(nargs, args, self);
            }
        }
    }
    if ((argc >= 1) && (argc <= 2)) {
        int _v;
        {
            _v = (TYPE(argv[0]) == T_STRING) ? 1 : 0;
        }
        if (_v) {
            if (argc <= 1) {
                return _wrap_new_WSCstring__SWIG_0(nargs, args, self);
            }
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 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 = StringValuePtr(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_WSCstring___str__(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 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_WSCstring, 1);
    result = (char *)WSCstring___str__(arg1);
    
    vresult = rb_str_new2(result);
    return vresult;
}


static VALUE
_wrap_WSCstring_getChars(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 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_WSCstring, 1);
    result = (long)(arg1)->getChars();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCstring_getEncoding(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 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_WSCstring, 1);
    result = (long)(arg1)->getEncoding();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCstring_isExist(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 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_WSCstring, 1);
    arg2 = StringValuePtr(argv[0]);
    if (argc > 1) {
        arg3 = NUM2LONG(argv[1]);
    }
    result = (long)(arg1)->isExist((char const *)arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCstring_addString__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 0 ;
    WSCstring *arg2 = 0 ;
    
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCstring, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCstring, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
    (arg1)->addString((WSCstring const &)*arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCstring_addString__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 0 ;
    WSCvariant *arg2 = 0 ;
    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);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCvariant, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
    if (argc > 1) {
        arg3 = NUM2LONG(argv[1]);
    }
    (arg1)->addString((WSCvariant const &)*arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSCstring_addString__SWIG_2(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 = StringValuePtr(argv[0]);
    if (argc > 1) {
        arg3 = NUM2LONG(argv[1]);
    }
    (arg1)->addString((char const *)arg2,arg3);
    
    return Qnil;
}


static VALUE _wrap_WSCstring_addString(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_WSCstring, 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) {
                return _wrap_WSCstring_addString__SWIG_0(nargs, args, self);
            }
        }
    }
    if ((argc >= 2) && (argc <= 3)) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCstring, 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_WSCvariant, 0) != -1)) ? 1 : 0;
            }
            if (_v) {
                if (argc <= 2) {
                    return _wrap_WSCstring_addString__SWIG_1(nargs, args, self);
                }
                {
                    _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0;
                }
                if (_v) {
                    return _wrap_WSCstring_addString__SWIG_1(nargs, args, self);
                }
            }
        }
    }
    if ((argc >= 2) && (argc <= 3)) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCstring, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                if (argc <= 2) {
                    return _wrap_WSCstring_addString__SWIG_2(nargs, args, self);
                }
                {
                    _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0;
                }
                if (_v) {
                    return _wrap_WSCstring_addString__SWIG_2(nargs, args, self);
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCstring_addString'");
    return Qnil;
}


static VALUE
_wrap_WSCstring_cutString(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 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_WSCstring, 1);
    arg2 = NUM2ULONG(argv[0]);
    (arg1)->cutString(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCstring_insertString(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 0 ;
    WSCulong arg2 ;
    WSCstring *arg3 = 0 ;
    
    if ((argc < 2) || (argc > 2))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCstring, 1);
    arg2 = NUM2ULONG(argv[0]);
    SWIG_ConvertPtr(argv[1], (void **) &arg3, SWIGTYPE_p_WSCstring, 1); if (arg3 == NULL) rb_raise(rb_eTypeError, "null reference");
    (arg1)->insertString(arg2,*arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSCstring_deleteChar(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 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_WSCstring, 1);
    arg2 = NUM2ULONG(argv[0]);
    (arg1)->deleteChar(arg2);
    
    return Qnil;
}


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


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


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


static VALUE
_wrap_WSCstring_delString__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 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_WSCstring, 1);
    arg2 = StringValuePtr(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    (arg1)->delString((char const *)arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSCstring_delString__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 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_WSCstring, 1);
    arg2 = StringValuePtr(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    arg4 = NUM2LONG(argv[2]);
    (arg1)->delString((char const *)arg2,arg3,arg4);
    
    return Qnil;
}


static VALUE _wrap_WSCstring_delString(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_WSCstring, 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_WSCstring_delString__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_WSCstring, 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_WSCstring_delString__SWIG_1(nargs, args, self);
                    }
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCstring_delString'");
    return Qnil;
}


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


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


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


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


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


static VALUE
_wrap_WSCstring_getWords__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 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_WSCstring, 1);
    result = (long)(arg1)->getWords();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCstring_getWords__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 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_WSCstring, 1);
    arg2 = StringValuePtr(argv[0]);
    if (argc > 1) {
        arg3 = NUM2LONG(argv[1]);
    }
    result = (long)(arg1)->getWords((char const *)arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCstring_getWords(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 == 1) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCstring, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            return _wrap_WSCstring_getWords__SWIG_0(nargs, args, self);
        }
    }
    if ((argc >= 2) && (argc <= 3)) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCstring, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                if (argc <= 2) {
                    return _wrap_WSCstring_getWords__SWIG_1(nargs, args, self);
                }
                {
                    _v = ((TYPE(argv[2]) == T_FIXNUM) || (TYPE(argv[2]) == T_BIGNUM)) ? 1 : 0;
                }
                if (_v) {
                    return _wrap_WSCstring_getWords__SWIG_1(nargs, args, self);
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCstring_getWords'");
    return Qnil;
}


static VALUE
_wrap_WSCstring_getWordCharPos__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 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_WSCstring, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (long)(arg1)->getWordCharPos(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


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


static VALUE _wrap_WSCstring_getWordCharPos(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 == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCstring, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCstring_getWordCharPos__SWIG_0(nargs, args, self);
            }
        }
    }
    if ((argc >= 3) && (argc <= 4)) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCstring, 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_STRING) ? 1 : 0;
                }
                if (_v) {
                    if (argc <= 3) {
                        return _wrap_WSCstring_getWordCharPos__SWIG_1(nargs, args, self);
                    }
                    {
                        _v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0;
                    }
                    if (_v) {
                        return _wrap_WSCstring_getWordCharPos__SWIG_1(nargs, args, self);
                    }
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCstring_getWordCharPos'");
    return Qnil;
}


static VALUE
_wrap_WSCstring_getWord__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 0 ;
    long arg2 ;
    WSCstring 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_WSCstring, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (arg1)->getWord(arg2);
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


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


static VALUE _wrap_WSCstring_getWord(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 == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCstring, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCstring_getWord__SWIG_0(nargs, args, self);
            }
        }
    }
    if ((argc >= 3) && (argc <= 4)) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCstring, 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_STRING) ? 1 : 0;
                }
                if (_v) {
                    if (argc <= 3) {
                        return _wrap_WSCstring_getWord__SWIG_1(nargs, args, self);
                    }
                    {
                        _v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0;
                    }
                    if (_v) {
                        return _wrap_WSCstring_getWord__SWIG_1(nargs, args, self);
                    }
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCstring_getWord'");
    return Qnil;
}


static VALUE
_wrap_WSCstring__seek_next_line(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 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_WSCstring, 1);
    result = (long)(arg1)->_seek_next_line();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCstring_tell(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 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_WSCstring, 1);
    result = (long)(arg1)->tell();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCstring_seek(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 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_WSCstring, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (long)(arg1)->seek(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCstring_seekEnd(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 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_WSCstring, 1);
    result = (long)(arg1)->seekEnd();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCstring_eof(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 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_WSCstring, 1);
    result = (long)(arg1)->eof();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCstring_getLines(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 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_WSCstring, 1);
    result = (long)(arg1)->getLines();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCstring_gets(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 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_WSCstring, 1);
    result = (arg1)->gets();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCstring___add____SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 0 ;
    WSCstring *arg2 = 0 ;
    WSCstring 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_WSCstring, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCstring, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
    result = (arg1)->operator +((WSCstring const &)*arg2);
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCstring___add____SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 0 ;
    WSCvariant *arg2 = 0 ;
    WSCstring 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_WSCstring, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCvariant, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
    result = (arg1)->operator +((WSCvariant const &)*arg2);
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCstring___add____SWIG_2(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 0 ;
    char *arg2 ;
    WSCstring 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_WSCstring, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (arg1)->operator +((char const *)arg2);
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE _wrap_WSCstring___add__(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_WSCstring, 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) {
                return _wrap_WSCstring___add____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_WSCstring, 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_WSCvariant, 0) != -1)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCstring___add____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_WSCstring, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCstring___add____SWIG_2(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCstring___add__'");
    return Qnil;
}


static VALUE
_wrap_WSCstring___lshift____SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 0 ;
    WSCstring *arg2 = 0 ;
    WSCstring *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_WSCstring, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCstring, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
    {
        WSCstring &_result_ref = (arg1)->operator <<((WSCstring const &)*arg2);
        result = (WSCstring *) &_result_ref;
    }
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCstring,0);
    return vresult;
}


static VALUE
_wrap_WSCstring___lshift____SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 0 ;
    WSCvariant *arg2 = 0 ;
    WSCstring *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_WSCstring, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCvariant, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
    {
        WSCstring &_result_ref = (arg1)->operator <<((WSCvariant const &)*arg2);
        result = (WSCstring *) &_result_ref;
    }
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCstring,0);
    return vresult;
}


static VALUE
_wrap_WSCstring___lshift____SWIG_2(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 0 ;
    char *arg2 ;
    WSCstring *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_WSCstring, 1);
    arg2 = StringValuePtr(argv[0]);
    {
        WSCstring &_result_ref = (arg1)->operator <<((char const *)arg2);
        result = (WSCstring *) &_result_ref;
    }
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCstring,0);
    return vresult;
}


static VALUE
_wrap_WSCstring___lshift____SWIG_3(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 0 ;
    long arg2 ;
    WSCstring *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_WSCstring, 1);
    arg2 = NUM2LONG(argv[0]);
    {
        WSCstring &_result_ref = (arg1)->operator <<(arg2);
        result = (WSCstring *) &_result_ref;
    }
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCstring,0);
    return vresult;
}


static VALUE
_wrap_WSCstring___lshift____SWIG_4(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 0 ;
    double arg2 ;
    WSCstring *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_WSCstring, 1);
    arg2 = (double) NUM2DBL(argv[0]);
    {
        WSCstring &_result_ref = (arg1)->operator <<(arg2);
        result = (WSCstring *) &_result_ref;
    }
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCstring,0);
    return vresult;
}


static VALUE _wrap_WSCstring___lshift__(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_WSCstring, 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) {
                return _wrap_WSCstring___lshift____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_WSCstring, 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_WSCvariant, 0) != -1)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCstring___lshift____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_WSCstring, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCstring___lshift____SWIG_3(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_WSCstring, 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_WSCstring___lshift____SWIG_4(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_WSCstring, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCstring___lshift____SWIG_2(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCstring___lshift__'");
    return Qnil;
}


static VALUE
_wrap_WSCstring___eq__(int argc, VALUE *argv, VALUE self) {
    WSCstring *arg1 = (WSCstring *) 0 ;
    WSCstring *arg2 = 0 ;
    bool 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_WSCstring, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCstring, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
    result = (bool)WSCstring___eq__(arg1,(WSCstring const &)*arg2);
    
    vresult = result ? Qtrue : Qfalse;
    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 = StringValuePtr(argv[0]);
    result = (WSCvariant *)new WSCvariant(arg1);
    DATA_PTR(self) = result;
    return self;
}


static VALUE
_wrap_new_WSCvariant__SWIG_4(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 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_WSCbase, 1);
    result = (WSCvariant *)new WSCvariant(arg1);
    DATA_PTR(self) = result;
    return self;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvariant_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvariant_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvariant);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        return vresult;
    }
    

static VALUE
_wrap_new_WSCvariant__SWIG_5(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_5(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;
        {
            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) {
            return _wrap_new_WSCvariant__SWIG_4(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_getInstancePtr(int argc, VALUE *argv, VALUE self) {
    WSCvariant *arg1 = (WSCvariant *) 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_WSCvariant, 1);
    result = (WSCbase *)(arg1)->getInstancePtr();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCbase,0);
    return vresult;
}


static VALUE
_wrap_WSCvariant___int__(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)WSCvariant___int__(arg1);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCvariant___float__(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)WSCvariant___float__(arg1);
    
    vresult = rb_float_new(result);
    return vresult;
}


static VALUE
_wrap_WSCvariant___str__(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 *)WSCvariant___str__(arg1);
    
    vresult = rb_str_new2(result);
    return vresult;
}


static VALUE
_wrap_WSCvariant_to_bool(int argc, VALUE *argv, VALUE self) {
    WSCvariant *arg1 = (WSCvariant *) 0 ;
    bool 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 = (bool)WSCvariant_to_bool(arg1);
    
    vresult = result ? Qtrue : Qfalse;
    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 = StringValuePtr(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__SWIG_3(int argc, VALUE *argv, VALUE self) {
    WSCvariant *arg1 = (WSCvariant *) 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_WSCvariant, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCbase, 1);
    (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) {
            {
                void *ptr;
                _v = (NIL_P(argv[1]) || (TYPE(argv[1]) == T_DATA && SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_WSCbase, 0) != -1)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCvariant_setValue__SWIG_3(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_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_execInitHandler(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)->execInitHandler();
    
    vresult = INT2NUM(result);
    return vresult;
}


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_exit(int argc, VALUE *argv, VALUE self) {
    WSDappDev *arg1 = (WSDappDev *) 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_WSDappDev, 1);
    arg2 = NUM2LONG(argv[0]);
    (arg1)->exit(arg2);
    
    return Qnil;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSDappDev_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSDappDev_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSDappDev);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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_WSGFdestroyWindow(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (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(argv[0], (void **) &arg1, SWIGTYPE_p_WSCbase, 1);
    result = (long)WSGFdestroyWindow(arg1);
    
    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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCbase_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCbase_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCbase);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(argv[0]);
    arg3 = StringValuePtr(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 ;
    long 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 = StringValuePtr(argv[0]);
    arg3 = NUM2LONG(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 = StringValuePtr(argv[0]);
    arg3 = (double) NUM2DBL(argv[1]);
    result = (WSCbool)(arg1)->setProperty(arg2,arg3);
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCbase_setProperty__SWIG_4(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    bool 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 = StringValuePtr(argv[0]);
    arg3 = RTEST(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 = (argv[2] == Qtrue || argv[2] == Qfalse) ? 1 : 0;
                }
                if (_v) {
                    return _wrap_WSCbase_setProperty__SWIG_4(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 = StringValuePtr(argv[0]);
    arg3 = StringValuePtr(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_getChildInstance(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *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_WSCbase, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (WSCbase *)(arg1)->getChildInstance(arg2);
    
    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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(argv[0]);
    result = (void *)(arg1)->getUserData(arg2);
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void,0);
    return vresult;
}


static VALUE
_wrap_WSCbase_setVariantData__SWIG_0(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 = StringValuePtr(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_setVariantData__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    int 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 = StringValuePtr(argv[0]);
    arg3 = NUM2INT(argv[1]);
    (arg1)->setVariantData(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_setVariantData__SWIG_2(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 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_WSCbase, 1);
    arg2 = StringValuePtr(argv[0]);
    arg3 = StringValuePtr(argv[1]);
    (arg1)->setVariantData(arg2,arg3);
    
    return Qnil;
}


static VALUE
_wrap_WSCbase_setVariantData__SWIG_3(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    double 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 = StringValuePtr(argv[0]);
    arg3 = (double) NUM2DBL(argv[1]);
    (arg1)->setVariantData(arg2,arg3);
    
    return Qnil;
}


static VALUE _wrap_WSCbase_setVariantData(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_setVariantData__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_setVariantData__SWIG_1(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_setVariantData__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_setVariantData__SWIG_2(nargs, args, self);
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCbase_setVariantData'");
    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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(argv[0]);
    SWIG_ConvertPtr(argv[1], (void **) &arg2, SWIGTYPE_p_WSCbase, 1);
    arg3 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSDmouse_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSDmouse_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSDmouse);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        return vresult;
    }
    

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


static VALUE
_wrap_WSDmouse_getMousePosition__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSDmouse *arg1 = (WSDmouse *) 0 ;
    short *arg2 = (short *) 0 ;
    short *arg3 = (short *) 0 ;
    WSCbool result;
    short temp2 ;
    short temp3 ;
    VALUE vresult = Qnil;
    
    arg2 = &temp2;
    arg3 = &temp3;
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDmouse, 1);
    result = (WSCbool)(arg1)->getMousePosition(arg2,arg3);
    
    vresult = UINT2NUM(result);
    {
        VALUE o = INT2NUM((int) (*arg2));
        vresult = output_helper(vresult, o);
    }
    {
        VALUE o = INT2NUM((int) (*arg3));
        vresult = output_helper(vresult, o);
    }
    return vresult;
}


static VALUE
_wrap_WSDmouse_getMousePosition__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSDmouse *arg1 = (WSDmouse *) 0 ;
    short *arg2 = (short *) 0 ;
    short *arg3 = (short *) 0 ;
    WSCbase *arg4 = (WSCbase *) 0 ;
    WSCbool result;
    short temp2 ;
    short temp3 ;
    VALUE vresult = Qnil;
    
    arg2 = &temp2;
    arg3 = &temp3;
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSDmouse, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg4, SWIGTYPE_p_WSCbase, 1);
    result = (WSCbool)(arg1)->getMousePosition(arg2,arg3,arg4);
    
    vresult = UINT2NUM(result);
    {
        VALUE o = INT2NUM((int) (*arg2));
        vresult = output_helper(vresult, o);
    }
    {
        VALUE o = INT2NUM((int) (*arg3));
        vresult = output_helper(vresult, o);
    }
    return vresult;
}


static VALUE _wrap_WSDmouse_getMousePosition(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 == 1) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSDmouse, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            return _wrap_WSDmouse_getMousePosition__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_WSDmouse, 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_WSCbase, 0) != -1)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSDmouse_getMousePosition__SWIG_1(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSDmouse_getMousePosition'");
    return Qnil;
}


static VALUE
_wrap_WSDmouse_getMouseStatus(int argc, VALUE *argv, VALUE self) {
    WSDmouse *arg1 = (WSDmouse *) 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_WSDmouse, 1);
    result = (long)(arg1)->getMouseStatus();
    
    vresult = INT2NUM(result);
    return vresult;
}


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


static VALUE
_wrap_WSDmouse_setMouseCursor(int argc, VALUE *argv, VALUE self) {
    WSDmouse *arg1 = (WSDmouse *) 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_WSDmouse, 1);
    arg2 = NUM2LONG(argv[0]);
    (arg1)->setMouseCursor(arg2);
    
    return Qnil;
}


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


static VALUE
_wrap_WSDmouse_getMouseCursorName(int argc, VALUE *argv, VALUE self) {
    WSDmouse *arg1 = (WSDmouse *) 0 ;
    long 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_WSDmouse, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (char *)(arg1)->getMouseCursorName(arg2);
    
    vresult = rb_str_new2(result);
    return vresult;
}


static VALUE
_wrap_WSDmouse_getMouseCursorId(int argc, VALUE *argv, VALUE self) {
    WSDmouse *arg1 = (WSDmouse *) 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_WSDmouse, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (long)(arg1)->getMouseCursorId(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDmouse_getMouseCursor(int argc, VALUE *argv, VALUE self) {
    WSDmouse *arg1 = (WSDmouse *) 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_WSDmouse, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (long)(arg1)->getMouseCursor(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDmouse_getStatus(int argc, VALUE *argv, VALUE self) {
    WSDmouse *arg1 = (WSDmouse *) 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_WSDmouse, 1);
    result = (WSCulong)(arg1)->getStatus();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDmouse_setStatus(int argc, VALUE *argv, VALUE self) {
    WSDmouse *arg1 = (WSDmouse *) 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_WSDmouse, 1);
    arg2 = NUM2ULONG(argv[0]);
    (arg1)->setStatus(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSDmouse_getTargetBtn(int argc, VALUE *argv, VALUE self) {
    WSDmouse *arg1 = (WSDmouse *) 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_WSDmouse, 1);
    result = (WSCulong)(arg1)->getTargetBtn();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSDmouse_setTargetBtn(int argc, VALUE *argv, VALUE self) {
    WSDmouse *arg1 = (WSDmouse *) 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_WSDmouse, 1);
    arg2 = NUM2ULONG(argv[0]);
    (arg1)->setTargetBtn(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSDmouse_setMouseFocusClient(int argc, VALUE *argv, VALUE self) {
    WSDmouse *arg1 = (WSDmouse *) 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_WSDmouse, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCbase, 1);
    (arg1)->setMouseFocusClient(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSDmouse_getMouseFocusClient(int argc, VALUE *argv, VALUE self) {
    WSDmouse *arg1 = (WSDmouse *) 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_WSDmouse, 1);
    result = (WSCbase *)(arg1)->getMouseFocusClient();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSCbase,0);
    return vresult;
}


static void
free_WSDmouse(WSDmouse *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSGIappMouse(int argc, VALUE *argv, VALUE self) {
    WSDmouse *result;
    VALUE vresult = Qnil;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    result = (WSDmouse *)WSGIappMouse();
    
    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_WSDmouse,0);
    return vresult;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCform_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCform_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCform);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCform *)new WSCform(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCform(WSCform *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCnwbase_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCnwbase_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCnwbase);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCnwbase *)new WSCnwbase(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCnwbase(WSCnwbase *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCngbase_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCngbase_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCngbase);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCngbase *)new WSCngbase(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCngbase(WSCngbase *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvlabel_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvlabel_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvlabel);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvlabel *)new WSCvlabel(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvlabel(WSCvlabel *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvbtn_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvbtn_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvbtn);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvfbtn_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvfbtn_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvfbtn);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvfbtn *)new WSCvfbtn(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvfbtn(WSCvfbtn *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvklabel_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvklabel_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvklabel);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvklabel *)new WSCvklabel(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvklabel(WSCvklabel *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvkflabel_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvkflabel_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvkflabel);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSDkeyboard_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSDkeyboard_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSDkeyboard);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvifield_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvifield_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvifield);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(argv[0]);
    if (argc > 1) {
        arg3 = NUM2LONG(argv[1]);
    }
    (arg1)->addString(arg2,arg3);
    
    return Qnil;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvkslabel_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvkslabel_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvkslabel);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvkslabel *)new WSCvkslabel(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvkslabel(WSCvkslabel *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvmifield_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvmifield_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvmifield);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvmifield *)new WSCvmifield(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvmifield(WSCvmifield *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvpifield_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvpifield_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvpifield);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvpifield *)new WSCvpifield(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvpifield(WSCvpifield *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCtextField_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCtextField_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCtextField);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvarrow_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvarrow_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvarrow);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvarrow *)new WSCvarrow(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvarrow(WSCvarrow *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvscrBar_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvscrBar_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvscrBar);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvpolyAttr_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvpolyAttr_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvpolyAttr);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvpolyAttr *)new WSCvpolyAttr(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvpolyAttr(WSCvpolyAttr *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvmeter_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvmeter_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvmeter);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvmeter *)new WSCvmeter(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvmeter(WSCvmeter *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvclock_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvclock_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvclock);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvclock *)new WSCvclock(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvclock(WSCvclock *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvslider_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvslider_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvslider);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCpulldownMenu_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCpulldownMenu_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCpulldownMenu);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(argv[0]);
    arg3 = StringValuePtr(argv[1]);
    arg4 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCcomboBox_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCcomboBox_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCcomboBox);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCoption_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCoption_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCoption);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCgrid_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCgrid_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCgrid);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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;
    WSCulong temp4 ;
    WSCulong temp5 ;
    VALUE vresult = Qnil;
    
    arg4 = &temp4;
    arg5 = &temp5;
    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 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->getCellNo(arg2,arg3,arg4,arg5);
    
    vresult = INT2NUM(result);
    {
        VALUE o = UINT2NUM((unsigned int) (*arg4));
        vresult = output_helper(vresult, o);
    }
    {
        VALUE o = UINT2NUM((unsigned int) (*arg5));
        vresult = output_helper(vresult, o);
    }
    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 = StringValuePtr(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 = StringValuePtr(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;
    WSCulong temp2 ;
    WSCulong temp3 ;
    VALUE vresult = Qnil;
    
    arg2 = &temp2;
    arg3 = &temp3;
    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)->getFocusedCell(arg2,arg3);
    
    vresult = INT2NUM(result);
    {
        VALUE o = UINT2NUM((unsigned int) (*arg2));
        vresult = output_helper(vresult, o);
    }
    {
        VALUE o = UINT2NUM((unsigned int) (*arg3));
        vresult = output_helper(vresult, o);
    }
    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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvimage_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvimage_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvimage);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvimage *)new WSCvimage(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvimage(WSCvimage *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvrect_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvrect_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvrect);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvrect *)new WSCvrect(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvrect(WSCvrect *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvarc_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvarc_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvarc);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvarc *)new WSCvarc(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvarc(WSCvarc *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvpoly_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvpoly_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvpoly);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvpoly *)new WSCvpoly(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvpoly(WSCvpoly *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvline_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvline_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvline);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvline *)new WSCvline(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvline(WSCvline *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSDimage_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSDimage_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSDimage);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvdrawingArea_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvdrawingArea_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvdrawingArea);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(argv[1]);
    arg4 = StringValuePtr(argv[2]);
    arg5 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvbarGraph_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvbarGraph_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvbarGraph);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvbarGraph *)new WSCvbarGraph(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvbarGraph(WSCvbarGraph *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvlineGraph_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvlineGraph_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvlineGraph);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvlineGraph *)new WSCvlineGraph(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvlineGraph(WSCvlineGraph *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvgraphScale_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvgraphScale_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvgraphScale);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvgraphScale *)new WSCvgraphScale(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvgraphScale(WSCvgraphScale *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvgraphMatrix_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvgraphMatrix_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvgraphMatrix);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvgraphMatrix *)new WSCvgraphMatrix(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvgraphMatrix(WSCvgraphMatrix *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvtimer_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvtimer_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvtimer);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvspace_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvspace_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvspace);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvspace *)new WSCvspace(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvspace(WSCvspace *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvballoonHelp_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvballoonHelp_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvballoonHelp);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvballoonHelp *)new WSCvballoonHelp(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvballoonHelp(WSCvballoonHelp *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvcsocket_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvcsocket_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvcsocket);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvssocket_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvssocket_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvssocket);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvudpsocket_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvudpsocket_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvudpsocket);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvremoteClient_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvremoteClient_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvremoteClient);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvremoteClient *)new WSCvremoteClient(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvremoteClient(WSCvremoteClient *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvremoteServer_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvremoteServer_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvremoteServer);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvremoteServer *)new WSCvremoteServer(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvremoteServer(WSCvremoteServer *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvdb_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvdb_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvdb);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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 = StringValuePtr(argv[0]);
    arg3 = StringValuePtr(argv[1]);
    arg4 = StringValuePtr(argv[2]);
    if (argc > 3) {
        arg5 = StringValuePtr(argv[3]);
    }
    if (argc > 4) {
        arg6 = StringValuePtr(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 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCdbRecord_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCdbRecord_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCdbRecord);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        return vresult;
    }
    

static VALUE
_wrap_new_WSCdbRecord(int argc, VALUE *argv, VALUE self) {
    WSCvdb *arg1 = (WSCvdb *) 0 ;
    WSCdbRecord *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_WSCvdb, 1);
    result = (WSCdbRecord *)new WSCdbRecord(arg1);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCdbRecord(WSCdbRecord *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCdbRecord_open__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 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_WSCdbRecord, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->open((char const *)arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


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


static VALUE _wrap_WSCdbRecord_open(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 == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCdbRecord, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCdbRecord_open__SWIG_0(nargs, args, self);
            }
        }
    }
    if ((argc >= 3) && (argc <= 4)) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCdbRecord, 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) {
                    if (argc <= 3) {
                        return _wrap_WSCdbRecord_open__SWIG_1(nargs, args, self);
                    }
                    {
                        _v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0;
                    }
                    if (_v) {
                        return _wrap_WSCdbRecord_open__SWIG_1(nargs, args, self);
                    }
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCdbRecord_open'");
    return Qnil;
}


static VALUE
_wrap_WSCdbRecord_close(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 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_WSCdbRecord, 1);
    result = (long)(arg1)->close();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCdbRecord_isEOF(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 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_WSCdbRecord, 1);
    result = (WSCbool)(arg1)->isEOF();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCdbRecord_isOpen(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 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_WSCdbRecord, 1);
    result = (WSCbool)(arg1)->isOpen();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCdbRecord_getColValue__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 0 ;
    long arg2 ;
    WSCvariant *arg3 = (WSCvariant *) 0 ;
    long result;
    WSCvariant temp3 ;
    VALUE vresult = Qnil;
    
    {
        arg3 = &temp3; 
    }
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCdbRecord, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (long)(arg1)->getColValue(arg2,arg3);
    
    vresult = INT2NUM(result);
    {
        VALUE o = Qnil;
        WSCvariant *val = new WSCvariant(*arg3);
        o = SWIG_NewPointerObj((void *)val, SWIGTYPE_p_WSCvariant, 1);
        vresult = output_helper(vresult, o);
    }
    return vresult;
}


static VALUE
_wrap_WSCdbRecord_getColValue__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 0 ;
    char *arg2 ;
    WSCvariant *arg3 = (WSCvariant *) 0 ;
    long result;
    WSCvariant temp3 ;
    VALUE vresult = Qnil;
    
    {
        arg3 = &temp3; 
    }
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCdbRecord, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->getColValue((char const *)arg2,arg3);
    
    vresult = INT2NUM(result);
    {
        VALUE o = Qnil;
        WSCvariant *val = new WSCvariant(*arg3);
        o = SWIG_NewPointerObj((void *)val, SWIGTYPE_p_WSCvariant, 1);
        vresult = output_helper(vresult, o);
    }
    return vresult;
}


static VALUE _wrap_WSCdbRecord_getColValue(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_WSCdbRecord, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCdbRecord_getColValue__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_WSCdbRecord, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCdbRecord_getColValue__SWIG_1(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCdbRecord_getColValue'");
    return Qnil;
}


static VALUE
_wrap_WSCdbRecord_setColValue__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 0 ;
    long arg2 ;
    WSCvariant 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_WSCdbRecord, 1);
    arg2 = NUM2LONG(argv[0]);
    {
        WSCvariant * ptr;
        SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_WSCvariant, 1);
        if (ptr) arg3 = *ptr;
    }
    result = (long)(arg1)->setColValue(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCdbRecord_setColValue__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 0 ;
    char *arg2 ;
    WSCvariant 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_WSCdbRecord, 1);
    arg2 = StringValuePtr(argv[0]);
    {
        WSCvariant * ptr;
        SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_WSCvariant, 1);
        if (ptr) arg3 = *ptr;
    }
    result = (long)(arg1)->setColValue((char const *)arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCdbRecord_setColValue(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_WSCdbRecord, 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, SWIGTYPE_p_WSCvariant, 0) != -1)) ? 1 : 0;
                }
                if (_v) {
                    return _wrap_WSCdbRecord_setColValue__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_WSCdbRecord, 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_WSCdbRecord_setColValue__SWIG_1(nargs, args, self);
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCdbRecord_setColValue'");
    return Qnil;
}


static VALUE
_wrap_WSCdbRecord_edit(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 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_WSCdbRecord, 1);
    result = (long)(arg1)->edit();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCdbRecord_update(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 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_WSCdbRecord, 1);
    result = (long)(arg1)->update();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCdbRecord_addnew(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 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_WSCdbRecord, 1);
    result = (long)(arg1)->addnew();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCdbRecord_deleterow(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 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_WSCdbRecord, 1);
    result = (long)(arg1)->deleterow();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCdbRecord_moveNext(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 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_WSCdbRecord, 1);
    result = (long)(arg1)->moveNext();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCdbRecord_movePrevious(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 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_WSCdbRecord, 1);
    result = (long)(arg1)->movePrevious();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCdbRecord_moveFirst(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 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_WSCdbRecord, 1);
    result = (long)(arg1)->moveFirst();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCdbRecord_moveLast(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 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_WSCdbRecord, 1);
    result = (long)(arg1)->moveLast();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCdbRecord_getColIndex(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 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_WSCdbRecord, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->getColIndex((char const *)arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCdbRecord_getColType__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 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_WSCdbRecord, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (long)(arg1)->getColType(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCdbRecord_getColType__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 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_WSCdbRecord, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->getColType((char const *)arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCdbRecord_getColType(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_WSCdbRecord, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCdbRecord_getColType__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_WSCdbRecord, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCdbRecord_getColType__SWIG_1(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCdbRecord_getColType'");
    return Qnil;
}


static VALUE
_wrap_WSCdbRecord_getColLength__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 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_WSCdbRecord, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (long)(arg1)->getColLength(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCdbRecord_getColLength__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 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_WSCdbRecord, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->getColLength((char const *)arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCdbRecord_getColLength(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_WSCdbRecord, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCdbRecord_getColLength__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_WSCdbRecord, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCdbRecord_getColLength__SWIG_1(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCdbRecord_getColLength'");
    return Qnil;
}


static VALUE
_wrap_WSCdbRecord_getRowCount(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 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_WSCdbRecord, 1);
    result = (long)(arg1)->getRowCount();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCdbRecord_getColCount(int argc, VALUE *argv, VALUE self) {
    WSCdbRecord *arg1 = (WSCdbRecord *) 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_WSCdbRecord, 1);
    result = (long)(arg1)->getColCount();
    
    vresult = INT2NUM(result);
    return vresult;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCwindow_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCwindow_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCwindow);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCwindow *)new WSCwindow(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCwindow(WSCwindow *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCmainWindow_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCmainWindow_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCmainWindow);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCmainWindow *)new WSCmainWindow(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCmainWindow(WSCmainWindow *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCbaseDialog_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCbaseDialog_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCbaseDialog);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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_getStatus(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)->getStatus();
    
    vresult = INT2NUM(result);
    return vresult;
}


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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCdialog_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCdialog_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCdialog);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCdialog *)new WSCdialog(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCdialog(WSCdialog *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCmessageDialog_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCmessageDialog_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCmessageDialog);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCmessageDialog *)new WSCmessageDialog(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCmessageDialog(WSCmessageDialog *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCinputDialog_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCinputDialog_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCinputDialog);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCinputDialog *)new WSCinputDialog(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCinputDialog(WSCinputDialog *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCwizardDialog_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCwizardDialog_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCwizardDialog);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCwizardDialog *)new WSCwizardDialog(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCwizardDialog(WSCwizardDialog *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCfileSelect_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCfileSelect_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCfileSelect);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCworkingDialog_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCworkingDialog_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCworkingDialog);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCworkingDialog *)new WSCworkingDialog(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCworkingDialog(WSCworkingDialog *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCindexForm_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCindexForm_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCindexForm);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCindexForm *)new WSCindexForm(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCindexForm(WSCindexForm *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCsform_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCsform_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCsform);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvtoggle_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvtoggle_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvtoggle);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvradio_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvradio_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvradio);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvradio *)new WSCvradio(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvradio(WSCvradio *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCradioGroup_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCradioGroup_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCradioGroup);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCcheckGroup_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCcheckGroup_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCcheckGroup);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCcheckGroup *)new WSCcheckGroup(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCcheckGroup(WSCcheckGroup *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCvertForm_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCvertForm_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCvertForm);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCvertForm *)new WSCvertForm(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCvertForm(WSCvertForm *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSChorzForm_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSChorzForm_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSChorzForm);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSChorzForm *)new WSChorzForm(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSChorzForm(WSChorzForm *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCmenuArea_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCmenuArea_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCmenuArea);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCmenuArea *)new WSCmenuArea(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCmenuArea(WSCmenuArea *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCtform_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCtform_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCtform);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        return vresult;
    }
    

static VALUE
_wrap_new_WSCtform(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCtform *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 = StringValuePtr(argv[1]);
    result = (WSCtform *)new WSCtform(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCtform(WSCtform *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCfform_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCfform_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCfform);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        return vresult;
    }
    

static VALUE
_wrap_new_WSCfform(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCfform *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 = StringValuePtr(argv[1]);
    result = (WSCfform *)new WSCfform(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCfform(WSCfform *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCfform_execResizeEvent(int argc, VALUE *argv, VALUE self) {
    WSCfform *arg1 = (WSCfform *) 0 ;
    
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCfform, 1);
    (arg1)->execResizeEvent();
    
    return Qnil;
}


static VALUE
_wrap_WSCfform_setNoRefresh(int argc, VALUE *argv, VALUE self) {
    WSCfform *arg1 = (WSCfform *) 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_WSCfform, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setNoRefresh(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCfform_getNoRefresh(int argc, VALUE *argv, VALUE self) {
    WSCfform *arg1 = (WSCfform *) 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_WSCfform, 1);
    result = (WSCbool)(arg1)->getNoRefresh();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCfform_setFloated(int argc, VALUE *argv, VALUE self) {
    WSCfform *arg1 = (WSCfform *) 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_WSCfform, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setFloated(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCfform_getFloated(int argc, VALUE *argv, VALUE self) {
    WSCfform *arg1 = (WSCfform *) 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_WSCfform, 1);
    result = (WSCbool)(arg1)->getFloated();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCfform_getPixmapStyle(int argc, VALUE *argv, VALUE self) {
    WSCfform *arg1 = (WSCfform *) 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_WSCfform, 1);
    result = (long)(arg1)->getPixmapStyle();
    
    vresult = INT2NUM(result);
    return vresult;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCprform_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCprform_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCprform);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        return vresult;
    }
    

static VALUE
_wrap_new_WSCprform(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCprform *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 = StringValuePtr(argv[1]);
    result = (WSCprform *)new WSCprform(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCprform(WSCprform *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCprform_prdraw(int argc, VALUE *argv, VALUE self) {
    WSCprform *arg1 = (WSCprform *) 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_WSCprform, 1);
    result = (long)(arg1)->prdraw();
    
    vresult = INT2NUM(result);
    return vresult;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCj3wform_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCj3wform_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCj3wform);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        return vresult;
    }
    

static VALUE
_wrap_new_WSCj3wform(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCj3wform *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 = StringValuePtr(argv[1]);
    result = (WSCj3wform *)new WSCj3wform(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCj3wform(WSCj3wform *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCj3wform_loadFile(int argc, VALUE *argv, VALUE self) {
    WSCj3wform *arg1 = (WSCj3wform *) 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_WSCj3wform, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->loadFile(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCscrForm_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCscrForm_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCscrForm);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSClist_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSClist_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSClist);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(argv[0]);
    arg3 = StringValuePtr(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 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCverbList_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCverbList_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCverbList);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCverbList *)new WSCverbList(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCverbList(WSCverbList *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCtreeList_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCtreeList_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCtreeList);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[1]);
    result = (WSCtreeList *)new WSCtreeList(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCtreeList(WSCtreeList *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCdirTree_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCdirTree_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCdirTree);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        return vresult;
    }
    

static VALUE
_wrap_new_WSCdirTree(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCdirTree *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 = StringValuePtr(argv[1]);
    result = (WSCdirTree *)new WSCdirTree(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCdirTree(WSCdirTree *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCdirTree_setSelectedDirName(int argc, VALUE *argv, VALUE self) {
    WSCdirTree *arg1 = (WSCdirTree *) 0 ;
    char *arg2 ;
    WSCbool arg3 = (WSCbool) False ;
    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_WSCdirTree, 1);
    arg2 = StringValuePtr(argv[0]);
    if (argc > 1) {
        arg3 = (WSCbool) NUM2INT(argv[1]);
    }
    result = (long)(arg1)->setSelectedDirName(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCdirTree_getSelectedDirName(int argc, VALUE *argv, VALUE self) {
    WSCdirTree *arg1 = (WSCdirTree *) 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_WSCdirTree, 1);
    result = (char *)(arg1)->getSelectedDirName();
    
    vresult = rb_str_new2(result);
    return vresult;
}


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 = StringValuePtr(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 = StringValuePtr(argv[0]);
    result = (short)WSGFimage(arg1);
    
    vresult = INT2NUM(result);
    return vresult;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSDcolor_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSDcolor_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSDcolor);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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;
    long temp2 ;
    long temp3 ;
    long temp4 ;
    VALUE vresult = Qnil;
    
    arg2 = &temp2;
    arg3 = &temp3;
    arg4 = &temp4;
    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 = (long)(arg1)->getRGB(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    {
        VALUE o = INT2NUM((int) (*arg2));
        vresult = output_helper(vresult, o);
    }
    {
        VALUE o = INT2NUM((int) (*arg3));
        vresult = output_helper(vresult, o);
    }
    {
        VALUE o = INT2NUM((int) (*arg4));
        vresult = output_helper(vresult, o);
    }
    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 = StringValuePtr(argv[0]);
    result = (long)(arg1)->setColorName(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static void
free_WSDcolor(WSDcolor *arg1) {
    delete arg1;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCcolorSet_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCcolorSet_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCcolorSet);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(argv[0]);
    result = (short)WSGFcolor(arg1);
    
    vresult = INT2NUM(result);
    return vresult;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCimageSet_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCimageSet_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCimageSet);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSDfont_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSDfont_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSDfont);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(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;
}
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCfontSet_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCfontSet_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCfontSet);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCbaseList_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCbaseList_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCbaseList);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        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 = StringValuePtr(argv[0]);
    arg3 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(argv[0]);
    arg3 = StringValuePtr(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 = StringValuePtr(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 = StringValuePtr(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;
}


#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
static VALUE
_wrap_WSCsheet_allocate(VALUE self) {
#else
    static VALUE
    _wrap_WSCsheet_allocate(int argc, VALUE *argv, VALUE self) {
#endif
        
        
        VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_WSCsheet);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
        rb_obj_call_init(vresult, argc, argv);
#endif
        return vresult;
    }
    

static VALUE
_wrap_new_WSCsheet(int argc, VALUE *argv, VALUE self) {
    WSCbase *arg1 = (WSCbase *) 0 ;
    char *arg2 ;
    WSCsheet *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 = StringValuePtr(argv[1]);
    result = (WSCsheet *)new WSCsheet(arg1,arg2);
    DATA_PTR(self) = result;
    return self;
}


static void
free_WSCsheet(WSCsheet *arg1) {
    delete arg1;
}
static VALUE
_wrap_WSCsheet_init(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (long)(arg1)->initialize();
    
    vresult = INT2NUM(result);
    return vresult;
}


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


static VALUE
_wrap_WSCsheet_getRowCount(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (long)(arg1)->getRowCount();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setRowCount(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 = (long) 51 ;
    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_WSCsheet, 1);
    if (argc > 0) {
        arg2 = NUM2LONG(argv[0]);
    }
    result = (long)(arg1)->setRowCount(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getColumnCount(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (long)(arg1)->getColumnCount();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setColumnCount(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 = (long) 11 ;
    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_WSCsheet, 1);
    if (argc > 0) {
        arg2 = NUM2LONG(argv[0]);
    }
    result = (long)(arg1)->setColumnCount(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getRowHeight(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (long)(arg1)->getRowHeight(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setRowHeight(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->setRowHeight(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getColumnWidth(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (long)(arg1)->getColumnWidth(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setColumnWidth(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->setColumnWidth(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getFixedRowCount(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (long)(arg1)->getFixedRowCount();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setFixedRowCount(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 = (long) 1 ;
    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_WSCsheet, 1);
    if (argc > 0) {
        arg2 = NUM2LONG(argv[0]);
    }
    result = (long)(arg1)->setFixedRowCount(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getFixedColumnCount(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (long)(arg1)->getFixedColumnCount();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setFixedColumnCount(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 = (long) 1 ;
    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_WSCsheet, 1);
    if (argc > 0) {
        arg2 = NUM2LONG(argv[0]);
    }
    result = (long)(arg1)->setFixedColumnCount(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getFixedRowHeight(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (long)(arg1)->getFixedRowHeight(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setFixedRowHeight(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->setFixedRowHeight(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getFixedColumnWidth(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (long)(arg1)->getFixedColumnWidth(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setFixedColumnWidth(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->setFixedColumnWidth(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setSheetBkColor__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->setSheetBkColor(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setSheetBkColor__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2SHRT(argv[0]);
    result = (long)(arg1)->setSheetBkColor(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_setSheetBkColor(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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setSheetBkColor__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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setSheetBkColor__SWIG_0(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_setSheetBkColor'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getSheetBkColor(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (short)(arg1)->getSheetBkColor();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setCellDefBkColor__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->setCellDefBkColor(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setCellDefBkColor__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2SHRT(argv[0]);
    result = (long)(arg1)->setCellDefBkColor(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_setCellDefBkColor(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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setCellDefBkColor__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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setCellDefBkColor__SWIG_0(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_setCellDefBkColor'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getCellDefBkColor(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (short)(arg1)->getCellDefBkColor();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setCellBkColor__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->setCellBkColor(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setCellBkColor__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    arg4 = StringValuePtr(argv[2]);
    result = (long)(arg1)->setCellBkColor(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setCellBkColor__SWIG_2(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2SHRT(argv[0]);
    result = (long)(arg1)->setCellBkColor(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setCellBkColor__SWIG_3(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    arg4 = NUM2SHRT(argv[2]);
    result = (long)(arg1)->setCellBkColor(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_setCellBkColor(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 == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setCellBkColor__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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setCellBkColor__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_WSCsheet, 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_WSCsheet_setCellBkColor__SWIG_3(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_WSCsheet, 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_WSCsheet_setCellBkColor__SWIG_1(nargs, args, self);
                    }
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_setCellBkColor'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getCellBkColor(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long arg3 ;
    short 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    result = (short)(arg1)->getCellBkColor(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setCellDefTextColor__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->setCellDefTextColor(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setCellDefTextColor__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2SHRT(argv[0]);
    result = (long)(arg1)->setCellDefTextColor(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_setCellDefTextColor(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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setCellDefTextColor__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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setCellDefTextColor__SWIG_0(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_setCellDefTextColor'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getCellDefTextColor(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (short)(arg1)->getCellDefTextColor();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setCellTextColor__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->setCellTextColor(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setCellTextColor__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    arg4 = StringValuePtr(argv[2]);
    result = (long)(arg1)->setCellTextColor(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setCellTextColor__SWIG_2(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2SHRT(argv[0]);
    result = (long)(arg1)->setCellTextColor(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setCellTextColor__SWIG_3(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    arg4 = NUM2SHRT(argv[2]);
    result = (long)(arg1)->setCellTextColor(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_setCellTextColor(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 == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setCellTextColor__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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setCellTextColor__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_WSCsheet, 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_WSCsheet_setCellTextColor__SWIG_3(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_WSCsheet, 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_WSCsheet_setCellTextColor__SWIG_1(nargs, args, self);
                    }
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_setCellTextColor'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getCellTextColor(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long arg3 ;
    short 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    result = (short)(arg1)->getCellTextColor(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setFixedBkColor__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->setFixedBkColor(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setFixedBkColor__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2SHRT(argv[0]);
    result = (long)(arg1)->setFixedBkColor(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_setFixedBkColor(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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setFixedBkColor__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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setFixedBkColor__SWIG_0(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_setFixedBkColor'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getFixedBkColor(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (short)(arg1)->getFixedBkColor();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setFixedTextColor__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->setFixedTextColor(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setFixedTextColor__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2SHRT(argv[0]);
    result = (long)(arg1)->setFixedTextColor(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_setFixedTextColor(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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setFixedTextColor__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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setFixedTextColor__SWIG_0(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_setFixedTextColor'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getFixedTextColor(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (short)(arg1)->getFixedTextColor();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setGridColor__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->setGridColor(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setGridColor__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2SHRT(argv[0]);
    result = (long)(arg1)->setGridColor(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_setGridColor(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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setGridColor__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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setGridColor__SWIG_0(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_setGridColor'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getGridColor(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (short)(arg1)->getGridColor();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setGridLines(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    short arg2 = (short) 3 ;
    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_WSCsheet, 1);
    if (argc > 0) {
        arg2 = NUM2SHRT(argv[0]);
    }
    result = (long)(arg1)->setGridLines(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getGridLines(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (short)(arg1)->getGridLines();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setCellGridLines__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    short arg2 = (short) 3 ;
    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_WSCsheet, 1);
    if (argc > 0) {
        arg2 = NUM2SHRT(argv[0]);
    }
    result = (long)(arg1)->setCellGridLines(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


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


static VALUE _wrap_WSCsheet_setCellGridLines(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 >= 1) && (argc <= 2)) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            if (argc <= 1) {
                return _wrap_WSCsheet_setCellGridLines__SWIG_0(nargs, args, self);
            }
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setCellGridLines__SWIG_0(nargs, args, self);
            }
        }
    }
    if ((argc >= 3) && (argc <= 4)) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCsheet, 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) {
                    if (argc <= 3) {
                        return _wrap_WSCsheet_setCellGridLines__SWIG_1(nargs, args, self);
                    }
                    {
                        _v = ((TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0;
                    }
                    if (_v) {
                        return _wrap_WSCsheet_setCellGridLines__SWIG_1(nargs, args, self);
                    }
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_setCellGridLines'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getCellGridLines(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long arg3 ;
    short 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    result = (short)(arg1)->getCellGridLines(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setText__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (long)(arg1)->setText(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setText__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    double 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_WSCsheet, 1);
    arg2 = (double) NUM2DBL(argv[0]);
    result = (long)(arg1)->setText(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setText__SWIG_2(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->setText((char const *)arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setText__SWIG_3(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    WSCvariant *arg2 = 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_WSCsheet, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCvariant, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
    result = (long)(arg1)->setText((WSCvariant const &)*arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setText__SWIG_4(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    WSCstring *arg2 = 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_WSCsheet, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCstring, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
    result = (long)(arg1)->setText((WSCstring const &)*arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setText__SWIG_5(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    arg4 = NUM2LONG(argv[2]);
    result = (long)(arg1)->setText(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setText__SWIG_6(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long arg3 ;
    double 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    arg4 = (double) NUM2DBL(argv[2]);
    result = (long)(arg1)->setText(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setText__SWIG_7(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    arg4 = StringValuePtr(argv[2]);
    result = (long)(arg1)->setText(arg2,arg3,(char const *)arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setText__SWIG_8(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long arg3 ;
    WSCvariant *arg4 = 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    SWIG_ConvertPtr(argv[2], (void **) &arg4, SWIGTYPE_p_WSCvariant, 1); if (arg4 == NULL) rb_raise(rb_eTypeError, "null reference");
    result = (long)(arg1)->setText(arg2,arg3,(WSCvariant const &)*arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setText__SWIG_9(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long arg3 ;
    WSCstring *arg4 = 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    SWIG_ConvertPtr(argv[2], (void **) &arg4, SWIGTYPE_p_WSCstring, 1); if (arg4 == NULL) rb_raise(rb_eTypeError, "null reference");
    result = (long)(arg1)->setText(arg2,arg3,(WSCstring const &)*arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_setText(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 == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCsheet, 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_WSCvariant, 0) != -1)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setText__SWIG_3(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_WSCsheet, 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) {
                return _wrap_WSCsheet_setText__SWIG_4(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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setText__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_WSCsheet, 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_WSCsheet_setText__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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setText__SWIG_2(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_WSCsheet, 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) {
                    {
                        void *ptr;
                        _v = (NIL_P(argv[3]) || (TYPE(argv[3]) == T_DATA && SWIG_ConvertPtr(argv[3], &ptr, SWIGTYPE_p_WSCvariant, 0) != -1)) ? 1 : 0;
                    }
                    if (_v) {
                        return _wrap_WSCsheet_setText__SWIG_8(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_WSCsheet, 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) {
                    {
                        void *ptr;
                        _v = (NIL_P(argv[3]) || (TYPE(argv[3]) == T_DATA && SWIG_ConvertPtr(argv[3], &ptr, SWIGTYPE_p_WSCstring, 0) != -1)) ? 1 : 0;
                    }
                    if (_v) {
                        return _wrap_WSCsheet_setText__SWIG_9(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_WSCsheet, 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_WSCsheet_setText__SWIG_5(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_WSCsheet, 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_FLOAT) || (TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0;
                    }
                    if (_v) {
                        return _wrap_WSCsheet_setText__SWIG_6(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_WSCsheet, 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_WSCsheet_setText__SWIG_7(nargs, args, self);
                    }
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_setText'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getText(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long arg3 ;
    WSCstring 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    result = (arg1)->getText(arg2,arg3);
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCsheet_setFixedText__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    arg4 = NUM2LONG(argv[2]);
    result = (long)(arg1)->setFixedText(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setFixedText__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long arg3 ;
    double 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    arg4 = (double) NUM2DBL(argv[2]);
    result = (long)(arg1)->setFixedText(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setFixedText__SWIG_2(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    arg4 = StringValuePtr(argv[2]);
    result = (long)(arg1)->setFixedText(arg2,arg3,(char const *)arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setFixedText__SWIG_3(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long arg3 ;
    WSCvariant *arg4 = 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    SWIG_ConvertPtr(argv[2], (void **) &arg4, SWIGTYPE_p_WSCvariant, 1); if (arg4 == NULL) rb_raise(rb_eTypeError, "null reference");
    result = (long)(arg1)->setFixedText(arg2,arg3,(WSCvariant const &)*arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setFixedText__SWIG_4(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long arg3 ;
    WSCstring *arg4 = 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    SWIG_ConvertPtr(argv[2], (void **) &arg4, SWIGTYPE_p_WSCstring, 1); if (arg4 == NULL) rb_raise(rb_eTypeError, "null reference");
    result = (long)(arg1)->setFixedText(arg2,arg3,(WSCstring const &)*arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_setFixedText(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_WSCsheet, 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) {
                    {
                        void *ptr;
                        _v = (NIL_P(argv[3]) || (TYPE(argv[3]) == T_DATA && SWIG_ConvertPtr(argv[3], &ptr, SWIGTYPE_p_WSCvariant, 0) != -1)) ? 1 : 0;
                    }
                    if (_v) {
                        return _wrap_WSCsheet_setFixedText__SWIG_3(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_WSCsheet, 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) {
                    {
                        void *ptr;
                        _v = (NIL_P(argv[3]) || (TYPE(argv[3]) == T_DATA && SWIG_ConvertPtr(argv[3], &ptr, SWIGTYPE_p_WSCstring, 0) != -1)) ? 1 : 0;
                    }
                    if (_v) {
                        return _wrap_WSCsheet_setFixedText__SWIG_4(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_WSCsheet, 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_WSCsheet_setFixedText__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_WSCsheet, 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_FLOAT) || (TYPE(argv[3]) == T_FIXNUM) || (TYPE(argv[3]) == T_BIGNUM)) ? 1 : 0;
                    }
                    if (_v) {
                        return _wrap_WSCsheet_setFixedText__SWIG_1(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_WSCsheet, 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_WSCsheet_setFixedText__SWIG_2(nargs, args, self);
                    }
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_setFixedText'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getFixedText(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long arg3 ;
    WSCstring 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    result = (arg1)->getFixedText(arg2,arg3);
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCsheet_getCellNo(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    WSCpoint *arg2 = (WSCpoint *) 0 ;
    long *arg3 = (long *) 0 ;
    long *arg4 = (long *) 0 ;
    long result;
    long temp3 ;
    long temp4 ;
    VALUE vresult = Qnil;
    
    arg3 = &temp3;
    arg4 = &temp4;
    if ((argc < 1) || (argc > 1))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCsheet, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCpoint, 1);
    result = (long)(arg1)->getCellNo(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    {
        VALUE o = INT2NUM((int) (*arg3));
        vresult = output_helper(vresult, o);
    }
    {
        VALUE o = INT2NUM((int) (*arg4));
        vresult = output_helper(vresult, o);
    }
    return vresult;
}


static VALUE
_wrap_WSCsheet_setFocusCell(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->setFocusCell(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getFocusCell(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long *arg2 = (long *) 0 ;
    long *arg3 = (long *) 0 ;
    long temp2 ;
    long temp3 ;
    VALUE vresult = Qnil;
    
    arg2 = &temp2;
    arg3 = &temp3;
    if ((argc < 0) || (argc > 0))
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
    SWIG_ConvertPtr(self, (void **) &arg1, SWIGTYPE_p_WSCsheet, 1);
    (arg1)->getFocusCell(arg2,arg3);
    
    {
        VALUE o = INT2NUM((int) (*arg2));
        vresult = output_helper(vresult, o);
    }
    {
        VALUE o = INT2NUM((int) (*arg3));
        vresult = output_helper(vresult, o);
    }
    return vresult;
}


static VALUE
_wrap_WSCsheet_getFocusCol(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (long)(arg1)->getFocusCol();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getFocusRow(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (long)(arg1)->getFocusRow();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setRow(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    (arg1)->setRow(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getRow(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (long)(arg1)->getRow();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setStartRow(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    (arg1)->setStartRow(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getStartRow(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (long)(arg1)->getStartRow();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setEndRow(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    (arg1)->setEndRow(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getEndRow(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (long)(arg1)->getEndRow();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setCol(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    (arg1)->setCol(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getCol(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (long)(arg1)->getCol();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setStartCol(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    (arg1)->setStartCol(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getStartCol(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (long)(arg1)->getStartCol();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setEndCol(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    (arg1)->setEndCol(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getEndCol(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (long)(arg1)->getEndCol();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setSelectCell(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setSelectCell(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getSelectCell(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (WSCbool)(arg1)->getSelectCell();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setEditEnabled(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setEditEnabled(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getEditEnabled(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (WSCbool)(arg1)->getEditEnabled();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getFocusCellRect(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    WSCrect *arg2 = (WSCrect *) 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_WSCsheet, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCrect, 1);
    result = (long)(arg1)->getFocusCellRect(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getVisibleCellRect(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long arg3 ;
    WSCrect *arg4 = (WSCrect *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    SWIG_ConvertPtr(argv[2], (void **) &arg4, SWIGTYPE_p_WSCrect, 1);
    result = (long)(arg1)->getVisibleCellRect(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getCellRect(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long arg3 ;
    WSCrect *arg4 = (WSCrect *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    SWIG_ConvertPtr(argv[2], (void **) &arg4, SWIGTYPE_p_WSCrect, 1);
    result = (long)(arg1)->getCellRect(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setTopVisibleRow(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (long)(arg1)->setTopVisibleRow(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getTopVisibleRow(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (long)(arg1)->getTopVisibleRow();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setTopVisibleCol(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    result = (long)(arg1)->setTopVisibleCol(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getTopVisibleCol(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (long)(arg1)->getTopVisibleCol();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setCellDefFont(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2SHRT(argv[0]);
    result = (long)(arg1)->setCellDefFont(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getCellDefFont(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (short)(arg1)->getCellDefFont();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setCellFont__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2SHRT(argv[0]);
    result = (long)(arg1)->setCellFont(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setCellFont__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    arg4 = NUM2SHRT(argv[2]);
    result = (long)(arg1)->setCellFont(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_setCellFont(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 == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setCellFont__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_WSCsheet, 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_WSCsheet_setCellFont__SWIG_1(nargs, args, self);
                    }
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_setCellFont'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getCellFont__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (short)(arg1)->getCellFont();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getCellFont__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long arg3 ;
    short 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    result = (short)(arg1)->getCellFont(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_getCellFont(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 == 1) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            return _wrap_WSCsheet_getCellFont__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_WSCsheet, 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) {
                    return _wrap_WSCsheet_getCellFont__SWIG_1(nargs, args, self);
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_getCellFont'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_setFixedCellFont(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2SHRT(argv[0]);
    result = (long)(arg1)->setFixedCellFont(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getFixedCellFont(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (short)(arg1)->getFixedCellFont();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setVertAutoNumber(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setVertAutoNumber(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getVertAutoNumber(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (WSCbool)(arg1)->getVertAutoNumber();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setHorzAutoNumber(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setHorzAutoNumber(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getHorzAutoNumber(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (WSCbool)(arg1)->getHorzAutoNumber();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setCellAlignemnt__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2CHR(argv[0]);
    result = (long)(arg1)->setCellAlignemnt(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setCellAlignemnt__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    arg4 = NUM2CHR(argv[2]);
    result = (long)(arg1)->setCellAlignemnt(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_setCellAlignemnt(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 == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING && (RSTRING(argv[1])->len == 1)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setCellAlignemnt__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_WSCsheet, 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 && (RSTRING(argv[3])->len == 1)) ? 1 : 0;
                    }
                    if (_v) {
                        return _wrap_WSCsheet_setCellAlignemnt__SWIG_1(nargs, args, self);
                    }
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_setCellAlignemnt'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getCellAlignemnt(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long arg3 ;
    char 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    result = (char)(arg1)->getCellAlignemnt(arg2,arg3);
    
    vresult = rb_str_new(&result,1);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setFixedCellAlignemnt(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    arg4 = NUM2CHR(argv[2]);
    result = (long)(arg1)->setFixedCellAlignemnt(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getFixedCellAlignemnt(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long arg3 ;
    char 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    result = (char)(arg1)->getFixedCellAlignemnt(arg2,arg3);
    
    vresult = rb_str_new(&result,1);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setCellLock__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    result = (long)(arg1)->setCellLock(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setCellLock__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    arg4 = (WSCbool) NUM2INT(argv[2]);
    result = (long)(arg1)->setCellLock(arg2,arg3,arg4);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_setCellLock(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 == 2) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = ((TYPE(argv[1]) == T_FIXNUM) || (TYPE(argv[1]) == T_BIGNUM)) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setCellLock__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_WSCsheet, 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_WSCsheet_setCellLock__SWIG_1(nargs, args, self);
                    }
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_setCellLock'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getCellLock(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    long arg2 ;
    long 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    result = (WSCbool)(arg1)->getCellLock(arg2,arg3);
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getClientWidth(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (WSCushort)(arg1)->getClientWidth();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getClientHeight(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (WSCushort)(arg1)->getClientHeight();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setNoRefresh(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = (WSCbool) NUM2INT(argv[0]);
    (arg1)->setNoRefresh(arg2);
    
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getNoRefresh(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (WSCbool)(arg1)->getNoRefresh();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_insertRow__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (long)(arg1)->insertRow();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_insertRow__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->insertRow(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_insertRow(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 == 1) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            return _wrap_WSCsheet_insertRow__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_WSCsheet, 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) {
                    return _wrap_WSCsheet_insertRow__SWIG_1(nargs, args, self);
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_insertRow'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_insertCol__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (long)(arg1)->insertCol();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_insertCol__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->insertCol(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_insertCol(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 == 1) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            return _wrap_WSCsheet_insertCol__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_WSCsheet, 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) {
                    return _wrap_WSCsheet_insertCol__SWIG_1(nargs, args, self);
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_insertCol'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_deleteRow__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (long)(arg1)->deleteRow();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_deleteRow__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->deleteRow(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_deleteRow(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 == 1) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            return _wrap_WSCsheet_deleteRow__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_WSCsheet, 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) {
                    return _wrap_WSCsheet_deleteRow__SWIG_1(nargs, args, self);
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_deleteRow'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_deleteCol__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (long)(arg1)->deleteCol();
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_deleteCol__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = NUM2LONG(argv[0]);
    arg3 = NUM2LONG(argv[1]);
    result = (long)(arg1)->deleteCol(arg2,arg3);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_deleteCol(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 == 1) {
        int _v;
        {
            void *ptr;
            _v = (NIL_P(argv[0]) || (TYPE(argv[0]) == T_DATA && SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            return _wrap_WSCsheet_deleteCol__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_WSCsheet, 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) {
                    return _wrap_WSCsheet_deleteCol__SWIG_1(nargs, args, self);
                }
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_deleteCol'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_setDataSource__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->setDataSource((char const *)arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setDataSource__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    WSCstring *arg2 = 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_WSCsheet, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCstring, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
    result = (long)(arg1)->setDataSource(*arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_setDataSource(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_WSCsheet, 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) {
                return _wrap_WSCsheet_setDataSource__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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setDataSource__SWIG_0(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_setDataSource'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getDataSource(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (arg1)->getDataSource();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCsheet_setTableName__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->setTableName((char const *)arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setTableName__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    WSCstring *arg2 = 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_WSCsheet, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCstring, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
    result = (long)(arg1)->setTableName(*arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_setTableName(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_WSCsheet, 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) {
                return _wrap_WSCsheet_setTableName__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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setTableName__SWIG_0(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_setTableName'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getTableName(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (arg1)->getTableName();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCsheet_setDbItem__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->setDbItem((char const *)arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setDbItem__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    WSCstring *arg2 = 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_WSCsheet, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCstring, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
    result = (long)(arg1)->setDbItem(*arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_setDbItem(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_WSCsheet, 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) {
                return _wrap_WSCsheet_setDbItem__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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setDbItem__SWIG_0(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_setDbItem'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getDbItem(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (arg1)->getDbItem();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCsheet_setDbSortItem1__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->setDbSortItem1((char const *)arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setDbSortItem1__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    WSCstring *arg2 = 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_WSCsheet, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCstring, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
    result = (long)(arg1)->setDbSortItem1(*arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_setDbSortItem1(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_WSCsheet, 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) {
                return _wrap_WSCsheet_setDbSortItem1__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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setDbSortItem1__SWIG_0(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_setDbSortItem1'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getDbSortItem1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (arg1)->getDbSortItem1();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCsheet_setDbSort1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    WSCuchar 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_WSCsheet, 1);
    arg2 = (WSCuchar) NUM2INT(argv[0]);
    result = (long)(arg1)->setDbSort1(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getDbSort1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (WSCuchar)(arg1)->getDbSort1();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setDbSortItem2__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->setDbSortItem2((char const *)arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setDbSortItem2__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    WSCstring *arg2 = 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_WSCsheet, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCstring, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
    result = (long)(arg1)->setDbSortItem2(*arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_setDbSortItem2(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_WSCsheet, 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) {
                return _wrap_WSCsheet_setDbSortItem2__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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setDbSortItem2__SWIG_0(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_setDbSortItem2'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getDbSortItem2(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (arg1)->getDbSortItem2();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCsheet_setDbSort2(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    WSCuchar 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_WSCsheet, 1);
    arg2 = (WSCuchar) NUM2INT(argv[0]);
    result = (long)(arg1)->setDbSort2(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getDbSort2(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (WSCuchar)(arg1)->getDbSort2();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setDbSortItem3__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->setDbSortItem3((char const *)arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setDbSortItem3__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    WSCstring *arg2 = 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_WSCsheet, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCstring, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
    result = (long)(arg1)->setDbSortItem3(*arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_setDbSortItem3(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_WSCsheet, 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) {
                return _wrap_WSCsheet_setDbSortItem3__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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setDbSortItem3__SWIG_0(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_setDbSortItem3'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getDbSortItem3(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (arg1)->getDbSortItem3();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCsheet_setDbSort3(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    WSCuchar 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_WSCsheet, 1);
    arg2 = (WSCuchar) NUM2INT(argv[0]);
    result = (long)(arg1)->setDbSort3(arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_getDbSort3(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (WSCuchar)(arg1)->getDbSort3();
    
    vresult = UINT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setDbFilter__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->setDbFilter((char const *)arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setDbFilter__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    WSCstring *arg2 = 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_WSCsheet, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCstring, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
    result = (long)(arg1)->setDbFilter(*arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_setDbFilter(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_WSCsheet, 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) {
                return _wrap_WSCsheet_setDbFilter__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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setDbFilter__SWIG_0(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_setDbFilter'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getDbFilter(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (arg1)->getDbFilter();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCsheet_setDbStmtString__SWIG_0(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    arg2 = StringValuePtr(argv[0]);
    result = (long)(arg1)->setDbStmtString((char const *)arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE
_wrap_WSCsheet_setDbStmtString__SWIG_1(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 0 ;
    WSCstring *arg2 = 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_WSCsheet, 1);
    SWIG_ConvertPtr(argv[0], (void **) &arg2, SWIGTYPE_p_WSCstring, 1); if (arg2 == NULL) rb_raise(rb_eTypeError, "null reference");
    result = (long)(arg1)->setDbStmtString(*arg2);
    
    vresult = INT2NUM(result);
    return vresult;
}


static VALUE _wrap_WSCsheet_setDbStmtString(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_WSCsheet, 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) {
                return _wrap_WSCsheet_setDbStmtString__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_WSCsheet, 0) != -1)) ? 1 : 0;
        }
        if (_v) {
            {
                _v = (TYPE(argv[1]) == T_STRING) ? 1 : 0;
            }
            if (_v) {
                return _wrap_WSCsheet_setDbStmtString__SWIG_0(nargs, args, self);
            }
        }
    }
    
    rb_raise(rb_eArgError, "No matching function for overloaded 'WSCsheet_setDbStmtString'");
    return Qnil;
}


static VALUE
_wrap_WSCsheet_getDbStmtString(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (arg1)->getDbStmtString();
    
    {
        WSCstring * resultptr;
        resultptr = new WSCstring((WSCstring &)result);
        vresult = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_WSCstring, 1);
    }
    return vresult;
}


static VALUE
_wrap_WSCsheet_dbRefresh(int argc, VALUE *argv, VALUE self) {
    WSCsheet *arg1 = (WSCsheet *) 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_WSCsheet, 1);
    result = (long)(arg1)->dbRefresh();
    
    vresult = INT2NUM(result);
    return vresult;
}



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

static void *_p_WSCdirTreeTo_p_WSCtreeList(void *x) {
    return (void *)((WSCtreeList *)  ((WSCdirTree *) x));
}
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_WSCdirTreeTo_p_WSCscrForm(void *x) {
    return (void *)((WSCscrForm *) (WSClist *)(WSCtreeList *) ((WSCdirTree *) 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_WSCdirTreeTo_p_WSClist(void *x) {
    return (void *)((WSClist *) (WSCtreeList *) ((WSCdirTree *) 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_WSCdirTreeTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCform *)(WSCscrForm *)(WSClist *)(WSCtreeList *) ((WSCdirTree *) 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_WSCprformTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCform *) ((WSCprform *) 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_WSCtformTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCform *) ((WSCtform *) 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_WSCj3wformTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCform *) ((WSCj3wform *) 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_WSCfformTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *)  ((WSCfform *) 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_WSCsheetTo_p_WSCbase(void *x) {
    return (void *)((WSCbase *) (WSCform *) ((WSCsheet *) 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_WSCj3wformTo_p_WSCform(void *x) {
    return (void *)((WSCform *)  ((WSCj3wform *) x));
}
static void *_p_WSChorzFormTo_p_WSCform(void *x) {
    return (void *)((WSCform *) (WSCvertForm *) ((WSChorzForm *) x));
}
static void *_p_WSCsheetTo_p_WSCform(void *x) {
    return (void *)((WSCform *)  ((WSCsheet *) x));
}
static void *_p_WSClistTo_p_WSCform(void *x) {
    return (void *)((WSCform *) (WSCscrForm *) ((WSClist *) x));
}
static void *_p_WSCprformTo_p_WSCform(void *x) {
    return (void *)((WSCform *)  ((WSCprform *) x));
}
static void *_p_WSCcheckGroupTo_p_WSCform(void *x) {
    return (void *)((WSCform *) (WSCradioGroup *) ((WSCcheckGroup *) x));
}
static void *_p_WSCtformTo_p_WSCform(void *x) {
    return (void *)((WSCform *)  ((WSCtform *) 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_WSCdirTreeTo_p_WSCform(void *x) {
    return (void *)((WSCform *) (WSCscrForm *)(WSClist *)(WSCtreeList *) ((WSCdirTree *) 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_WSCmenuAreaTo_p_WSCform(void *x) {
    return (void *)((WSCform *)  ((WSCmenuArea *) x));
}
static void *_p_WSCscrFormTo_p_WSCform(void *x) {
    return (void *)((WSCform *)  ((WSCscrForm *) 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_WSCdbRecord[] = {{"_p_WSCdbRecord", 0, "WSCdbRecord *", 0},{"_p_WSCdbRecord"},{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"},{"_p_WSCdirTree", _p_WSCdirTreeTo_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_short[] = {{"_p_short", 0, "short *", 0},{"_p_short"},{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_WSDmouse[] = {{"_p_WSDmouse", 0, "WSDmouse *", 0},{"_p_WSDmouse"},{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_WSCmenuArea[] = {{"_p_WSCmenuArea", 0, "WSCmenuArea *", 0},{"_p_WSCmenuArea"},{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_WSCdirTree", _p_WSCdirTreeTo_p_WSCscrForm},{"_p_WSClist", _p_WSClistTo_p_WSCscrForm},{0}};
static swig_type_info _swigt__p_WSCtform[] = {{"_p_WSCtform", 0, "WSCtform *", 0},{"_p_WSCtform"},{0}};
static swig_type_info _swigt__p_WSCvrect[] = {{"_p_WSCvrect", 0, "WSCvrect *", 0},{"_p_WSCvrect"},{0}};
static swig_type_info _swigt__p_WSCdirTree[] = {{"_p_WSCdirTree", 0, "WSCdirTree *", 0},{"_p_WSCdirTree"},{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"},{"_p_WSCdirTree", _p_WSCdirTreeTo_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_WSCfform[] = {{"_p_WSCfform", 0, "WSCfform *", 0},{"_p_WSCfform"},{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_WSCdirTree", _p_WSCdirTreeTo_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_WSCprform", _p_WSCprformTo_p_WSCbase},{"_p_WSCform", _p_WSCformTo_p_WSCbase},{"_p_WSCcomboBox", _p_WSCcomboBoxTo_p_WSCbase},{"_p_WSCvscrBar", _p_WSCvscrBarTo_p_WSCbase},{"_p_WSCtform", _p_WSCtformTo_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_WSCj3wform", _p_WSCj3wformTo_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_WSCfform", _p_WSCfformTo_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_WSCsheet", _p_WSCsheetTo_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_WSCprform[] = {{"_p_WSCprform", 0, "WSCprform *", 0},{"_p_WSCprform"},{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_WSCsheet[] = {{"_p_WSCsheet", 0, "WSCsheet *", 0},{"_p_WSCsheet"},{0}};
static swig_type_info _swigt__p_WSCj3wform[] = {{"_p_WSCj3wform", 0, "WSCj3wform *", 0},{"_p_WSCj3wform"},{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_WSCsheet", _p_WSCsheetTo_p_WSCform},{"_p_WSCj3wform", _p_WSCj3wformTo_p_WSCform},{"_p_WSChorzForm", _p_WSChorzFormTo_p_WSCform},{"_p_WSCform"},{"_p_WSClist", _p_WSClistTo_p_WSCform},{"_p_WSCprform", _p_WSCprformTo_p_WSCform},{"_p_WSCcheckGroup", _p_WSCcheckGroupTo_p_WSCform},{"_p_WSCtform", _p_WSCtformTo_p_WSCform},{"_p_WSCvertForm", _p_WSCvertFormTo_p_WSCform},{"_p_WSCsform", _p_WSCsformTo_p_WSCform},{"_p_WSCdirTree", _p_WSCdirTreeTo_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_WSCmenuArea", _p_WSCmenuAreaTo_p_WSCform},{"_p_WSCscrForm", _p_WSCscrFormTo_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_WSCdbRecord, 
_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_short, 
_swigt__p_WSDkeyboard, 
_swigt__p_WSCvbarGraph, 
_swigt__p_WSDmouse, 
_swigt__p_WSCvslider, 
_swigt__p_WSCvlabel, 
_swigt__p_WSCmenuArea, 
_swigt__p_WSCvgraphMatrix, 
_swigt__p_WSCscrForm, 
_swigt__p_WSCtform, 
_swigt__p_WSCvrect, 
_swigt__p_WSCdirTree, 
_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_WSCfform, 
_swigt__p_WSCbase, 
_swigt__p_WSCcomboBox, 
_swigt__p_WSCvline, 
_swigt__p_WSCvifield, 
_swigt__p_WSCvpifield, 
_swigt__p_WSCnwbase, 
_swigt__p_WSCprform, 
_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_WSCsheet, 
_swigt__p_WSCj3wform, 
_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
SWIGEXPORT(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]);
    }
    
    rb_define_const(mMpfc,"WS_DATA_SOURCE_NONE", INT2NUM(0));
    rb_define_const(mMpfc,"WS_DATA_SOURCE_INSTANCE", INT2NUM(1));
    rb_define_const(mMpfc,"WS_DATA_SOURCE_FILE", INT2NUM(2));
    rb_define_const(mMpfc,"WS_TEXT", INT2NUM(0));
    rb_define_const(mMpfc,"WS_BINARY", INT2NUM(1));
    rb_define_const(mMpfc,"WS_NORMAL", INT2NUM(0));
    rb_define_const(mMpfc,"WS_TREE", INT2NUM(1));
    rb_define_const(mMpfc,"WS_VERBOSE", INT2NUM(2));
    rb_define_const(mMpfc,"WS_HAVE_CHILD", INT2NUM(1));
    rb_define_const(mMpfc,"WS_HAVE_BROS", INT2NUM(2));
    rb_define_const(mMpfc,"WS_OPEN", INT2NUM(0));
    rb_define_const(mMpfc,"WS_INDENT_LEVEL", INT2NUM(1));
    rb_define_const(mMpfc,"WS_ABSOLUTE_OPEN", INT2NUM(2));
    rb_define_const(mMpfc,"WS_ICON", INT2NUM(3));
    rb_define_const(mMpfc,"WS_SFORM_FIXED", INT2NUM(0));
    rb_define_const(mMpfc,"WS_SFORM_UNDER_RESIZING", INT2NUM(1));
    rb_define_const(mMpfc,"WS_EXEC_NONE", INT2NUM(0));
    rb_define_const(mMpfc,"WS_EXEC_RD", INT2NUM(1));
    rb_define_const(mMpfc,"WS_EXEC_RDWR", INT2NUM(2));
    rb_define_const(mMpfc,"WS_EXEC_WR", INT2NUM(3));
    rb_define_const(mMpfc,"WS_DOUBLE_CLICK_TIME", INT2NUM(300));
    rb_define_const(mMpfc,"WS_POLICY_ORIGINAL", INT2NUM(1));
    rb_define_const(mMpfc,"WS_POLICY_WINDOWS", INT2NUM(2));
    rb_define_const(mMpfc,"WS_POLICY_GRADATION", INT2NUM(4));
    rb_define_const(mMpfc,"WS_POLICY_AQUA", INT2NUM(8));
    
    cWSCpoint.klass = rb_define_class_under(mMpfc, "WSCpoint", rb_cObject);
    SWIG_TypeClientData(SWIGTYPE_p_WSCpoint, (void *) &cWSCpoint);
    rb_define_alloc_func(cWSCpoint.klass, _wrap_WSCpoint_allocate);
    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_alloc_func(cWSCrect.klass, _wrap_WSCrect_allocate);
    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));
    rb_define_const(mMpfc,"WS_DIALOG_CANCEL", INT2NUM(0));
    rb_define_const(mMpfc,"WS_DIALOG_OK", INT2NUM(1));
    rb_define_const(mMpfc,"WS_DIALOG_NO", INT2NUM(2));
    rb_define_const(mMpfc,"WS_DIALOG_DONE", INT2NUM(3));
    
    cWSCstring.klass = rb_define_class_under(mMpfc, "WSCstring", rb_cObject);
    SWIG_TypeClientData(SWIGTYPE_p_WSCstring, (void *) &cWSCstring);
    rb_define_alloc_func(cWSCstring.klass, _wrap_WSCstring_allocate);
    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);
    rb_define_method(cWSCstring.klass, "to_s", VALUEFUNC(_wrap_WSCstring___str__), -1);
    rb_define_method(cWSCstring.klass, "getChars", VALUEFUNC(_wrap_WSCstring_getChars), -1);
    rb_define_method(cWSCstring.klass, "getEncoding", VALUEFUNC(_wrap_WSCstring_getEncoding), -1);
    rb_define_method(cWSCstring.klass, "isExist", VALUEFUNC(_wrap_WSCstring_isExist), -1);
    rb_define_method(cWSCstring.klass, "addString", VALUEFUNC(_wrap_WSCstring_addString), -1);
    rb_define_method(cWSCstring.klass, "cutString", VALUEFUNC(_wrap_WSCstring_cutString), -1);
    rb_define_method(cWSCstring.klass, "insertString", VALUEFUNC(_wrap_WSCstring_insertString), -1);
    rb_define_method(cWSCstring.klass, "deleteChar", VALUEFUNC(_wrap_WSCstring_deleteChar), -1);
    rb_define_method(cWSCstring.klass, "deleteChars", VALUEFUNC(_wrap_WSCstring_deleteChars), -1);
    rb_define_method(cWSCstring.klass, "clear", VALUEFUNC(_wrap_WSCstring_clear), -1);
    rb_define_method(cWSCstring.klass, "delLineFeed", VALUEFUNC(_wrap_WSCstring_delLineFeed), -1);
    rb_define_method(cWSCstring.klass, "delString", VALUEFUNC(_wrap_WSCstring_delString), -1);
    rb_define_method(cWSCstring.klass, "delHeadSpace", VALUEFUNC(_wrap_WSCstring_delHeadSpace), -1);
    rb_define_method(cWSCstring.klass, "delTailSpace", VALUEFUNC(_wrap_WSCstring_delTailSpace), -1);
    rb_define_method(cWSCstring.klass, "to_upper", VALUEFUNC(_wrap_WSCstring_to_upper), -1);
    rb_define_method(cWSCstring.klass, "to_lower", VALUEFUNC(_wrap_WSCstring_to_lower), -1);
    rb_define_method(cWSCstring.klass, "replaceString", VALUEFUNC(_wrap_WSCstring_replaceString), -1);
    rb_define_method(cWSCstring.klass, "getWords", VALUEFUNC(_wrap_WSCstring_getWords), -1);
    rb_define_method(cWSCstring.klass, "getWordCharPos", VALUEFUNC(_wrap_WSCstring_getWordCharPos), -1);
    rb_define_method(cWSCstring.klass, "getWord", VALUEFUNC(_wrap_WSCstring_getWord), -1);
    rb_define_method(cWSCstring.klass, "_seek_next_line", VALUEFUNC(_wrap_WSCstring__seek_next_line), -1);
    rb_define_method(cWSCstring.klass, "tell", VALUEFUNC(_wrap_WSCstring_tell), -1);
    rb_define_method(cWSCstring.klass, "seek", VALUEFUNC(_wrap_WSCstring_seek), -1);
    rb_define_method(cWSCstring.klass, "seekEnd", VALUEFUNC(_wrap_WSCstring_seekEnd), -1);
    rb_define_method(cWSCstring.klass, "eof", VALUEFUNC(_wrap_WSCstring_eof), -1);
    rb_define_method(cWSCstring.klass, "getLines", VALUEFUNC(_wrap_WSCstring_getLines), -1);
    rb_define_method(cWSCstring.klass, "gets", VALUEFUNC(_wrap_WSCstring_gets), -1);
    rb_define_method(cWSCstring.klass, "+", VALUEFUNC(_wrap_WSCstring___add__), -1);
    rb_define_method(cWSCstring.klass, "<<", VALUEFUNC(_wrap_WSCstring___lshift__), -1);
    rb_define_method(cWSCstring.klass, "==", VALUEFUNC(_wrap_WSCstring___eq__), -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_alloc_func(cWSCvariant.klass, _wrap_WSCvariant_allocate);
    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, "getInstancePtr", VALUEFUNC(_wrap_WSCvariant_getInstancePtr), -1);
    rb_define_method(cWSCvariant.klass, "to_i", VALUEFUNC(_wrap_WSCvariant___int__), -1);
    rb_define_method(cWSCvariant.klass, "to_f", VALUEFUNC(_wrap_WSCvariant___float__), -1);
    rb_define_method(cWSCvariant.klass, "to_s", VALUEFUNC(_wrap_WSCvariant___str__), -1);
    rb_define_method(cWSCvariant.klass, "to_bool", VALUEFUNC(_wrap_WSCvariant_to_bool), -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_alloc_func(cWSDappDev.klass, _wrap_WSDappDev_allocate);
    rb_define_method(cWSDappDev.klass, "initialize", VALUEFUNC(_wrap_new_WSDappDev), -1);
    rb_define_method(cWSDappDev.klass, "execInitHandler", VALUEFUNC(_wrap_WSDappDev_execInitHandler), -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);
    rb_define_method(cWSDappDev.klass, "exit", VALUEFUNC(_wrap_WSDappDev_exit), -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, "WSGFdestroyWindow", VALUEFUNC(_wrap_WSGFdestroyWindow), -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_alloc_func(cWSCbase.klass, _wrap_WSCbase_allocate);
    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, "getChildInstance", VALUEFUNC(_wrap_WSCbase_getChildInstance), -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;
    
    cWSDmouse.klass = rb_define_class_under(mMpfc, "WSDmouse", rb_cObject);
    SWIG_TypeClientData(SWIGTYPE_p_WSDmouse, (void *) &cWSDmouse);
    rb_define_alloc_func(cWSDmouse.klass, _wrap_WSDmouse_allocate);
    rb_define_method(cWSDmouse.klass, "initialize", VALUEFUNC(_wrap_new_WSDmouse), -1);
    rb_define_method(cWSDmouse.klass, "getMousePosition", VALUEFUNC(_wrap_WSDmouse_getMousePosition), -1);
    rb_define_method(cWSDmouse.klass, "getMouseStatus", VALUEFUNC(_wrap_WSDmouse_getMouseStatus), -1);
    rb_define_method(cWSDmouse.klass, "setMousePosition", VALUEFUNC(_wrap_WSDmouse_setMousePosition), -1);
    rb_define_method(cWSDmouse.klass, "setMouseCursor", VALUEFUNC(_wrap_WSDmouse_setMouseCursor), -1);
    rb_define_method(cWSDmouse.klass, "addMouseCursor", VALUEFUNC(_wrap_WSDmouse_addMouseCursor), -1);
    rb_define_method(cWSDmouse.klass, "getMouseCursorName", VALUEFUNC(_wrap_WSDmouse_getMouseCursorName), -1);
    rb_define_method(cWSDmouse.klass, "getMouseCursorId", VALUEFUNC(_wrap_WSDmouse_getMouseCursorId), -1);
    rb_define_method(cWSDmouse.klass, "getMouseCursor", VALUEFUNC(_wrap_WSDmouse_getMouseCursor), -1);
    rb_define_method(cWSDmouse.klass, "getStatus", VALUEFUNC(_wrap_WSDmouse_getStatus), -1);
    rb_define_method(cWSDmouse.klass, "setStatus", VALUEFUNC(_wrap_WSDmouse_setStatus), -1);
    rb_define_method(cWSDmouse.klass, "getTargetBtn", VALUEFUNC(_wrap_WSDmouse_getTargetBtn), -1);
    rb_define_method(cWSDmouse.klass, "setTargetBtn", VALUEFUNC(_wrap_WSDmouse_setTargetBtn), -1);
    rb_define_method(cWSDmouse.klass, "setMouseFocusClient", VALUEFUNC(_wrap_WSDmouse_setMouseFocusClient), -1);
    rb_define_method(cWSDmouse.klass, "getMouseFocusClient", VALUEFUNC(_wrap_WSDmouse_getMouseFocusClient), -1);
    cWSDmouse.mark = 0;
    cWSDmouse.destroy = (void (*)(void *)) free_WSDmouse;
    rb_define_module_function(mMpfc, "WSGIappMouse", VALUEFUNC(_wrap_WSGIappMouse), -1);
    
    cWSCform.klass = rb_define_class_under(mMpfc, "WSCform", ((swig_class *) SWIGTYPE_p_WSCbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCform, (void *) &cWSCform);
    rb_define_alloc_func(cWSCform.klass, _wrap_WSCform_allocate);
    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_alloc_func(cWSCnwbase.klass, _wrap_WSCnwbase_allocate);
    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_alloc_func(cWSCngbase.klass, _wrap_WSCngbase_allocate);
    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_alloc_func(cWSCvlabel.klass, _wrap_WSCvlabel_allocate);
    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_alloc_func(cWSCvbtn.klass, _wrap_WSCvbtn_allocate);
    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_alloc_func(cWSCvfbtn.klass, _wrap_WSCvfbtn_allocate);
    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_alloc_func(cWSCvklabel.klass, _wrap_WSCvklabel_allocate);
    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_alloc_func(cWSCvkflabel.klass, _wrap_WSCvkflabel_allocate);
    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_alloc_func(cWSDkeyboard.klass, _wrap_WSDkeyboard_allocate);
    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_alloc_func(cWSCvifield.klass, _wrap_WSCvifield_allocate);
    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_alloc_func(cWSCvkslabel.klass, _wrap_WSCvkslabel_allocate);
    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_alloc_func(cWSCvmifield.klass, _wrap_WSCvmifield_allocate);
    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_alloc_func(cWSCvpifield.klass, _wrap_WSCvpifield_allocate);
    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_alloc_func(cWSCtextField.klass, _wrap_WSCtextField_allocate);
    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_alloc_func(cWSCvarrow.klass, _wrap_WSCvarrow_allocate);
    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_alloc_func(cWSCvscrBar.klass, _wrap_WSCvscrBar_allocate);
    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_alloc_func(cWSCvpolyAttr.klass, _wrap_WSCvpolyAttr_allocate);
    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_alloc_func(cWSCvmeter.klass, _wrap_WSCvmeter_allocate);
    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_alloc_func(cWSCvclock.klass, _wrap_WSCvclock_allocate);
    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_alloc_func(cWSCvslider.klass, _wrap_WSCvslider_allocate);
    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_alloc_func(cWSCpulldownMenu.klass, _wrap_WSCpulldownMenu_allocate);
    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_alloc_func(cWSCcomboBox.klass, _wrap_WSCcomboBox_allocate);
    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_alloc_func(cWSCoption.klass, _wrap_WSCoption_allocate);
    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_alloc_func(cWSCgrid.klass, _wrap_WSCgrid_allocate);
    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_alloc_func(cWSCvimage.klass, _wrap_WSCvimage_allocate);
    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_alloc_func(cWSCvrect.klass, _wrap_WSCvrect_allocate);
    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_alloc_func(cWSCvarc.klass, _wrap_WSCvarc_allocate);
    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_alloc_func(cWSCvpoly.klass, _wrap_WSCvpoly_allocate);
    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_alloc_func(cWSCvline.klass, _wrap_WSCvline_allocate);
    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_alloc_func(cWSDimage.klass, _wrap_WSDimage_allocate);
    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_alloc_func(cWSCvdrawingArea.klass, _wrap_WSCvdrawingArea_allocate);
    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_alloc_func(cWSCvbarGraph.klass, _wrap_WSCvbarGraph_allocate);
    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_alloc_func(cWSCvlineGraph.klass, _wrap_WSCvlineGraph_allocate);
    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_alloc_func(cWSCvgraphScale.klass, _wrap_WSCvgraphScale_allocate);
    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_alloc_func(cWSCvgraphMatrix.klass, _wrap_WSCvgraphMatrix_allocate);
    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_alloc_func(cWSCvtimer.klass, _wrap_WSCvtimer_allocate);
    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_alloc_func(cWSCvspace.klass, _wrap_WSCvspace_allocate);
    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_alloc_func(cWSCvballoonHelp.klass, _wrap_WSCvballoonHelp_allocate);
    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_alloc_func(cWSCvcsocket.klass, _wrap_WSCvcsocket_allocate);
    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_alloc_func(cWSCvssocket.klass, _wrap_WSCvssocket_allocate);
    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_alloc_func(cWSCvudpsocket.klass, _wrap_WSCvudpsocket_allocate);
    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_alloc_func(cWSCvremoteClient.klass, _wrap_WSCvremoteClient_allocate);
    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_alloc_func(cWSCvremoteServer.klass, _wrap_WSCvremoteServer_allocate);
    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_alloc_func(cWSCvdb.klass, _wrap_WSCvdb_allocate);
    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;
    rb_define_const(mMpfc,"WSCDB_SQL_CONCUR_READ_ONLY", INT2NUM(1));
    rb_define_const(mMpfc,"WSCDB_SQL_CONCUR_LOCK", INT2NUM(2));
    rb_define_const(mMpfc,"WSCDB_SQL_CONCUR_ROWVER", INT2NUM(3));
    rb_define_const(mMpfc,"WSCDB_SQL_CONCUR_VALUES", INT2NUM(4));
    rb_define_const(mMpfc,"WSCDB_SQL_CONCUR_DEFAULT", INT2NUM(1));
    rb_define_const(mMpfc,"WSCDB_SQL_CURSOR_FORWARD_ONLY", UINT2NUM(0UL));
    rb_define_const(mMpfc,"WSCDB_SQL_CURSOR_KEYSET_DRIVEN", UINT2NUM(1UL));
    rb_define_const(mMpfc,"WSCDB_SQL_CURSOR_DYNAMIC", UINT2NUM(2UL));
    rb_define_const(mMpfc,"WSCDB_SQL_CURSOR_STATIC", UINT2NUM(3UL));
    rb_define_const(mMpfc,"WSCDB_SQL_CURSOR_TYPE_DEFAULT", UINT2NUM(0UL));
    rb_define_const(mMpfc,"WSCDB_FIELD_TYPE_CHAR", INT2NUM(1));
    rb_define_const(mMpfc,"WSCDB_FIELD_TYPE_NUMERIC", INT2NUM(2));
    rb_define_const(mMpfc,"WSCDB_FIELD_TYPE_DECIMAL", INT2NUM(3));
    rb_define_const(mMpfc,"WSCDB_FIELD_TYPE_INTEGER", INT2NUM(4));
    rb_define_const(mMpfc,"WSCDB_FIELD_TYPE_SMALLINT", INT2NUM(5));
    rb_define_const(mMpfc,"WSCDB_FIELD_TYPE_FLOAT", INT2NUM(6));
    rb_define_const(mMpfc,"WSCDB_FIELD_TYPE_REAL", INT2NUM(7));
    rb_define_const(mMpfc,"WSCDB_FIELD_TYPE_DOUBLE", INT2NUM(8));
    rb_define_const(mMpfc,"WSCDB_FIELD_TYPE_DATE", INT2NUM(9));
    rb_define_const(mMpfc,"WSCDB_FIELD_TYPE_TIME", INT2NUM(10));
    rb_define_const(mMpfc,"WSCDB_FIELD_TYPE_TIMESTAMP", INT2NUM(11));
    rb_define_const(mMpfc,"WSCDB_FIELD_TYPE_NONE", INT2NUM(99));
    
    cWSCdbRecord.klass = rb_define_class_under(mMpfc, "WSCdbRecord", rb_cObject);
    SWIG_TypeClientData(SWIGTYPE_p_WSCdbRecord, (void *) &cWSCdbRecord);
    rb_define_alloc_func(cWSCdbRecord.klass, _wrap_WSCdbRecord_allocate);
    rb_define_method(cWSCdbRecord.klass, "initialize", VALUEFUNC(_wrap_new_WSCdbRecord), -1);
    rb_define_method(cWSCdbRecord.klass, "open", VALUEFUNC(_wrap_WSCdbRecord_open), -1);
    rb_define_method(cWSCdbRecord.klass, "close", VALUEFUNC(_wrap_WSCdbRecord_close), -1);
    rb_define_method(cWSCdbRecord.klass, "isEOF", VALUEFUNC(_wrap_WSCdbRecord_isEOF), -1);
    rb_define_method(cWSCdbRecord.klass, "isOpen", VALUEFUNC(_wrap_WSCdbRecord_isOpen), -1);
    rb_define_method(cWSCdbRecord.klass, "getColValue", VALUEFUNC(_wrap_WSCdbRecord_getColValue), -1);
    rb_define_method(cWSCdbRecord.klass, "setColValue", VALUEFUNC(_wrap_WSCdbRecord_setColValue), -1);
    rb_define_method(cWSCdbRecord.klass, "edit", VALUEFUNC(_wrap_WSCdbRecord_edit), -1);
    rb_define_method(cWSCdbRecord.klass, "update", VALUEFUNC(_wrap_WSCdbRecord_update), -1);
    rb_define_method(cWSCdbRecord.klass, "addnew", VALUEFUNC(_wrap_WSCdbRecord_addnew), -1);
    rb_define_method(cWSCdbRecord.klass, "deleterow", VALUEFUNC(_wrap_WSCdbRecord_deleterow), -1);
    rb_define_method(cWSCdbRecord.klass, "moveNext", VALUEFUNC(_wrap_WSCdbRecord_moveNext), -1);
    rb_define_method(cWSCdbRecord.klass, "movePrevious", VALUEFUNC(_wrap_WSCdbRecord_movePrevious), -1);
    rb_define_method(cWSCdbRecord.klass, "moveFirst", VALUEFUNC(_wrap_WSCdbRecord_moveFirst), -1);
    rb_define_method(cWSCdbRecord.klass, "moveLast", VALUEFUNC(_wrap_WSCdbRecord_moveLast), -1);
    rb_define_method(cWSCdbRecord.klass, "getColIndex", VALUEFUNC(_wrap_WSCdbRecord_getColIndex), -1);
    rb_define_method(cWSCdbRecord.klass, "getColType", VALUEFUNC(_wrap_WSCdbRecord_getColType), -1);
    rb_define_method(cWSCdbRecord.klass, "getColLength", VALUEFUNC(_wrap_WSCdbRecord_getColLength), -1);
    rb_define_method(cWSCdbRecord.klass, "getRowCount", VALUEFUNC(_wrap_WSCdbRecord_getRowCount), -1);
    rb_define_method(cWSCdbRecord.klass, "getColCount", VALUEFUNC(_wrap_WSCdbRecord_getColCount), -1);
    cWSCdbRecord.mark = 0;
    cWSCdbRecord.destroy = (void (*)(void *)) free_WSCdbRecord;
    
    cWSCwindow.klass = rb_define_class_under(mMpfc, "WSCwindow", ((swig_class *) SWIGTYPE_p_WSCbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCwindow, (void *) &cWSCwindow);
    rb_define_alloc_func(cWSCwindow.klass, _wrap_WSCwindow_allocate);
    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_alloc_func(cWSCmainWindow.klass, _wrap_WSCmainWindow_allocate);
    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_alloc_func(cWSCbaseDialog.klass, _wrap_WSCbaseDialog_allocate);
    rb_define_method(cWSCbaseDialog.klass, "initialize", VALUEFUNC(_wrap_new_WSCbaseDialog), -1);
    rb_define_method(cWSCbaseDialog.klass, "getStatus", VALUEFUNC(_wrap_WSCbaseDialog_getStatus), -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_alloc_func(cWSCdialog.klass, _wrap_WSCdialog_allocate);
    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_alloc_func(cWSCmessageDialog.klass, _wrap_WSCmessageDialog_allocate);
    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_alloc_func(cWSCinputDialog.klass, _wrap_WSCinputDialog_allocate);
    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_alloc_func(cWSCwizardDialog.klass, _wrap_WSCwizardDialog_allocate);
    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_alloc_func(cWSCfileSelect.klass, _wrap_WSCfileSelect_allocate);
    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_alloc_func(cWSCworkingDialog.klass, _wrap_WSCworkingDialog_allocate);
    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_alloc_func(cWSCindexForm.klass, _wrap_WSCindexForm_allocate);
    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_alloc_func(cWSCsform.klass, _wrap_WSCsform_allocate);
    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_alloc_func(cWSCvtoggle.klass, _wrap_WSCvtoggle_allocate);
    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_alloc_func(cWSCvradio.klass, _wrap_WSCvradio_allocate);
    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_alloc_func(cWSCradioGroup.klass, _wrap_WSCradioGroup_allocate);
    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_alloc_func(cWSCcheckGroup.klass, _wrap_WSCcheckGroup_allocate);
    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_alloc_func(cWSCvertForm.klass, _wrap_WSCvertForm_allocate);
    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_alloc_func(cWSChorzForm.klass, _wrap_WSChorzForm_allocate);
    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_alloc_func(cWSCmenuArea.klass, _wrap_WSCmenuArea_allocate);
    rb_define_method(cWSCmenuArea.klass, "initialize", VALUEFUNC(_wrap_new_WSCmenuArea), -1);
    cWSCmenuArea.mark = 0;
    cWSCmenuArea.destroy = (void (*)(void *)) free_WSCmenuArea;
    
    cWSCtform.klass = rb_define_class_under(mMpfc, "WSCtform", ((swig_class *) SWIGTYPE_p_WSCform->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCtform, (void *) &cWSCtform);
    rb_define_alloc_func(cWSCtform.klass, _wrap_WSCtform_allocate);
    rb_define_method(cWSCtform.klass, "initialize", VALUEFUNC(_wrap_new_WSCtform), -1);
    cWSCtform.mark = 0;
    cWSCtform.destroy = (void (*)(void *)) free_WSCtform;
    
    cWSCfform.klass = rb_define_class_under(mMpfc, "WSCfform", ((swig_class *) SWIGTYPE_p_WSCbase->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCfform, (void *) &cWSCfform);
    rb_define_alloc_func(cWSCfform.klass, _wrap_WSCfform_allocate);
    rb_define_method(cWSCfform.klass, "initialize", VALUEFUNC(_wrap_new_WSCfform), -1);
    rb_define_method(cWSCfform.klass, "execResizeEvent", VALUEFUNC(_wrap_WSCfform_execResizeEvent), -1);
    rb_define_method(cWSCfform.klass, "setNoRefresh", VALUEFUNC(_wrap_WSCfform_setNoRefresh), -1);
    rb_define_method(cWSCfform.klass, "getNoRefresh", VALUEFUNC(_wrap_WSCfform_getNoRefresh), -1);
    rb_define_method(cWSCfform.klass, "setFloated", VALUEFUNC(_wrap_WSCfform_setFloated), -1);
    rb_define_method(cWSCfform.klass, "getFloated", VALUEFUNC(_wrap_WSCfform_getFloated), -1);
    rb_define_method(cWSCfform.klass, "getPixmapStyle", VALUEFUNC(_wrap_WSCfform_getPixmapStyle), -1);
    cWSCfform.mark = 0;
    cWSCfform.destroy = (void (*)(void *)) free_WSCfform;
    
    cWSCprform.klass = rb_define_class_under(mMpfc, "WSCprform", ((swig_class *) SWIGTYPE_p_WSCform->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCprform, (void *) &cWSCprform);
    rb_define_alloc_func(cWSCprform.klass, _wrap_WSCprform_allocate);
    rb_define_method(cWSCprform.klass, "initialize", VALUEFUNC(_wrap_new_WSCprform), -1);
    rb_define_method(cWSCprform.klass, "prdraw", VALUEFUNC(_wrap_WSCprform_prdraw), -1);
    cWSCprform.mark = 0;
    cWSCprform.destroy = (void (*)(void *)) free_WSCprform;
    
    cWSCj3wform.klass = rb_define_class_under(mMpfc, "WSCj3wform", ((swig_class *) SWIGTYPE_p_WSCform->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCj3wform, (void *) &cWSCj3wform);
    rb_define_alloc_func(cWSCj3wform.klass, _wrap_WSCj3wform_allocate);
    rb_define_method(cWSCj3wform.klass, "initialize", VALUEFUNC(_wrap_new_WSCj3wform), -1);
    rb_define_method(cWSCj3wform.klass, "loadFile", VALUEFUNC(_wrap_WSCj3wform_loadFile), -1);
    cWSCj3wform.mark = 0;
    cWSCj3wform.destroy = (void (*)(void *)) free_WSCj3wform;
    
    cWSCscrForm.klass = rb_define_class_under(mMpfc, "WSCscrForm", ((swig_class *) SWIGTYPE_p_WSCform->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCscrForm, (void *) &cWSCscrForm);
    rb_define_alloc_func(cWSCscrForm.klass, _wrap_WSCscrForm_allocate);
    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_alloc_func(cWSClist.klass, _wrap_WSClist_allocate);
    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_alloc_func(cWSCverbList.klass, _wrap_WSCverbList_allocate);
    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_alloc_func(cWSCtreeList.klass, _wrap_WSCtreeList_allocate);
    rb_define_method(cWSCtreeList.klass, "initialize", VALUEFUNC(_wrap_new_WSCtreeList), -1);
    cWSCtreeList.mark = 0;
    cWSCtreeList.destroy = (void (*)(void *)) free_WSCtreeList;
    
    cWSCdirTree.klass = rb_define_class_under(mMpfc, "WSCdirTree", ((swig_class *) SWIGTYPE_p_WSCtreeList->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCdirTree, (void *) &cWSCdirTree);
    rb_define_alloc_func(cWSCdirTree.klass, _wrap_WSCdirTree_allocate);
    rb_define_method(cWSCdirTree.klass, "initialize", VALUEFUNC(_wrap_new_WSCdirTree), -1);
    rb_define_method(cWSCdirTree.klass, "setSelectedDirName", VALUEFUNC(_wrap_WSCdirTree_setSelectedDirName), -1);
    rb_define_method(cWSCdirTree.klass, "getSelectedDirName", VALUEFUNC(_wrap_WSCdirTree_getSelectedDirName), -1);
    cWSCdirTree.mark = 0;
    cWSCdirTree.destroy = (void (*)(void *)) free_WSCdirTree;
    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_alloc_func(cWSDcolor.klass, _wrap_WSDcolor_allocate);
    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_alloc_func(cWSCcolorSet.klass, _wrap_WSCcolorSet_allocate);
    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_alloc_func(cWSCimageSet.klass, _wrap_WSCimageSet_allocate);
    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_alloc_func(cWSDfont.klass, _wrap_WSDfont_allocate);
    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_alloc_func(cWSCfontSet.klass, _wrap_WSCfontSet_allocate);
    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_alloc_func(cWSCbaseList.klass, _wrap_WSCbaseList_allocate);
    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,"WSCSHEET_DEFAULT", INT2NUM(-1));
    rb_define_const(mMpfc,"WSCSHEET_NONE", INT2NUM(0));
    rb_define_const(mMpfc,"WSCSHEET_HORZ", INT2NUM(1));
    rb_define_const(mMpfc,"WSCSHEET_VERT", INT2NUM(2));
    rb_define_const(mMpfc,"WSCSHEET_BOTH", INT2NUM(3));
    rb_define_const(mMpfc,"WSCSHEET_DEF_ROW_HEIGHT", INT2NUM(20));
    rb_define_const(mMpfc,"WSCSHEET_DEF_COL_WIDTH", INT2NUM(80));
    rb_define_const(mMpfc,"WSCSHEET_DEFCOLOR", INT2NUM(0));
    rb_define_const(mMpfc,"WSCSHEET_DEFFONT", INT2NUM(-1));
    rb_define_const(mMpfc,"WSCSHEET_DEF_ROWS", INT2NUM(51));
    rb_define_const(mMpfc,"WSCSHEET_DEF_COLS", INT2NUM(11));
    rb_define_const(mMpfc,"WSCSHEET_DEF_FIXEDROWS", INT2NUM(1));
    rb_define_const(mMpfc,"WSCSHEET_DEF_FIXEDCOLS", INT2NUM(1));
    rb_define_const(mMpfc,"WSCSHEET_DB_SORT_ASC", INT2NUM(0));
    rb_define_const(mMpfc,"WSCSHEET_DB_SORT_DESC", INT2NUM(1));
    
    cWSCsheet.klass = rb_define_class_under(mMpfc, "WSCsheet", ((swig_class *) SWIGTYPE_p_WSCform->clientdata)->klass);
    SWIG_TypeClientData(SWIGTYPE_p_WSCsheet, (void *) &cWSCsheet);
    rb_define_alloc_func(cWSCsheet.klass, _wrap_WSCsheet_allocate);
    rb_define_method(cWSCsheet.klass, "initialize", VALUEFUNC(_wrap_new_WSCsheet), -1);
    rb_define_method(cWSCsheet.klass, "init", VALUEFUNC(_wrap_WSCsheet_init), -1);
    rb_define_method(cWSCsheet.klass, "clear", VALUEFUNC(_wrap_WSCsheet_clear), -1);
    rb_define_method(cWSCsheet.klass, "getRowCount", VALUEFUNC(_wrap_WSCsheet_getRowCount), -1);
    rb_define_method(cWSCsheet.klass, "setRowCount", VALUEFUNC(_wrap_WSCsheet_setRowCount), -1);
    rb_define_method(cWSCsheet.klass, "getColumnCount", VALUEFUNC(_wrap_WSCsheet_getColumnCount), -1);
    rb_define_method(cWSCsheet.klass, "setColumnCount", VALUEFUNC(_wrap_WSCsheet_setColumnCount), -1);
    rb_define_method(cWSCsheet.klass, "getRowHeight", VALUEFUNC(_wrap_WSCsheet_getRowHeight), -1);
    rb_define_method(cWSCsheet.klass, "setRowHeight", VALUEFUNC(_wrap_WSCsheet_setRowHeight), -1);
    rb_define_method(cWSCsheet.klass, "getColumnWidth", VALUEFUNC(_wrap_WSCsheet_getColumnWidth), -1);
    rb_define_method(cWSCsheet.klass, "setColumnWidth", VALUEFUNC(_wrap_WSCsheet_setColumnWidth), -1);
    rb_define_method(cWSCsheet.klass, "getFixedRowCount", VALUEFUNC(_wrap_WSCsheet_getFixedRowCount), -1);
    rb_define_method(cWSCsheet.klass, "setFixedRowCount", VALUEFUNC(_wrap_WSCsheet_setFixedRowCount), -1);
    rb_define_method(cWSCsheet.klass, "getFixedColumnCount", VALUEFUNC(_wrap_WSCsheet_getFixedColumnCount), -1);
    rb_define_method(cWSCsheet.klass, "setFixedColumnCount", VALUEFUNC(_wrap_WSCsheet_setFixedColumnCount), -1);
    rb_define_method(cWSCsheet.klass, "getFixedRowHeight", VALUEFUNC(_wrap_WSCsheet_getFixedRowHeight), -1);
    rb_define_method(cWSCsheet.klass, "setFixedRowHeight", VALUEFUNC(_wrap_WSCsheet_setFixedRowHeight), -1);
    rb_define_method(cWSCsheet.klass, "getFixedColumnWidth", VALUEFUNC(_wrap_WSCsheet_getFixedColumnWidth), -1);
    rb_define_method(cWSCsheet.klass, "setFixedColumnWidth", VALUEFUNC(_wrap_WSCsheet_setFixedColumnWidth), -1);
    rb_define_method(cWSCsheet.klass, "setSheetBkColor", VALUEFUNC(_wrap_WSCsheet_setSheetBkColor), -1);
    rb_define_method(cWSCsheet.klass, "getSheetBkColor", VALUEFUNC(_wrap_WSCsheet_getSheetBkColor), -1);
    rb_define_method(cWSCsheet.klass, "setCellDefBkColor", VALUEFUNC(_wrap_WSCsheet_setCellDefBkColor), -1);
    rb_define_method(cWSCsheet.klass, "getCellDefBkColor", VALUEFUNC(_wrap_WSCsheet_getCellDefBkColor), -1);
    rb_define_method(cWSCsheet.klass, "setCellBkColor", VALUEFUNC(_wrap_WSCsheet_setCellBkColor), -1);
    rb_define_method(cWSCsheet.klass, "getCellBkColor", VALUEFUNC(_wrap_WSCsheet_getCellBkColor), -1);
    rb_define_method(cWSCsheet.klass, "setCellDefTextColor", VALUEFUNC(_wrap_WSCsheet_setCellDefTextColor), -1);
    rb_define_method(cWSCsheet.klass, "getCellDefTextColor", VALUEFUNC(_wrap_WSCsheet_getCellDefTextColor), -1);
    rb_define_method(cWSCsheet.klass, "setCellTextColor", VALUEFUNC(_wrap_WSCsheet_setCellTextColor), -1);
    rb_define_method(cWSCsheet.klass, "getCellTextColor", VALUEFUNC(_wrap_WSCsheet_getCellTextColor), -1);
    rb_define_method(cWSCsheet.klass, "setFixedBkColor", VALUEFUNC(_wrap_WSCsheet_setFixedBkColor), -1);
    rb_define_method(cWSCsheet.klass, "getFixedBkColor", VALUEFUNC(_wrap_WSCsheet_getFixedBkColor), -1);
    rb_define_method(cWSCsheet.klass, "setFixedTextColor", VALUEFUNC(_wrap_WSCsheet_setFixedTextColor), -1);
    rb_define_method(cWSCsheet.klass, "getFixedTextColor", VALUEFUNC(_wrap_WSCsheet_getFixedTextColor), -1);
    rb_define_method(cWSCsheet.klass, "setGridColor", VALUEFUNC(_wrap_WSCsheet_setGridColor), -1);
    rb_define_method(cWSCsheet.klass, "getGridColor", VALUEFUNC(_wrap_WSCsheet_getGridColor), -1);
    rb_define_method(cWSCsheet.klass, "setGridLines", VALUEFUNC(_wrap_WSCsheet_setGridLines), -1);
    rb_define_method(cWSCsheet.klass, "getGridLines", VALUEFUNC(_wrap_WSCsheet_getGridLines), -1);
    rb_define_method(cWSCsheet.klass, "setCellGridLines", VALUEFUNC(_wrap_WSCsheet_setCellGridLines), -1);
    rb_define_method(cWSCsheet.klass, "getCellGridLines", VALUEFUNC(_wrap_WSCsheet_getCellGridLines), -1);
    rb_define_method(cWSCsheet.klass, "setText", VALUEFUNC(_wrap_WSCsheet_setText), -1);
    rb_define_method(cWSCsheet.klass, "getText", VALUEFUNC(_wrap_WSCsheet_getText), -1);
    rb_define_method(cWSCsheet.klass, "setFixedText", VALUEFUNC(_wrap_WSCsheet_setFixedText), -1);
    rb_define_method(cWSCsheet.klass, "getFixedText", VALUEFUNC(_wrap_WSCsheet_getFixedText), -1);
    rb_define_method(cWSCsheet.klass, "getCellNo", VALUEFUNC(_wrap_WSCsheet_getCellNo), -1);
    rb_define_method(cWSCsheet.klass, "setFocusCell", VALUEFUNC(_wrap_WSCsheet_setFocusCell), -1);
    rb_define_method(cWSCsheet.klass, "getFocusCell", VALUEFUNC(_wrap_WSCsheet_getFocusCell), -1);
    rb_define_method(cWSCsheet.klass, "getFocusCol", VALUEFUNC(_wrap_WSCsheet_getFocusCol), -1);
    rb_define_method(cWSCsheet.klass, "getFocusRow", VALUEFUNC(_wrap_WSCsheet_getFocusRow), -1);
    rb_define_method(cWSCsheet.klass, "setRow", VALUEFUNC(_wrap_WSCsheet_setRow), -1);
    rb_define_method(cWSCsheet.klass, "getRow", VALUEFUNC(_wrap_WSCsheet_getRow), -1);
    rb_define_method(cWSCsheet.klass, "setStartRow", VALUEFUNC(_wrap_WSCsheet_setStartRow), -1);
    rb_define_method(cWSCsheet.klass, "getStartRow", VALUEFUNC(_wrap_WSCsheet_getStartRow), -1);
    rb_define_method(cWSCsheet.klass, "setEndRow", VALUEFUNC(_wrap_WSCsheet_setEndRow), -1);
    rb_define_method(cWSCsheet.klass, "getEndRow", VALUEFUNC(_wrap_WSCsheet_getEndRow), -1);
    rb_define_method(cWSCsheet.klass, "setCol", VALUEFUNC(_wrap_WSCsheet_setCol), -1);
    rb_define_method(cWSCsheet.klass, "getCol", VALUEFUNC(_wrap_WSCsheet_getCol), -1);
    rb_define_method(cWSCsheet.klass, "setStartCol", VALUEFUNC(_wrap_WSCsheet_setStartCol), -1);
    rb_define_method(cWSCsheet.klass, "getStartCol", VALUEFUNC(_wrap_WSCsheet_getStartCol), -1);
    rb_define_method(cWSCsheet.klass, "setEndCol", VALUEFUNC(_wrap_WSCsheet_setEndCol), -1);
    rb_define_method(cWSCsheet.klass, "getEndCol", VALUEFUNC(_wrap_WSCsheet_getEndCol), -1);
    rb_define_method(cWSCsheet.klass, "setSelectCell", VALUEFUNC(_wrap_WSCsheet_setSelectCell), -1);
    rb_define_method(cWSCsheet.klass, "getSelectCell", VALUEFUNC(_wrap_WSCsheet_getSelectCell), -1);
    rb_define_method(cWSCsheet.klass, "setEditEnabled", VALUEFUNC(_wrap_WSCsheet_setEditEnabled), -1);
    rb_define_method(cWSCsheet.klass, "getEditEnabled", VALUEFUNC(_wrap_WSCsheet_getEditEnabled), -1);
    rb_define_method(cWSCsheet.klass, "getFocusCellRect", VALUEFUNC(_wrap_WSCsheet_getFocusCellRect), -1);
    rb_define_method(cWSCsheet.klass, "getVisibleCellRect", VALUEFUNC(_wrap_WSCsheet_getVisibleCellRect), -1);
    rb_define_method(cWSCsheet.klass, "getCellRect", VALUEFUNC(_wrap_WSCsheet_getCellRect), -1);
    rb_define_method(cWSCsheet.klass, "setTopVisibleRow", VALUEFUNC(_wrap_WSCsheet_setTopVisibleRow), -1);
    rb_define_method(cWSCsheet.klass, "getTopVisibleRow", VALUEFUNC(_wrap_WSCsheet_getTopVisibleRow), -1);
    rb_define_method(cWSCsheet.klass, "setTopVisibleCol", VALUEFUNC(_wrap_WSCsheet_setTopVisibleCol), -1);
    rb_define_method(cWSCsheet.klass, "getTopVisibleCol", VALUEFUNC(_wrap_WSCsheet_getTopVisibleCol), -1);
    rb_define_method(cWSCsheet.klass, "setCellDefFont", VALUEFUNC(_wrap_WSCsheet_setCellDefFont), -1);
    rb_define_method(cWSCsheet.klass, "getCellDefFont", VALUEFUNC(_wrap_WSCsheet_getCellDefFont), -1);
    rb_define_method(cWSCsheet.klass, "setCellFont", VALUEFUNC(_wrap_WSCsheet_setCellFont), -1);
    rb_define_method(cWSCsheet.klass, "getCellFont", VALUEFUNC(_wrap_WSCsheet_getCellFont), -1);
    rb_define_method(cWSCsheet.klass, "setFixedCellFont", VALUEFUNC(_wrap_WSCsheet_setFixedCellFont), -1);
    rb_define_method(cWSCsheet.klass, "getFixedCellFont", VALUEFUNC(_wrap_WSCsheet_getFixedCellFont), -1);
    rb_define_method(cWSCsheet.klass, "setVertAutoNumber", VALUEFUNC(_wrap_WSCsheet_setVertAutoNumber), -1);
    rb_define_method(cWSCsheet.klass, "getVertAutoNumber", VALUEFUNC(_wrap_WSCsheet_getVertAutoNumber), -1);
    rb_define_method(cWSCsheet.klass, "setHorzAutoNumber", VALUEFUNC(_wrap_WSCsheet_setHorzAutoNumber), -1);
    rb_define_method(cWSCsheet.klass, "getHorzAutoNumber", VALUEFUNC(_wrap_WSCsheet_getHorzAutoNumber), -1);
    rb_define_method(cWSCsheet.klass, "setCellAlignemnt", VALUEFUNC(_wrap_WSCsheet_setCellAlignemnt), -1);
    rb_define_method(cWSCsheet.klass, "getCellAlignemnt", VALUEFUNC(_wrap_WSCsheet_getCellAlignemnt), -1);
    rb_define_method(cWSCsheet.klass, "setFixedCellAlignemnt", VALUEFUNC(_wrap_WSCsheet_setFixedCellAlignemnt), -1);
    rb_define_method(cWSCsheet.klass, "getFixedCellAlignemnt", VALUEFUNC(_wrap_WSCsheet_getFixedCellAlignemnt), -1);
    rb_define_method(cWSCsheet.klass, "setCellLock", VALUEFUNC(_wrap_WSCsheet_setCellLock), -1);
    rb_define_method(cWSCsheet.klass, "getCellLock", VALUEFUNC(_wrap_WSCsheet_getCellLock), -1);
    rb_define_method(cWSCsheet.klass, "getClientWidth", VALUEFUNC(_wrap_WSCsheet_getClientWidth), -1);
    rb_define_method(cWSCsheet.klass, "getClientHeight", VALUEFUNC(_wrap_WSCsheet_getClientHeight), -1);
    rb_define_method(cWSCsheet.klass, "setNoRefresh", VALUEFUNC(_wrap_WSCsheet_setNoRefresh), -1);
    rb_define_method(cWSCsheet.klass, "getNoRefresh", VALUEFUNC(_wrap_WSCsheet_getNoRefresh), -1);
    rb_define_method(cWSCsheet.klass, "insertRow", VALUEFUNC(_wrap_WSCsheet_insertRow), -1);
    rb_define_method(cWSCsheet.klass, "insertCol", VALUEFUNC(_wrap_WSCsheet_insertCol), -1);
    rb_define_method(cWSCsheet.klass, "deleteRow", VALUEFUNC(_wrap_WSCsheet_deleteRow), -1);
    rb_define_method(cWSCsheet.klass, "deleteCol", VALUEFUNC(_wrap_WSCsheet_deleteCol), -1);
    rb_define_method(cWSCsheet.klass, "setDataSource", VALUEFUNC(_wrap_WSCsheet_setDataSource), -1);
    rb_define_method(cWSCsheet.klass, "getDataSource", VALUEFUNC(_wrap_WSCsheet_getDataSource), -1);
    rb_define_method(cWSCsheet.klass, "setTableName", VALUEFUNC(_wrap_WSCsheet_setTableName), -1);
    rb_define_method(cWSCsheet.klass, "getTableName", VALUEFUNC(_wrap_WSCsheet_getTableName), -1);
    rb_define_method(cWSCsheet.klass, "setDbItem", VALUEFUNC(_wrap_WSCsheet_setDbItem), -1);
    rb_define_method(cWSCsheet.klass, "getDbItem", VALUEFUNC(_wrap_WSCsheet_getDbItem), -1);
    rb_define_method(cWSCsheet.klass, "setDbSortItem1", VALUEFUNC(_wrap_WSCsheet_setDbSortItem1), -1);
    rb_define_method(cWSCsheet.klass, "getDbSortItem1", VALUEFUNC(_wrap_WSCsheet_getDbSortItem1), -1);
    rb_define_method(cWSCsheet.klass, "setDbSort1", VALUEFUNC(_wrap_WSCsheet_setDbSort1), -1);
    rb_define_method(cWSCsheet.klass, "getDbSort1", VALUEFUNC(_wrap_WSCsheet_getDbSort1), -1);
    rb_define_method(cWSCsheet.klass, "setDbSortItem2", VALUEFUNC(_wrap_WSCsheet_setDbSortItem2), -1);
    rb_define_method(cWSCsheet.klass, "getDbSortItem2", VALUEFUNC(_wrap_WSCsheet_getDbSortItem2), -1);
    rb_define_method(cWSCsheet.klass, "setDbSort2", VALUEFUNC(_wrap_WSCsheet_setDbSort2), -1);
    rb_define_method(cWSCsheet.klass, "getDbSort2", VALUEFUNC(_wrap_WSCsheet_getDbSort2), -1);
    rb_define_method(cWSCsheet.klass, "setDbSortItem3", VALUEFUNC(_wrap_WSCsheet_setDbSortItem3), -1);
    rb_define_method(cWSCsheet.klass, "getDbSortItem3", VALUEFUNC(_wrap_WSCsheet_getDbSortItem3), -1);
    rb_define_method(cWSCsheet.klass, "setDbSort3", VALUEFUNC(_wrap_WSCsheet_setDbSort3), -1);
    rb_define_method(cWSCsheet.klass, "getDbSort3", VALUEFUNC(_wrap_WSCsheet_getDbSort3), -1);
    rb_define_method(cWSCsheet.klass, "setDbFilter", VALUEFUNC(_wrap_WSCsheet_setDbFilter), -1);
    rb_define_method(cWSCsheet.klass, "getDbFilter", VALUEFUNC(_wrap_WSCsheet_getDbFilter), -1);
    rb_define_method(cWSCsheet.klass, "setDbStmtString", VALUEFUNC(_wrap_WSCsheet_setDbStmtString), -1);
    rb_define_method(cWSCsheet.klass, "getDbStmtString", VALUEFUNC(_wrap_WSCsheet_getDbStmtString), -1);
    rb_define_method(cWSCsheet.klass, "dbRefresh", VALUEFUNC(_wrap_WSCsheet_dbRefresh), -1);
    cWSCsheet.mark = 0;
    cWSCsheet.destroy = (void (*)(void *)) free_WSCsheet;
    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,"WSEV_INITIALIZE", INT2NUM(0));
    rb_define_const(mMpfc,"WSEV_DELETE", INT2NUM(1));
    rb_define_const(mMpfc,"WSEV_ACTIVATE", INT2NUM(2));
    rb_define_const(mMpfc,"WSEV_VALUE_CH", INT2NUM(3));
    rb_define_const(mMpfc,"WSEV_FOCUS_CH", INT2NUM(4));
    rb_define_const(mMpfc,"WSEV_VISIBLE_CH", INT2NUM(5));
    rb_define_const(mMpfc,"WSEV_SENSITIVE_CH", INT2NUM(6));
    rb_define_const(mMpfc,"WSEV_PARENT_VISIBLE_CH", INT2NUM(7));
    rb_define_const(mMpfc,"WSEV_PARENT_SENSITIVE_CH", INT2NUM(8));
    rb_define_const(mMpfc,"WSEV_EXPOSE", INT2NUM(9));
    rb_define_const(mMpfc,"WSEV_RESIZE", INT2NUM(10));
    rb_define_const(mMpfc,"WSEV_MOUSE_IN", INT2NUM(11));
    rb_define_const(mMpfc,"WSEV_MOUSE_OUT", INT2NUM(12));
    rb_define_const(mMpfc,"WSEV_MOUSE_PRESS", INT2NUM(13));
    rb_define_const(mMpfc,"WSEV_MOUSE_RELEASE", INT2NUM(14));
    rb_define_const(mMpfc,"WSEV_MOUSE_MOVE", INT2NUM(15));
    rb_define_const(mMpfc,"WSEV_KEY_PRESS", INT2NUM(16));
    rb_define_const(mMpfc,"WSEV_KEY_RELEASE", INT2NUM(17));
    rb_define_const(mMpfc,"WSEV_KEY_HOOK", INT2NUM(18));
    rb_define_const(mMpfc,"WSEV_MOUSE_DOUBLE_CLICK", INT2NUM(19));
    rb_define_const(mMpfc,"WSEV_SORT", INT2NUM(33));
    rb_define_const(mMpfc,"WSEV_GUI_POLICY_CH", INT2NUM(34));
    rb_define_const(mMpfc,"WSEV_ITEM_SELECTED", INT2NUM(35));
    rb_define_const(mMpfc,"WSEV_STATUS_CH", INT2NUM(36));
    rb_define_const(mMpfc,"WSEV_INPUT_FIXED", INT2NUM(37));
    rb_define_const(mMpfc,"WSEV_BEGIN", INT2NUM(38));
    rb_define_const(mMpfc,"WSEV_END", INT2NUM(39));
    rb_define_const(mMpfc,"WSEV_INCREMENT", INT2NUM(40));
    rb_define_const(mMpfc,"WSEV_DECREMENT", INT2NUM(41));
    rb_define_const(mMpfc,"WSEV_PAGE_INCREMENT", INT2NUM(42));
    rb_define_const(mMpfc,"WSEV_PAGE_DECREMENT", INT2NUM(43));
    rb_define_const(mMpfc,"WSEV_SCR_MOUSE_PRESS", INT2NUM(44));
    rb_define_const(mMpfc,"WSEV_SCR_MOUSE_RELEASE", INT2NUM(45));
    rb_define_const(mMpfc,"WSEV_SCR_MOUSE_MOVE", INT2NUM(46));
    rb_define_const(mMpfc,"WSEV_EDIT_MODE_CH", INT2NUM(47));
    rb_define_const(mMpfc,"WSEV_SPECIAL_FOCUS_CH", INT2NUM(48));
    rb_define_const(mMpfc,"WSEV_CHILD_ADDED", INT2NUM(49));
    rb_define_const(mMpfc,"WSEV_SELECTION_CH", INT2NUM(50));
    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));
    rb_define_const(mMpfc,"WS_LIST_TREE_OPEN", rb_str_new2("list-tr-open"));
    rb_define_const(mMpfc,"WS_LIST_TREE_OPEN_CH", rb_str_new2("list-tr-open-ch"));
    rb_define_const(mMpfc,"WS_LIST_INDENT_LEVEL", rb_str_new2("list-indent-level"));
    rb_define_const(mMpfc,"WS_LIST_INDENT_STATUS", rb_str_new2("list-indent-status"));
    rb_define_const(mMpfc,"WS_LIST_LABEL_LIST", rb_str_new2("list-lb-list"));
    rb_define_const(mMpfc,"WS_LIST_TOP", rb_str_new2("list-lb-top"));
}

