/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.24
 * 
 * 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. 
 * ----------------------------------------------------------------------------- */


#ifndef SWIG_TEMPLATE_DISAMBIGUATOR
#  if defined(__SUNPRO_CC) 
#    define SWIG_TEMPLATE_DISAMBIGUATOR template
#  else
#    define SWIG_TEMPLATE_DISAMBIGUATOR 
#  endif
#endif

/***********************************************************************
 * swigrun.swg
 *
 *     This file contains generic CAPI SWIG runtime support for pointer
 *     type checking.
 *
 ************************************************************************/

/* This should only be incremented when either the layout of swig_type_info changes,
   or for whatever reason, the runtime changes incompatibly */
#define SWIG_RUNTIME_VERSION "1"

/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
#ifdef SWIG_TYPE_TABLE
#define SWIG_QUOTE_STRING(x) #x
#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
#else
#define SWIG_TYPE_TABLE_NAME
#endif

#include <string.h>

#ifndef SWIGINLINE
#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
#  define SWIGINLINE inline
#else
#  define SWIGINLINE
#endif
#endif

/*
  You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
  creating a static or dynamic library from the swig runtime code.
  In 99.9% of the cases, swig just needs to declare them as 'static'.
  
  But only do this if is strictly necessary, ie, if you have problems
  with your compiler or so.
*/
#ifndef SWIGRUNTIME
#define SWIGRUNTIME static
#endif
#ifndef SWIGRUNTIMEINLINE
#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
#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;

/* 
  Compare two type names skipping the space characters, therefore
  "char*" == "char *" and "Class<int>" == "Class<int >", etc.

  Return 0 when the two name types are equivalent, as in
  strncmp, but skipping ' '.
*/
SWIGRUNTIME int
SWIG_TypeNameComp(const char *f1, const char *l1,
		  const char *f2, const char *l2) {
  for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
    while ((*f1 == ' ') && (f1 != l1)) ++f1;
    while ((*f2 == ' ') && (f2 != l2)) ++f2;
    if (*f1 != *f2) return *f1 - *f2;
  }
  return (l1 - f1) - (l2 - f2);
}

/*
  Check type equivalence in a name list like <name1>|<name2>|...
*/
SWIGRUNTIME int
SWIG_TypeEquiv(const char *nb, const char *tb) {
  int equiv = 0;
  const char* te = tb + strlen(tb);
  const char* ne = nb;
  while (!equiv && *ne) {
    for (nb = ne; *ne; ++ne) {
      if (*ne == '|') break;
    }
    equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
    if (*ne) ++ne;
  }
  return equiv;
}

/*
  Register a type mapping with the type-checking
*/
SWIGRUNTIME swig_type_info *
SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
  swig_type_info *tc, *head, *ret, *next;
  /* Check to see if this type has already been registered */
  tc = *tl;
  while (tc) {
    /* check simple type equivalence */
    int typeequiv = (strcmp(tc->name, ti->name) == 0);   
    /* check full type equivalence, resolving typedefs */
    if (!typeequiv) {
      /* only if tc is not a typedef (no '|' on it) */
      if (tc->str && ti->str && !strstr(tc->str,"|")) {
	typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
      }
    }
    if (typeequiv) {
      /* Already exists in the table.  Just add additional types to the list */
      if (ti->clientdata) tc->clientdata = ti->clientdata;
      head = tc;
      next = tc->next;
      goto l1;
    }
    tc = tc->prev;
  }
  head = ti;
  next = 0;

  /* Place in list */
  ti->prev = *tl;
  *tl = 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(const 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
*/
SWIGRUNTIMEINLINE void *
SWIG_TypeCast(swig_type_info *ty, void *ptr) {
  return ((!ty) || (!ty->converter)) ? ptr : (*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
*/
SWIGRUNTIMEINLINE const char *
SWIG_TypeName(const swig_type_info *ty) {
  return ty->name;
}

/*
  Return the pretty name associated with this type,
  that is an unmangled type name in a form presentable to the user.
*/
SWIGRUNTIME const char *
SWIG_TypePrettyName(const swig_type_info *type) {
  /* The "str" field contains the equivalent pretty names of the
     type, separated by vertical-bar characters.  We choose
     to print the last name, as it is often (?) the most
     specific. */
  if (type->str != NULL) {
    const char *last_name = type->str;
    const char *s;
    for (s = type->str; *s; s++)
      if (*s == '|') last_name = s+1;
    return last_name;
  }
  else
    return type->name;
}

/*
  Search for a swig_type_info structure
*/
SWIGRUNTIME swig_type_info *
SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
  swig_type_info *ty = tl;
  while (ty) {
    if (ty->str && (SWIG_TypeEquiv(ty->str,name))) 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_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
  swig_type_info *tc, *equiv;
  if (ti->clientdata) return;
  /* if (ti->clientdata == clientdata) return; */
  ti->clientdata = clientdata;
  equiv = ti->next;
  while (equiv) {
    if (!equiv->converter) {
      tc = tl;
      while (tc) {
        if ((strcmp(tc->name, equiv->name) == 0))
          SWIG_TypeClientDataTL(tl,tc,clientdata);
        tc = tc->prev;
      }
    }
    equiv = equiv->next;
  }
}

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

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

/*
  This function will propagate the clientdata field of type to any new
  swig_type_info structures that have been added into the list of
  equivalent types.  It is like calling SWIG_TypeClientData(type,
  clientdata) a second time.
*/
SWIGRUNTIME void
SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
  swig_type_info *equiv = type->next;
  swig_type_info *tc;
  if (!type->clientdata) return;
  while (equiv) {
    if (!equiv->converter) {
      tc = tl;
      while (tc) {
        if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
          SWIG_TypeClientDataTL(tl,tc, type->clientdata);
        tc = tc->prev;
      }
    }
    equiv = equiv->next;
  }
}

/* 
   Pack 'void *' into a string buffer.
*/
SWIGRUNTIME char *
SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
  char *r = buff;
  if ((2*sizeof(void *) + 2) > bsz) return 0;
  *(r++) = '_';
  r = SWIG_PackData(r,&ptr,sizeof(void *));
  if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
  strcpy(r,name);
  return buff;
}

SWIGRUNTIME const char *
SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
  if (*c != '_') {
    if (strcmp(c,"NULL") == 0) {
      *ptr = (void *) 0;
      return name;
    } else {
      return 0;
    }
  }
  return SWIG_UnpackData(++c,ptr,sizeof(void *));
}

SWIGRUNTIME char *
SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
  char *r = buff;
  size_t lname = (name ? strlen(name) : 0);
  if ((2*sz + 2 + lname) > bsz) return 0;
  *(r++) = '_';
  r = SWIG_PackData(r,ptr,sz);
  if (lname) {
    strncpy(r,name,lname+1);
  } else {
    *r = 0;
  }
  return buff;
}

SWIGRUNTIME const char *
SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
  if (*c != '_') {
    if (strcmp(c,"NULL") == 0) {
      memset(ptr,0,sz);
      return name;
    } else {
      return 0;
    }
  }
  return SWIG_UnpackData(++c,ptr,sz);
}

#ifdef __cplusplus
}
#endif

/***********************************************************************
 * 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.
 ************************************************************************/


#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#  if !defined(STATIC_LINKED)
#    define SWIGEXPORT(a) __declspec(dllexport) a
#  else
#    define SWIGEXPORT(a) a
#  endif
#else
#  define SWIGEXPORT(a) a
#endif

#ifdef __cplusplus
extern "C" {
#endif


/*************************************************************************/


/* The static type info list */

static swig_type_info *swig_type_list = 0;
static swig_type_info **swig_type_list_handle = &swig_type_list;
  

/* Register a type mapping with the type-checking */
static swig_type_info *
SWIG_TypeRegister(swig_type_info *ti) {
  return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
}

/* Search for a swig_type_info structure */
static swig_type_info *
SWIG_TypeQuery(const char *name) {
  return SWIG_TypeQueryTL(*swig_type_list_handle, name);
}

/* Set the clientdata field for a type */
static void
SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
  SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
}

/* This function will propagate the clientdata field of type to
* any new swig_type_info structures that have been added into the list
* of equivalent types.  It is like calling
* SWIG_TypeClientData(type, clientdata) a second time.
*/
static void
SWIG_PropagateClientData(swig_type_info *type) {
  SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
}

#ifdef __cplusplus
}
#endif

/* ---------------------------------------------------------------------- -*- c -*-
 * perl5.swg
 *
 * Perl5 runtime library
 * $Header: /cvsroot/swig/SWIG/Lib/perl5/perlrun.swg,v 1.20 2004/11/29 23:13:57 wuzzeb Exp $
 * ----------------------------------------------------------------------------- */

#define SWIGPERL
#define SWIGPERL5
#ifdef __cplusplus
/* Needed on some windows machines---since MS plays funny games with the header files under C++ */
#include <math.h>
#include <stdlib.h>
extern "C" {
#endif
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"

/* Get rid of free and malloc defined by perl */
#undef free
#undef malloc

#ifndef pTHX_
#define pTHX_
#endif

#include <string.h>
#ifdef __cplusplus
}
#endif

/* Macro to call an XS function */

#ifdef PERL_OBJECT 
#  define SWIG_CALLXS(_name) _name(cv,pPerl) 
#else 
#  ifndef MULTIPLICITY 
#    define SWIG_CALLXS(_name) _name(cv) 
#  else 
#    define SWIG_CALLXS(_name) _name(PERL_GET_THX, cv) 
#  endif 
#endif 

/* Contract support */

#define SWIG_contract_assert(expr,msg) if (!(expr)) { SWIG_croak(msg); } else

/* Note: SwigMagicFuncHack is a typedef used to get the C++ compiler to just shut up already */

#ifdef PERL_OBJECT
#define MAGIC_PPERL  CPerlObj *pPerl = (CPerlObj *) this;
typedef int (CPerlObj::*SwigMagicFunc)(SV *, MAGIC *);

#ifdef __cplusplus
extern "C" {
#endif
typedef int (CPerlObj::*SwigMagicFuncHack)(SV *, MAGIC *);
#ifdef __cplusplus
}
#endif

#define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
#define SWIGCLASS_STATIC
#else
#define MAGIC_PPERL
#define SWIGCLASS_STATIC static
#ifndef MULTIPLICITY
#define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
typedef int (*SwigMagicFunc)(SV *, MAGIC *);

#ifdef __cplusplus
extern "C" {
#endif
typedef int (*SwigMagicFuncHack)(SV *, MAGIC *);
#ifdef __cplusplus
}
#endif


#else
#define SWIG_MAGIC(a,b) (struct interpreter *interp, SV *a, MAGIC *b)
typedef int (*SwigMagicFunc)(struct interpreter *, SV *, MAGIC *);
#ifdef __cplusplus
extern "C" {
#endif
typedef int (*SwigMagicFuncHack)(struct interpreter *, SV *, MAGIC *);
#ifdef __cplusplus
}
#endif

#endif
#endif

#if defined(WIN32) && defined(PERL_OBJECT) && !defined(PerlIO_exportFILE)
#define PerlIO_exportFILE(fh,fl) (FILE*)(fh)
#endif

/* Modifications for newer Perl 5.005 releases */

#if !defined(PERL_REVISION) || ((PERL_REVISION >= 5) && ((PERL_VERSION < 5) || ((PERL_VERSION == 5) && (PERL_SUBVERSION < 50))))
#  ifndef PL_sv_yes
#    define PL_sv_yes sv_yes
#  endif
#  ifndef PL_sv_undef
#    define PL_sv_undef sv_undef
#  endif
#  ifndef PL_na
#    define PL_na na
#  endif
#endif

#include <stdlib.h>

#ifdef __cplusplus
extern "C" {
#endif

#define SWIG_OWNER 1
#define SWIG_SHADOW 2

/* Common SWIG API */

#ifdef PERL_OBJECT
#  define SWIG_ConvertPtr(obj, pp, type, flags) \
     SWIG_Perl_ConvertPtr(pPerl, obj, pp, type, flags)
#  define SWIG_NewPointerObj(p, type, flags) \
     SWIG_Perl_NewPointerObj(pPerl, p, type, flags)
#  define SWIG_MakePackedObj(sv, p, s, type)	\
     SWIG_Perl_MakePackedObj(pPerl, sv, p, s, type)
#  define SWIG_ConvertPacked(obj, p, s, type, flags) \
     SWIG_Perl_ConvertPacked(pPerl, obj, p, s, type, flags)

#else
#  define SWIG_ConvertPtr(obj, pp, type, flags) \
     SWIG_Perl_ConvertPtr(obj, pp, type, flags)
#  define SWIG_NewPointerObj(p, type, flags) \
     SWIG_Perl_NewPointerObj(p, type, flags)
#  define SWIG_MakePackedObj(sv, p, s, type)	\
     SWIG_Perl_MakePackedObj(sv, p, s, type )
#  define SWIG_ConvertPacked(obj, p, s, type, flags) \
     SWIG_Perl_ConvertPacked(obj, p, s, type, flags)
#endif

/* Perl-specific API */
#ifdef PERL_OBJECT
#  define SWIG_MakePtr(sv, ptr, type, flags) \
     SWIG_Perl_MakePtr(pPerl, sv, ptr, type, flags)
#  define SWIG_SetError(str) \
     SWIG_Perl_SetError(pPerl, str)
#else
#  define SWIG_MakePtr(sv, ptr, type, flags) \
     SWIG_Perl_MakePtr(sv, ptr, type, flags)
#  define SWIG_SetError(str) \
     SWIG_Perl_SetError(str)
#  define SWIG_SetErrorSV(str) \
     SWIG_Perl_SetErrorSV(str)
#endif

#define SWIG_SetErrorf SWIG_Perl_SetErrorf


#ifdef PERL_OBJECT
#  define SWIG_MAYBE_PERL_OBJECT CPerlObj *pPerl,
#else
#  define SWIG_MAYBE_PERL_OBJECT
#endif

static swig_type_info **
SWIG_Perl_GetTypeListHandle() {
  static void *type_pointer = (void *)0;
  SV *pointer;

  /* first check if pointer already created */
  if (!type_pointer) {
    pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, FALSE);
    if (pointer && SvOK(pointer)) {
      type_pointer = INT2PTR(swig_type_info **, SvIV(pointer));
    }
  }

  return (swig_type_info **) type_pointer;
}

/*
  Search for a swig_type_info structure
 */
SWIGRUNTIMEINLINE swig_type_info *
SWIG_Perl_GetTypeList() {
  swig_type_info **tlh = SWIG_Perl_GetTypeListHandle();
  return tlh ? *tlh : (swig_type_info*)0;
}

#define SWIG_Runtime_GetTypeList SWIG_Perl_GetTypeList 

static swig_type_info *
SWIG_Perl_TypeCheckRV(SWIG_MAYBE_PERL_OBJECT SV *rv, 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 (sv_derived_from(rv, (char *) s->name)) {
      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;
}

/* Function for getting a pointer value */

static int
SWIG_Perl_ConvertPtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags) {
  swig_type_info *tc;
  void *voidptr = (void *)0;

  /* If magical, apply more magic */
  if (SvGMAGICAL(sv))
    mg_get(sv);

  /* Check to see if this is an object */
  if (sv_isobject(sv)) {
    SV *tsv = (SV*) SvRV(sv);
    IV tmp = 0;
    if ((SvTYPE(tsv) == SVt_PVHV)) {
      MAGIC *mg;
      if (SvMAGICAL(tsv)) {
        mg = mg_find(tsv,'P');
        if (mg) {
          sv = mg->mg_obj;
          if (sv_isobject(sv)) {
            tmp = SvIV((SV*)SvRV(sv));
          }
        }
      } else {
        return -1;
      }
    } else {
      tmp = SvIV((SV*)SvRV(sv));
    }
    voidptr = (void *)tmp;
    if (!_t) {
      *(ptr) = voidptr;
      return 0;
    }
  } else if (! SvOK(sv)) {            /* Check for undef */
    *(ptr) = (void *) 0;
    return 0;
  } else if (SvTYPE(sv) == SVt_RV) {  /* Check for NULL pointer */
    *(ptr) = (void *) 0;
    if (!SvROK(sv))
      return 0;
    else
      return -1;
  } else {                            /* Don't know what it is */
    *(ptr) = (void *) 0;
    return -1;
  }
  if (_t) {
    /* Now see if the types match */
    char *_c = HvNAME(SvSTASH(SvRV(sv)));
    tc = SWIG_TypeCheck(_c,_t);
    if (!tc) {
      *ptr = voidptr;
      return -1;
    }
    *ptr = SWIG_TypeCast(tc,voidptr);
    return 0;
  }
  *ptr = voidptr;
  return 0;
}

static void
SWIG_Perl_MakePtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, swig_type_info *t, int flags) {
  if (ptr && (flags & SWIG_SHADOW)) {
    SV *self;
    SV *obj=newSV(0);
    HV *hash=newHV();
    HV *stash;
    sv_setref_pv(obj, (char *) t->name, ptr);
    stash=SvSTASH(SvRV(obj));
    if (flags & SWIG_OWNER) {
      HV *hv;
      GV *gv=*(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
      if (!isGV(gv))
        gv_init(gv, stash, "OWNER", 5, FALSE);
      hv=GvHVn(gv);
      hv_store_ent(hv, obj, newSViv(1), 0);
    }
    sv_magic((SV *)hash, (SV *)obj, 'P', Nullch, 0);
    SvREFCNT_dec(obj);
    self=newRV_noinc((SV *)hash);
    sv_setsv(sv, self);
    SvREFCNT_dec((SV *)self);
    sv_bless(sv, stash);
  }
  else {
    sv_setref_pv(sv, (char *) t->name, ptr);
  }
}

static SWIGINLINE SV *
SWIG_Perl_NewPointerObj(SWIG_MAYBE_PERL_OBJECT void *ptr, swig_type_info *t, int flags) {
  SV *result = sv_newmortal();
  SWIG_MakePtr(result, ptr, t, flags);
  return result;
}

static void
  SWIG_Perl_MakePackedObj(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, int sz, swig_type_info *type) {
  char result[1024];
  char *r = result;
  if ((2*sz + 1 + strlen(type->name)) > 1000) return;
  *(r++) = '_';
  r = SWIG_PackData(r,ptr,sz);
  strcpy(r,type->name);
  sv_setpv(sv, result);
}

/* Convert a packed value value */
static int
SWIG_Perl_ConvertPacked(SWIG_MAYBE_PERL_OBJECT SV *obj, void *ptr, int sz, swig_type_info *ty, int flags) {
  swig_type_info *tc;
  const char  *c = 0;

  if ((!obj) || (!SvOK(obj))) return -1;
  c = SvPV(obj, PL_na);
  /* Pointer values must start with leading underscore */
  if (*c != '_') return -1;
  c++;
  c = SWIG_UnpackData(c,ptr,sz);
  if (ty) {
    tc = SWIG_TypeCheck(c,ty);
    if (!tc) return -1;
  }
  return 0;
}

static SWIGINLINE void
SWIG_Perl_SetError(SWIG_MAYBE_PERL_OBJECT const char *error) {
  if (error) sv_setpv(perl_get_sv("@", TRUE), error);
}

static SWIGINLINE void
SWIG_Perl_SetErrorSV(SWIG_MAYBE_PERL_OBJECT SV *error) {
  if (error) sv_setsv(perl_get_sv("@", TRUE), error);
}

static void
SWIG_Perl_SetErrorf(const char *fmt, ...) {
  va_list args;
  va_start(args, fmt);
  sv_vsetpvfn(perl_get_sv("@", TRUE), fmt, strlen(fmt), &args, Null(SV**), 0, Null(bool*));
  va_end(args);
}

/* Macros for low-level exception handling */
#define SWIG_fail       goto fail
#define SWIG_croak(x)   { SWIG_SetError(x); goto fail; }
#define SWIG_croakSV(x) { SWIG_SetErrorSV(x); goto fail; }
/* most preprocessors do not support vararg macros :-( */
/* #define SWIG_croakf(x...) { SWIG_SetErrorf(x); goto fail; } */


typedef XS(SwigPerlWrapper);
typedef SwigPerlWrapper *SwigPerlWrapperPtr;

/* Structure for command table */
typedef struct {
  const char         *name;
  SwigPerlWrapperPtr  wrapper;
} swig_command_info;

/* Information for constant table */

#define SWIG_INT     1
#define SWIG_FLOAT   2
#define SWIG_STRING  3
#define SWIG_POINTER 4
#define SWIG_BINARY  5

/* Constant information structure */
typedef struct swig_constant_info {
    int              type;
    const char      *name;
    long             lvalue;
    double           dvalue;
    void            *pvalue;
    swig_type_info **ptype;
} swig_constant_info;

#ifdef __cplusplus
}
#endif

/* Structure for variable table */
typedef struct {
  const char   *name;
  SwigMagicFunc   set;
  SwigMagicFunc   get;
  swig_type_info  **type;
} swig_variable_info;

/* Magic variable code */
#ifndef PERL_OBJECT
#define swig_create_magic(s,a,b,c) _swig_create_magic(s,a,b,c)
  #ifndef MULTIPLICITY
     static void _swig_create_magic(SV *sv, char *name, int (*set)(SV *, MAGIC *), int (*get)(SV *,MAGIC *)) {
  #else
     static void _swig_create_magic(SV *sv, char *name, int (*set)(struct interpreter*, SV *, MAGIC *), int (*get)(struct interpreter*, SV *,MAGIC *)) {
  #endif
#else
#  define swig_create_magic(s,a,b,c) _swig_create_magic(pPerl,s,a,b,c)
static void _swig_create_magic(CPerlObj *pPerl, SV *sv, const char *name, int (CPerlObj::*set)(SV *, MAGIC *), int (CPerlObj::*get)(SV *, MAGIC *)) {
#endif
  MAGIC *mg;
  sv_magic(sv,sv,'U',(char *) name,strlen(name));
  mg = mg_find(sv,'U');
  mg->mg_virtual = (MGVTBL *) malloc(sizeof(MGVTBL));
  mg->mg_virtual->svt_get = (SwigMagicFuncHack) get;
  mg->mg_virtual->svt_set = (SwigMagicFuncHack) set;
  mg->mg_virtual->svt_len = 0;
  mg->mg_virtual->svt_clear = 0;
  mg->mg_virtual->svt_free = 0;
}






#ifdef do_open
  #undef do_open
#endif
#ifdef do_close
  #undef do_close
#endif
#ifdef scalar
  #undef scalar
#endif
#ifdef list
  #undef list
#endif
#ifdef apply
  #undef apply
#endif
#ifdef convert
  #undef convert
#endif
#ifdef Error
  #undef Error
#endif
#ifdef form
  #undef form
#endif
#ifdef vform
  #undef vform
#endif
#ifdef LABEL
  #undef LABEL
#endif
#ifdef METHOD
  #undef METHOD
#endif
#ifdef Move
  #undef Move
#endif
#ifdef yylex
  #undef yylex
#endif
#ifdef yyparse
  #undef yyparse
#endif
#ifdef yyerror
  #undef yyerror
#endif
#ifdef invert
  #undef invert
#endif
#ifdef ref
  #undef ref
#endif
#ifdef ENTER
  #undef ENTER
#endif


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

#define  SWIGTYPE_p_f_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj__p_obj swig_types[0] 
#define  SWIGTYPE_p_f_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj__p_obj swig_types[1] 
#define  SWIGTYPE_p_obj_storage_as_subr5 swig_types[2] 
#define  SWIGTYPE_p_obj_storage_as_flonum swig_types[3] 
#define  SWIGTYPE_p_f_p_struct_obj__p_obj swig_types[4] 
#define  SWIGTYPE_p_f_p_struct_obj_p_struct_obj__p_obj swig_types[5] 
#define  SWIGTYPE_p_f_p_struct_obj_p_struct_obj_p_struct_obj__p_obj swig_types[6] 
#define  SWIGTYPE_p_f_p_p_struct_obj_p_p_struct_obj__p_obj swig_types[7] 
#define  SWIGTYPE_p_f_p_void_v_______p_obj swig_types[8] 
#define  SWIGTYPE_p_obj_storage_as_double_array swig_types[9] 
#define  SWIGTYPE_p_obj_storage_as_long_array swig_types[10] 
#define  SWIGTYPE_p_f_void__p_obj swig_types[11] 
#define  SWIGTYPE_p_f_LISP__p_obj swig_types[12] 
#define  SWIGTYPE_p_f_LISP_LISP__p_obj swig_types[13] 
#define  SWIGTYPE_p_f_LISP_LISP_LISP__p_obj swig_types[14] 
#define  SWIGTYPE_p_f_LISP_LISP_LISP_LISP__p_obj swig_types[15] 
#define  SWIGTYPE_p_f_LISP_LISP_LISP_LISP_LISP__p_obj swig_types[16] 
#define  SWIGTYPE_p_f_p_LISP_p_LISP__p_obj swig_types[17] 
#define  SWIGTYPE_p_f_LISP_p_LISP_p_LISP__p_obj swig_types[18] 
#define  SWIGTYPE_p_f_int_p_struct_gen_readio__p_obj swig_types[19] 
#define  SWIGTYPE_p_f_p_char_long_p_int__p_obj swig_types[20] 
#define  SWIGTYPE_p_f_p_void__p_obj swig_types[21] 
#define  SWIGTYPE_p_f_p_struct_obj_p_struct_gen_printio__void swig_types[22] 
#define  SWIGTYPE_p_obj_storage_as_symbol swig_types[23] 
#define  SWIGTYPE_p_f_p_void__int swig_types[24] 
#define  SWIGTYPE_p_f_int_p_void__int swig_types[25] 
#define  SWIGTYPE_p_f_p_char_p_void__int swig_types[26] 
#define  SWIGTYPE_p_repl_hooks swig_types[27] 
#define  SWIGTYPE_p_p_char swig_types[28] 
#define  SWIGTYPE_p_p_p_char swig_types[29] 
#define  SWIGTYPE_p_double swig_types[30] 
#define  SWIGTYPE_p_void swig_types[31] 
#define  SWIGTYPE_p_gen_printio swig_types[32] 
#define  SWIGTYPE_p_size_t swig_types[33] 
#define  SWIGTYPE_p_obj_storage_as_lisp_array swig_types[34] 
#define  SWIGTYPE_p_p_obj swig_types[35] 
#define  SWIGTYPE_p_obj swig_types[36] 
#define  SWIGTYPE_p_obj_storage_as_closure swig_types[37] 
#define  SWIGTYPE_p_f_int_p_void__void swig_types[38] 
#define  SWIGTYPE_p_f_p_char__void swig_types[39] 
#define  SWIGTYPE_p_f_p_struct_obj__void swig_types[40] 
#define  SWIGTYPE_p_f_void__void swig_types[41] 
#define  SWIGTYPE_p_obj_storage_as_subr swig_types[42] 
#define  SWIGTYPE_p_long swig_types[43] 
#define  SWIGTYPE_p_obj_storage_as_s_string swig_types[44] 
#define  SWIGTYPE_p_obj_storage_as_u_string swig_types[45] 
#define  SWIGTYPE_p_obj_storage_as_string swig_types[46] 
#define  SWIGTYPE_p_gen_readio swig_types[47] 
#define  SWIGTYPE_p_obj_storage_as_subrm swig_types[48] 
#define  SWIGTYPE_p_unsigned_char swig_types[49] 
#define  SWIGTYPE_p_signed_char swig_types[50] 
#define  SWIGTYPE_p_obj_storage_as swig_types[51] 
#define  SWIGTYPE_p_obj_storage_as_cons swig_types[52] 
#define  SWIGTYPE_p_FILE swig_types[53] 
#define  SWIGTYPE_p_obj_storage_as_c_file swig_types[54] 
#define  SWIGTYPE_p_obj_storage_as_subr0 swig_types[55] 
#define  SWIGTYPE_p_obj_storage_as_subr1 swig_types[56] 
#define  SWIGTYPE_p_obj_storage_as_subr2 swig_types[57] 
#define  SWIGTYPE_p_int swig_types[58] 
#define  SWIGTYPE_p_obj_storage_as_subr3 swig_types[59] 
#define  SWIGTYPE_p_obj_storage_as_subr4 swig_types[60] 
static swig_type_info *swig_types[62];

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

#define SWIG_init    boot_Language__SIOD

#define SWIG_name   "Language::SIOD::boot_Language__SIOD"
#define SWIG_prefix "Language::SIOD::"

#ifdef __cplusplus
extern "C"
#endif
#ifndef PERL_OBJECT
#ifndef MULTIPLICITY
SWIGEXPORT(void) SWIG_init (CV* cv);
#else
SWIGEXPORT(void) SWIG_init (pTHXo_ CV* cv);
#endif
#else
SWIGEXPORT(void) SWIG_init (CV *cv, CPerlObj *);
#endif


typedef union {struct {struct obj * car;
		struct obj * cdr;} cons;
	struct {double data;} flonum;
	struct {char *pname;
		struct obj * vcell;} symbol;
	struct {char *name;
		struct obj * (*f)(void);} subr0;
  	struct {char *name;
 		struct obj * (*f)(struct obj *);} subr1;
 	struct {char *name;
 		struct obj * (*f)(struct obj *, struct obj *);} subr2;
 	struct {char *name;
 		struct obj * (*f)(struct obj *, struct obj *, struct obj *);
 	      } subr3;
 	struct {char *name;
 		struct obj * (*f)(struct obj *, struct obj *, struct obj *,
				  struct obj *);
 	      } subr4;
 	struct {char *name;
 		struct obj * (*f)(struct obj *, struct obj *, struct obj *,
				  struct obj *,struct obj *);
 	      } subr5;
 	struct {char *name;
 		struct obj * (*f)(struct obj **, struct obj **);} subrm;
	struct {char *name;
		struct obj * (*f)(void *,...);} subr;
	struct {struct obj *env;
		struct obj *code;} closure;
	struct {long dim;
		long *data;} long_array;
	struct {long dim;
		double *data;} double_array;
	struct {long dim;
		char *data;} string;
	struct {long dim;
		unsigned char *data;} u_string;
	struct {long dim;
		signed char *data;} s_string;
	struct {long dim;
		struct obj **data;} lisp_array;
	struct {FILE *f;
		char *name;} c_file;} obj_storage_as;



typedef struct {FILE *f;
		char *name;} obj_storage_as_c_file;



typedef struct {long dim;
		struct obj **data;} obj_storage_as_lisp_array;



typedef struct {long dim;
		signed char *data;} obj_storage_as_s_string;



typedef struct {long dim;
		unsigned char *data;} obj_storage_as_u_string;



typedef struct {long dim;
		char *data;} obj_storage_as_string;



typedef struct {long dim;
		double *data;} obj_storage_as_double_array;



typedef struct {long dim;
		long *data;} obj_storage_as_long_array;



typedef struct {struct obj *env;
		struct obj *code;} obj_storage_as_closure;



typedef struct {char *name;
		struct obj * (*f)(void *,...);} obj_storage_as_subr;



typedef struct {char *name;
 		struct obj * (*f)(struct obj **, struct obj **);} obj_storage_as_subrm;



typedef struct {char *name;
 		struct obj * (*f)(struct obj *, struct obj *, struct obj *,
				  struct obj *,struct obj *);
 	      } obj_storage_as_subr5;



typedef struct {char *name;
 		struct obj * (*f)(struct obj *, struct obj *, struct obj *,
				  struct obj *);
 	      } obj_storage_as_subr4;



typedef struct {char *name;
 		struct obj * (*f)(struct obj *, struct obj *, struct obj *);
 	      } obj_storage_as_subr3;



typedef struct {char *name;
 		struct obj * (*f)(struct obj *, struct obj *);} obj_storage_as_subr2;



typedef struct {char *name;
 		struct obj * (*f)(struct obj *);} obj_storage_as_subr1;



typedef struct {char *name;
		struct obj * (*f)(void);} obj_storage_as_subr0;



typedef struct {char *pname;
		struct obj * vcell;} obj_storage_as_symbol;



typedef struct {double data;} obj_storage_as_flonum;



typedef struct {struct obj * car;
		struct obj * cdr;} obj_storage_as_cons;



#include "slib.c"

#ifdef PERL_OBJECT
#define MAGIC_CLASS _wrap_Language::SIOD_var::
class _wrap_Language::SIOD_var : public CPerlObj {
public:
#else
#define MAGIC_CLASS
#endif
SWIGCLASS_STATIC int swig_magic_readonly(pTHX_ SV *sv, MAGIC *mg) {
    MAGIC_PPERL
    sv = sv; mg = mg;
    croak("Value is read-only.");
    return 0;
}


#ifdef PERL_OBJECT
};
#endif

#ifdef __cplusplus
extern "C" {
#endif
XS(_wrap_obj_gc_mark_set) {
    {
        struct obj *arg1 = (struct obj *) 0 ;
        short arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_gc_mark_set(self,gc_mark);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_gc_mark_set. Expected _p_obj");
            }
        }
        arg2 = (short) SvIV(ST(1));
        if (arg1) (arg1)->gc_mark = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_gc_mark_get) {
    {
        struct obj *arg1 = (struct obj *) 0 ;
        short result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_gc_mark_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_gc_mark_get. Expected _p_obj");
            }
        }
        result = (short) ((arg1)->gc_mark);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_type_set) {
    {
        struct obj *arg1 = (struct obj *) 0 ;
        short arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_type_set(self,type);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_type_set. Expected _p_obj");
            }
        }
        arg2 = (short) SvIV(ST(1));
        if (arg1) (arg1)->type = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_type_get) {
    {
        struct obj *arg1 = (struct obj *) 0 ;
        short result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_type_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_type_get. Expected _p_obj");
            }
        }
        result = (short) ((arg1)->type);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_get) {
    {
        struct obj *arg1 = (struct obj *) 0 ;
        obj_storage_as *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_get. Expected _p_obj");
            }
        }
        result = (obj_storage_as *)& ((arg1)->storage_as);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_obj) {
    {
        struct obj *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_obj();");
        }
        result = (struct obj *)(struct obj *) calloc(1, sizeof(struct obj));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_obj) {
    {
        struct obj *arg1 = (struct obj *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_obj(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_obj. Expected _p_obj");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_c_file_get) {
    {
        obj_storage_as *arg1 = (obj_storage_as *) 0 ;
        obj_storage_as_c_file *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_c_file_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_c_file_get. Expected _p_obj_storage_as");
            }
        }
        result = (obj_storage_as_c_file *)& ((arg1)->c_file);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_c_file, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_lisp_array_get) {
    {
        obj_storage_as *arg1 = (obj_storage_as *) 0 ;
        obj_storage_as_lisp_array *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_lisp_array_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_lisp_array_get. Expected _p_obj_storage_as");
            }
        }
        result = (obj_storage_as_lisp_array *)& ((arg1)->lisp_array);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_lisp_array, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_s_string_get) {
    {
        obj_storage_as *arg1 = (obj_storage_as *) 0 ;
        obj_storage_as_s_string *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_s_string_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_s_string_get. Expected _p_obj_storage_as");
            }
        }
        result = (obj_storage_as_s_string *)& ((arg1)->s_string);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_s_string, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_u_string_get) {
    {
        obj_storage_as *arg1 = (obj_storage_as *) 0 ;
        obj_storage_as_u_string *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_u_string_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_u_string_get. Expected _p_obj_storage_as");
            }
        }
        result = (obj_storage_as_u_string *)& ((arg1)->u_string);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_u_string, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_string_get) {
    {
        obj_storage_as *arg1 = (obj_storage_as *) 0 ;
        obj_storage_as_string *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_string_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_string_get. Expected _p_obj_storage_as");
            }
        }
        result = (obj_storage_as_string *)& ((arg1)->string);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_string, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_double_array_get) {
    {
        obj_storage_as *arg1 = (obj_storage_as *) 0 ;
        obj_storage_as_double_array *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_double_array_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_double_array_get. Expected _p_obj_storage_as");
            }
        }
        result = (obj_storage_as_double_array *)& ((arg1)->double_array);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_double_array, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_long_array_get) {
    {
        obj_storage_as *arg1 = (obj_storage_as *) 0 ;
        obj_storage_as_long_array *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_long_array_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_long_array_get. Expected _p_obj_storage_as");
            }
        }
        result = (obj_storage_as_long_array *)& ((arg1)->long_array);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_long_array, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_closure_get) {
    {
        obj_storage_as *arg1 = (obj_storage_as *) 0 ;
        obj_storage_as_closure *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_closure_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_closure_get. Expected _p_obj_storage_as");
            }
        }
        result = (obj_storage_as_closure *)& ((arg1)->closure);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_closure, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr_get) {
    {
        obj_storage_as *arg1 = (obj_storage_as *) 0 ;
        obj_storage_as_subr *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subr_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr_get. Expected _p_obj_storage_as");
            }
        }
        result = (obj_storage_as_subr *)& ((arg1)->subr);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_subr, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subrm_get) {
    {
        obj_storage_as *arg1 = (obj_storage_as *) 0 ;
        obj_storage_as_subrm *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subrm_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subrm_get. Expected _p_obj_storage_as");
            }
        }
        result = (obj_storage_as_subrm *)& ((arg1)->subrm);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_subrm, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr5_get) {
    {
        obj_storage_as *arg1 = (obj_storage_as *) 0 ;
        obj_storage_as_subr5 *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subr5_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr5_get. Expected _p_obj_storage_as");
            }
        }
        result = (obj_storage_as_subr5 *)& ((arg1)->subr5);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_subr5, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr4_get) {
    {
        obj_storage_as *arg1 = (obj_storage_as *) 0 ;
        obj_storage_as_subr4 *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subr4_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr4_get. Expected _p_obj_storage_as");
            }
        }
        result = (obj_storage_as_subr4 *)& ((arg1)->subr4);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_subr4, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr3_get) {
    {
        obj_storage_as *arg1 = (obj_storage_as *) 0 ;
        obj_storage_as_subr3 *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subr3_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr3_get. Expected _p_obj_storage_as");
            }
        }
        result = (obj_storage_as_subr3 *)& ((arg1)->subr3);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_subr3, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr2_get) {
    {
        obj_storage_as *arg1 = (obj_storage_as *) 0 ;
        obj_storage_as_subr2 *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subr2_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr2_get. Expected _p_obj_storage_as");
            }
        }
        result = (obj_storage_as_subr2 *)& ((arg1)->subr2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_subr2, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr1_get) {
    {
        obj_storage_as *arg1 = (obj_storage_as *) 0 ;
        obj_storage_as_subr1 *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subr1_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr1_get. Expected _p_obj_storage_as");
            }
        }
        result = (obj_storage_as_subr1 *)& ((arg1)->subr1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_subr1, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr0_get) {
    {
        obj_storage_as *arg1 = (obj_storage_as *) 0 ;
        obj_storage_as_subr0 *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subr0_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr0_get. Expected _p_obj_storage_as");
            }
        }
        result = (obj_storage_as_subr0 *)& ((arg1)->subr0);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_subr0, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_symbol_get) {
    {
        obj_storage_as *arg1 = (obj_storage_as *) 0 ;
        obj_storage_as_symbol *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_symbol_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_symbol_get. Expected _p_obj_storage_as");
            }
        }
        result = (obj_storage_as_symbol *)& ((arg1)->symbol);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_symbol, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_flonum_get) {
    {
        obj_storage_as *arg1 = (obj_storage_as *) 0 ;
        obj_storage_as_flonum *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_flonum_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_flonum_get. Expected _p_obj_storage_as");
            }
        }
        result = (obj_storage_as_flonum *)& ((arg1)->flonum);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_flonum, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_cons_get) {
    {
        obj_storage_as *arg1 = (obj_storage_as *) 0 ;
        obj_storage_as_cons *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_cons_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_cons_get. Expected _p_obj_storage_as");
            }
        }
        result = (obj_storage_as_cons *)& ((arg1)->cons);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_cons, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_obj_storage_as) {
    {
        obj_storage_as *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_obj_storage_as();");
        }
        result = (obj_storage_as *)(obj_storage_as *) calloc(1, sizeof(obj_storage_as));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_obj_storage_as) {
    {
        obj_storage_as *arg1 = (obj_storage_as *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_obj_storage_as(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_obj_storage_as. Expected _p_obj_storage_as");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_c_file_f_set) {
    {
        obj_storage_as_c_file *arg1 = (obj_storage_as_c_file *) 0 ;
        FILE *arg2 = (FILE *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_c_file_f_set(self,f);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_c_file,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_c_file_f_set. Expected _p_obj_storage_as_c_file");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_FILE,0) < 0) {
                SWIG_croak("Type error in argument 2 of obj_storage_as_c_file_f_set. Expected _p_FILE");
            }
        }
        if (arg1) (arg1)->f = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_c_file_f_get) {
    {
        obj_storage_as_c_file *arg1 = (obj_storage_as_c_file *) 0 ;
        FILE *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_c_file_f_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_c_file,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_c_file_f_get. Expected _p_obj_storage_as_c_file");
            }
        }
        result = (FILE *) ((arg1)->f);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_FILE, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_c_file_name_set) {
    {
        obj_storage_as_c_file *arg1 = (obj_storage_as_c_file *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_c_file_name_set(self,name);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_c_file,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_c_file_name_set. Expected _p_obj_storage_as_c_file");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (arg1->name) free((char*)arg1->name);
            if (arg2) {
                arg1->name = (char *) malloc(strlen(arg2)+1);
                strcpy((char*)arg1->name,arg2);
            } else {
                arg1->name = 0;
            }
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_c_file_name_get) {
    {
        obj_storage_as_c_file *arg1 = (obj_storage_as_c_file *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_c_file_name_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_c_file,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_c_file_name_get. Expected _p_obj_storage_as_c_file");
            }
        }
        result = (char *) ((arg1)->name);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_obj_storage_as_c_file) {
    {
        obj_storage_as_c_file *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_obj_storage_as_c_file();");
        }
        result = (obj_storage_as_c_file *)(obj_storage_as_c_file *) calloc(1, sizeof(obj_storage_as_c_file));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_c_file, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_obj_storage_as_c_file) {
    {
        obj_storage_as_c_file *arg1 = (obj_storage_as_c_file *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_obj_storage_as_c_file(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_c_file,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_obj_storage_as_c_file. Expected _p_obj_storage_as_c_file");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_lisp_array_dim_set) {
    {
        obj_storage_as_lisp_array *arg1 = (obj_storage_as_lisp_array *) 0 ;
        long arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_lisp_array_dim_set(self,dim);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_lisp_array,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_lisp_array_dim_set. Expected _p_obj_storage_as_lisp_array");
            }
        }
        arg2 = (long) SvIV(ST(1));
        if (arg1) (arg1)->dim = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_lisp_array_dim_get) {
    {
        obj_storage_as_lisp_array *arg1 = (obj_storage_as_lisp_array *) 0 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_lisp_array_dim_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_lisp_array,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_lisp_array_dim_get. Expected _p_obj_storage_as_lisp_array");
            }
        }
        result = (long) ((arg1)->dim);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_lisp_array_data_set) {
    {
        obj_storage_as_lisp_array *arg1 = (obj_storage_as_lisp_array *) 0 ;
        struct obj **arg2 = (struct obj **) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_lisp_array_data_set(self,data);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_lisp_array,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_lisp_array_data_set. Expected _p_obj_storage_as_lisp_array");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of obj_storage_as_lisp_array_data_set. Expected _p_p_obj");
            }
        }
        if (arg1) (arg1)->data = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_lisp_array_data_get) {
    {
        obj_storage_as_lisp_array *arg1 = (obj_storage_as_lisp_array *) 0 ;
        struct obj **result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_lisp_array_data_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_lisp_array,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_lisp_array_data_get. Expected _p_obj_storage_as_lisp_array");
            }
        }
        result = (struct obj **) ((arg1)->data);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_p_obj, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_obj_storage_as_lisp_array) {
    {
        obj_storage_as_lisp_array *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_obj_storage_as_lisp_array();");
        }
        result = (obj_storage_as_lisp_array *)(obj_storage_as_lisp_array *) calloc(1, sizeof(obj_storage_as_lisp_array));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_lisp_array, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_obj_storage_as_lisp_array) {
    {
        obj_storage_as_lisp_array *arg1 = (obj_storage_as_lisp_array *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_obj_storage_as_lisp_array(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_lisp_array,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_obj_storage_as_lisp_array. Expected _p_obj_storage_as_lisp_array");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_s_string_dim_set) {
    {
        obj_storage_as_s_string *arg1 = (obj_storage_as_s_string *) 0 ;
        long arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_s_string_dim_set(self,dim);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_s_string,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_s_string_dim_set. Expected _p_obj_storage_as_s_string");
            }
        }
        arg2 = (long) SvIV(ST(1));
        if (arg1) (arg1)->dim = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_s_string_dim_get) {
    {
        obj_storage_as_s_string *arg1 = (obj_storage_as_s_string *) 0 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_s_string_dim_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_s_string,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_s_string_dim_get. Expected _p_obj_storage_as_s_string");
            }
        }
        result = (long) ((arg1)->dim);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_s_string_data_set) {
    {
        obj_storage_as_s_string *arg1 = (obj_storage_as_s_string *) 0 ;
        signed char *arg2 = (signed char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_s_string_data_set(self,data);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_s_string,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_s_string_data_set. Expected _p_obj_storage_as_s_string");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_signed_char,0) < 0) {
                SWIG_croak("Type error in argument 2 of obj_storage_as_s_string_data_set. Expected _p_signed_char");
            }
        }
        if (arg1) (arg1)->data = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_s_string_data_get) {
    {
        obj_storage_as_s_string *arg1 = (obj_storage_as_s_string *) 0 ;
        signed char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_s_string_data_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_s_string,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_s_string_data_get. Expected _p_obj_storage_as_s_string");
            }
        }
        result = (signed char *) ((arg1)->data);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_signed_char, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_obj_storage_as_s_string) {
    {
        obj_storage_as_s_string *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_obj_storage_as_s_string();");
        }
        result = (obj_storage_as_s_string *)(obj_storage_as_s_string *) calloc(1, sizeof(obj_storage_as_s_string));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_s_string, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_obj_storage_as_s_string) {
    {
        obj_storage_as_s_string *arg1 = (obj_storage_as_s_string *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_obj_storage_as_s_string(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_s_string,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_obj_storage_as_s_string. Expected _p_obj_storage_as_s_string");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_u_string_dim_set) {
    {
        obj_storage_as_u_string *arg1 = (obj_storage_as_u_string *) 0 ;
        long arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_u_string_dim_set(self,dim);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_u_string,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_u_string_dim_set. Expected _p_obj_storage_as_u_string");
            }
        }
        arg2 = (long) SvIV(ST(1));
        if (arg1) (arg1)->dim = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_u_string_dim_get) {
    {
        obj_storage_as_u_string *arg1 = (obj_storage_as_u_string *) 0 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_u_string_dim_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_u_string,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_u_string_dim_get. Expected _p_obj_storage_as_u_string");
            }
        }
        result = (long) ((arg1)->dim);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_u_string_data_set) {
    {
        obj_storage_as_u_string *arg1 = (obj_storage_as_u_string *) 0 ;
        unsigned char *arg2 = (unsigned char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_u_string_data_set(self,data);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_u_string,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_u_string_data_set. Expected _p_obj_storage_as_u_string");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_unsigned_char,0) < 0) {
                SWIG_croak("Type error in argument 2 of obj_storage_as_u_string_data_set. Expected _p_unsigned_char");
            }
        }
        if (arg1) (arg1)->data = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_u_string_data_get) {
    {
        obj_storage_as_u_string *arg1 = (obj_storage_as_u_string *) 0 ;
        unsigned char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_u_string_data_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_u_string,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_u_string_data_get. Expected _p_obj_storage_as_u_string");
            }
        }
        result = (unsigned char *) ((arg1)->data);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_unsigned_char, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_obj_storage_as_u_string) {
    {
        obj_storage_as_u_string *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_obj_storage_as_u_string();");
        }
        result = (obj_storage_as_u_string *)(obj_storage_as_u_string *) calloc(1, sizeof(obj_storage_as_u_string));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_u_string, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_obj_storage_as_u_string) {
    {
        obj_storage_as_u_string *arg1 = (obj_storage_as_u_string *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_obj_storage_as_u_string(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_u_string,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_obj_storage_as_u_string. Expected _p_obj_storage_as_u_string");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_string_dim_set) {
    {
        obj_storage_as_string *arg1 = (obj_storage_as_string *) 0 ;
        long arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_string_dim_set(self,dim);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_string,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_string_dim_set. Expected _p_obj_storage_as_string");
            }
        }
        arg2 = (long) SvIV(ST(1));
        if (arg1) (arg1)->dim = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_string_dim_get) {
    {
        obj_storage_as_string *arg1 = (obj_storage_as_string *) 0 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_string_dim_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_string,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_string_dim_get. Expected _p_obj_storage_as_string");
            }
        }
        result = (long) ((arg1)->dim);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_string_data_set) {
    {
        obj_storage_as_string *arg1 = (obj_storage_as_string *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_string_data_set(self,data);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_string,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_string_data_set. Expected _p_obj_storage_as_string");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (arg1->data) free((char*)arg1->data);
            if (arg2) {
                arg1->data = (char *) malloc(strlen(arg2)+1);
                strcpy((char*)arg1->data,arg2);
            } else {
                arg1->data = 0;
            }
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_string_data_get) {
    {
        obj_storage_as_string *arg1 = (obj_storage_as_string *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_string_data_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_string,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_string_data_get. Expected _p_obj_storage_as_string");
            }
        }
        result = (char *) ((arg1)->data);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_obj_storage_as_string) {
    {
        obj_storage_as_string *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_obj_storage_as_string();");
        }
        result = (obj_storage_as_string *)(obj_storage_as_string *) calloc(1, sizeof(obj_storage_as_string));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_string, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_obj_storage_as_string) {
    {
        obj_storage_as_string *arg1 = (obj_storage_as_string *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_obj_storage_as_string(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_string,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_obj_storage_as_string. Expected _p_obj_storage_as_string");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_double_array_dim_set) {
    {
        obj_storage_as_double_array *arg1 = (obj_storage_as_double_array *) 0 ;
        long arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_double_array_dim_set(self,dim);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_double_array,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_double_array_dim_set. Expected _p_obj_storage_as_double_array");
            }
        }
        arg2 = (long) SvIV(ST(1));
        if (arg1) (arg1)->dim = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_double_array_dim_get) {
    {
        obj_storage_as_double_array *arg1 = (obj_storage_as_double_array *) 0 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_double_array_dim_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_double_array,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_double_array_dim_get. Expected _p_obj_storage_as_double_array");
            }
        }
        result = (long) ((arg1)->dim);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_double_array_data_set) {
    {
        obj_storage_as_double_array *arg1 = (obj_storage_as_double_array *) 0 ;
        double *arg2 = (double *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_double_array_data_set(self,data);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_double_array,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_double_array_data_set. Expected _p_obj_storage_as_double_array");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_double,0) < 0) {
                SWIG_croak("Type error in argument 2 of obj_storage_as_double_array_data_set. Expected _p_double");
            }
        }
        if (arg1) (arg1)->data = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_double_array_data_get) {
    {
        obj_storage_as_double_array *arg1 = (obj_storage_as_double_array *) 0 ;
        double *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_double_array_data_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_double_array,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_double_array_data_get. Expected _p_obj_storage_as_double_array");
            }
        }
        result = (double *) ((arg1)->data);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_double, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_obj_storage_as_double_array) {
    {
        obj_storage_as_double_array *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_obj_storage_as_double_array();");
        }
        result = (obj_storage_as_double_array *)(obj_storage_as_double_array *) calloc(1, sizeof(obj_storage_as_double_array));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_double_array, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_obj_storage_as_double_array) {
    {
        obj_storage_as_double_array *arg1 = (obj_storage_as_double_array *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_obj_storage_as_double_array(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_double_array,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_obj_storage_as_double_array. Expected _p_obj_storage_as_double_array");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_long_array_dim_set) {
    {
        obj_storage_as_long_array *arg1 = (obj_storage_as_long_array *) 0 ;
        long arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_long_array_dim_set(self,dim);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_long_array,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_long_array_dim_set. Expected _p_obj_storage_as_long_array");
            }
        }
        arg2 = (long) SvIV(ST(1));
        if (arg1) (arg1)->dim = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_long_array_dim_get) {
    {
        obj_storage_as_long_array *arg1 = (obj_storage_as_long_array *) 0 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_long_array_dim_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_long_array,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_long_array_dim_get. Expected _p_obj_storage_as_long_array");
            }
        }
        result = (long) ((arg1)->dim);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_long_array_data_set) {
    {
        obj_storage_as_long_array *arg1 = (obj_storage_as_long_array *) 0 ;
        long *arg2 = (long *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_long_array_data_set(self,data);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_long_array,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_long_array_data_set. Expected _p_obj_storage_as_long_array");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_long,0) < 0) {
                SWIG_croak("Type error in argument 2 of obj_storage_as_long_array_data_set. Expected _p_long");
            }
        }
        if (arg1) (arg1)->data = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_long_array_data_get) {
    {
        obj_storage_as_long_array *arg1 = (obj_storage_as_long_array *) 0 ;
        long *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_long_array_data_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_long_array,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_long_array_data_get. Expected _p_obj_storage_as_long_array");
            }
        }
        result = (long *) ((arg1)->data);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_long, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_obj_storage_as_long_array) {
    {
        obj_storage_as_long_array *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_obj_storage_as_long_array();");
        }
        result = (obj_storage_as_long_array *)(obj_storage_as_long_array *) calloc(1, sizeof(obj_storage_as_long_array));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_long_array, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_obj_storage_as_long_array) {
    {
        obj_storage_as_long_array *arg1 = (obj_storage_as_long_array *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_obj_storage_as_long_array(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_long_array,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_obj_storage_as_long_array. Expected _p_obj_storage_as_long_array");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_closure_env_set) {
    {
        obj_storage_as_closure *arg1 = (obj_storage_as_closure *) 0 ;
        struct obj *arg2 = (struct obj *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_closure_env_set(self,env);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_closure,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_closure_env_set. Expected _p_obj_storage_as_closure");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of obj_storage_as_closure_env_set. Expected _p_obj");
            }
        }
        if (arg1) (arg1)->env = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_closure_env_get) {
    {
        obj_storage_as_closure *arg1 = (obj_storage_as_closure *) 0 ;
        struct obj *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_closure_env_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_closure,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_closure_env_get. Expected _p_obj_storage_as_closure");
            }
        }
        result = (struct obj *) ((arg1)->env);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_closure_code_set) {
    {
        obj_storage_as_closure *arg1 = (obj_storage_as_closure *) 0 ;
        struct obj *arg2 = (struct obj *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_closure_code_set(self,code);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_closure,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_closure_code_set. Expected _p_obj_storage_as_closure");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of obj_storage_as_closure_code_set. Expected _p_obj");
            }
        }
        if (arg1) (arg1)->code = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_closure_code_get) {
    {
        obj_storage_as_closure *arg1 = (obj_storage_as_closure *) 0 ;
        struct obj *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_closure_code_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_closure,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_closure_code_get. Expected _p_obj_storage_as_closure");
            }
        }
        result = (struct obj *) ((arg1)->code);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_obj_storage_as_closure) {
    {
        obj_storage_as_closure *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_obj_storage_as_closure();");
        }
        result = (obj_storage_as_closure *)(obj_storage_as_closure *) calloc(1, sizeof(obj_storage_as_closure));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_closure, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_obj_storage_as_closure) {
    {
        obj_storage_as_closure *arg1 = (obj_storage_as_closure *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_obj_storage_as_closure(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_closure,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_obj_storage_as_closure. Expected _p_obj_storage_as_closure");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr_name_set) {
    {
        obj_storage_as_subr *arg1 = (obj_storage_as_subr *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_subr_name_set(self,name);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr_name_set. Expected _p_obj_storage_as_subr");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (arg1->name) free((char*)arg1->name);
            if (arg2) {
                arg1->name = (char *) malloc(strlen(arg2)+1);
                strcpy((char*)arg1->name,arg2);
            } else {
                arg1->name = 0;
            }
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr_name_get) {
    {
        obj_storage_as_subr *arg1 = (obj_storage_as_subr *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subr_name_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr_name_get. Expected _p_obj_storage_as_subr");
            }
        }
        result = (char *) ((arg1)->name);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr_f_set) {
    {
        obj_storage_as_subr *arg1 = (obj_storage_as_subr *) 0 ;
        struct obj *(*arg2)(void *,...) = (struct obj *(*)(void *,...)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_subr_f_set(self,f);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr_f_set. Expected _p_obj_storage_as_subr");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_void_v_______p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of obj_storage_as_subr_f_set. Expected _p_f_p_void_v_______p_obj");
            }
        }
        if (arg1) (arg1)->f = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr_f_get) {
    {
        obj_storage_as_subr *arg1 = (obj_storage_as_subr *) 0 ;
        struct obj *(*result)(void *,...);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subr_f_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr_f_get. Expected _p_obj_storage_as_subr");
            }
        }
        result = (struct obj *(*)(void *,...)) ((arg1)->f);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_void_v_______p_obj, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_obj_storage_as_subr) {
    {
        obj_storage_as_subr *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_obj_storage_as_subr();");
        }
        result = (obj_storage_as_subr *)(obj_storage_as_subr *) calloc(1, sizeof(obj_storage_as_subr));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_subr, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_obj_storage_as_subr) {
    {
        obj_storage_as_subr *arg1 = (obj_storage_as_subr *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_obj_storage_as_subr(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_obj_storage_as_subr. Expected _p_obj_storage_as_subr");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subrm_name_set) {
    {
        obj_storage_as_subrm *arg1 = (obj_storage_as_subrm *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_subrm_name_set(self,name);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subrm,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subrm_name_set. Expected _p_obj_storage_as_subrm");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (arg1->name) free((char*)arg1->name);
            if (arg2) {
                arg1->name = (char *) malloc(strlen(arg2)+1);
                strcpy((char*)arg1->name,arg2);
            } else {
                arg1->name = 0;
            }
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subrm_name_get) {
    {
        obj_storage_as_subrm *arg1 = (obj_storage_as_subrm *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subrm_name_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subrm,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subrm_name_get. Expected _p_obj_storage_as_subrm");
            }
        }
        result = (char *) ((arg1)->name);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subrm_f_set) {
    {
        obj_storage_as_subrm *arg1 = (obj_storage_as_subrm *) 0 ;
        struct obj *(*arg2)(struct obj **,struct obj **) = (struct obj *(*)(struct obj **,struct obj **)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_subrm_f_set(self,f);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subrm,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subrm_f_set. Expected _p_obj_storage_as_subrm");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_p_struct_obj_p_p_struct_obj__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of obj_storage_as_subrm_f_set. Expected _p_f_p_p_struct_obj_p_p_struct_obj__p_obj");
            }
        }
        if (arg1) (arg1)->f = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subrm_f_get) {
    {
        obj_storage_as_subrm *arg1 = (obj_storage_as_subrm *) 0 ;
        struct obj *(*result)(struct obj **,struct obj **);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subrm_f_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subrm,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subrm_f_get. Expected _p_obj_storage_as_subrm");
            }
        }
        result = (struct obj *(*)(struct obj **,struct obj **)) ((arg1)->f);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_p_struct_obj_p_p_struct_obj__p_obj, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_obj_storage_as_subrm) {
    {
        obj_storage_as_subrm *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_obj_storage_as_subrm();");
        }
        result = (obj_storage_as_subrm *)(obj_storage_as_subrm *) calloc(1, sizeof(obj_storage_as_subrm));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_subrm, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_obj_storage_as_subrm) {
    {
        obj_storage_as_subrm *arg1 = (obj_storage_as_subrm *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_obj_storage_as_subrm(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subrm,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_obj_storage_as_subrm. Expected _p_obj_storage_as_subrm");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr5_name_set) {
    {
        obj_storage_as_subr5 *arg1 = (obj_storage_as_subr5 *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_subr5_name_set(self,name);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr5,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr5_name_set. Expected _p_obj_storage_as_subr5");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (arg1->name) free((char*)arg1->name);
            if (arg2) {
                arg1->name = (char *) malloc(strlen(arg2)+1);
                strcpy((char*)arg1->name,arg2);
            } else {
                arg1->name = 0;
            }
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr5_name_get) {
    {
        obj_storage_as_subr5 *arg1 = (obj_storage_as_subr5 *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subr5_name_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr5,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr5_name_get. Expected _p_obj_storage_as_subr5");
            }
        }
        result = (char *) ((arg1)->name);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr5_f_set) {
    {
        obj_storage_as_subr5 *arg1 = (obj_storage_as_subr5 *) 0 ;
        struct obj *(*arg2)(struct obj *,struct obj *,struct obj *,struct obj *,struct obj *) = (struct obj *(*)(struct obj *,struct obj *,struct obj *,struct obj *,struct obj *)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_subr5_f_set(self,f);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr5,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr5_f_set. Expected _p_obj_storage_as_subr5");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of obj_storage_as_subr5_f_set. Expected _p_f_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj__p_obj");
            }
        }
        if (arg1) (arg1)->f = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr5_f_get) {
    {
        obj_storage_as_subr5 *arg1 = (obj_storage_as_subr5 *) 0 ;
        struct obj *(*result)(struct obj *,struct obj *,struct obj *,struct obj *,struct obj *);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subr5_f_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr5,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr5_f_get. Expected _p_obj_storage_as_subr5");
            }
        }
        result = (struct obj *(*)(struct obj *,struct obj *,struct obj *,struct obj *,struct obj *)) ((arg1)->f);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj__p_obj, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_obj_storage_as_subr5) {
    {
        obj_storage_as_subr5 *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_obj_storage_as_subr5();");
        }
        result = (obj_storage_as_subr5 *)(obj_storage_as_subr5 *) calloc(1, sizeof(obj_storage_as_subr5));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_subr5, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_obj_storage_as_subr5) {
    {
        obj_storage_as_subr5 *arg1 = (obj_storage_as_subr5 *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_obj_storage_as_subr5(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr5,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_obj_storage_as_subr5. Expected _p_obj_storage_as_subr5");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr4_name_set) {
    {
        obj_storage_as_subr4 *arg1 = (obj_storage_as_subr4 *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_subr4_name_set(self,name);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr4,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr4_name_set. Expected _p_obj_storage_as_subr4");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (arg1->name) free((char*)arg1->name);
            if (arg2) {
                arg1->name = (char *) malloc(strlen(arg2)+1);
                strcpy((char*)arg1->name,arg2);
            } else {
                arg1->name = 0;
            }
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr4_name_get) {
    {
        obj_storage_as_subr4 *arg1 = (obj_storage_as_subr4 *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subr4_name_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr4,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr4_name_get. Expected _p_obj_storage_as_subr4");
            }
        }
        result = (char *) ((arg1)->name);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr4_f_set) {
    {
        obj_storage_as_subr4 *arg1 = (obj_storage_as_subr4 *) 0 ;
        struct obj *(*arg2)(struct obj *,struct obj *,struct obj *,struct obj *) = (struct obj *(*)(struct obj *,struct obj *,struct obj *,struct obj *)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_subr4_f_set(self,f);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr4,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr4_f_set. Expected _p_obj_storage_as_subr4");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of obj_storage_as_subr4_f_set. Expected _p_f_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj__p_obj");
            }
        }
        if (arg1) (arg1)->f = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr4_f_get) {
    {
        obj_storage_as_subr4 *arg1 = (obj_storage_as_subr4 *) 0 ;
        struct obj *(*result)(struct obj *,struct obj *,struct obj *,struct obj *);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subr4_f_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr4,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr4_f_get. Expected _p_obj_storage_as_subr4");
            }
        }
        result = (struct obj *(*)(struct obj *,struct obj *,struct obj *,struct obj *)) ((arg1)->f);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj__p_obj, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_obj_storage_as_subr4) {
    {
        obj_storage_as_subr4 *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_obj_storage_as_subr4();");
        }
        result = (obj_storage_as_subr4 *)(obj_storage_as_subr4 *) calloc(1, sizeof(obj_storage_as_subr4));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_subr4, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_obj_storage_as_subr4) {
    {
        obj_storage_as_subr4 *arg1 = (obj_storage_as_subr4 *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_obj_storage_as_subr4(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr4,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_obj_storage_as_subr4. Expected _p_obj_storage_as_subr4");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr3_name_set) {
    {
        obj_storage_as_subr3 *arg1 = (obj_storage_as_subr3 *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_subr3_name_set(self,name);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr3,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr3_name_set. Expected _p_obj_storage_as_subr3");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (arg1->name) free((char*)arg1->name);
            if (arg2) {
                arg1->name = (char *) malloc(strlen(arg2)+1);
                strcpy((char*)arg1->name,arg2);
            } else {
                arg1->name = 0;
            }
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr3_name_get) {
    {
        obj_storage_as_subr3 *arg1 = (obj_storage_as_subr3 *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subr3_name_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr3,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr3_name_get. Expected _p_obj_storage_as_subr3");
            }
        }
        result = (char *) ((arg1)->name);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr3_f_set) {
    {
        obj_storage_as_subr3 *arg1 = (obj_storage_as_subr3 *) 0 ;
        struct obj *(*arg2)(struct obj *,struct obj *,struct obj *) = (struct obj *(*)(struct obj *,struct obj *,struct obj *)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_subr3_f_set(self,f);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr3,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr3_f_set. Expected _p_obj_storage_as_subr3");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_struct_obj_p_struct_obj_p_struct_obj__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of obj_storage_as_subr3_f_set. Expected _p_f_p_struct_obj_p_struct_obj_p_struct_obj__p_obj");
            }
        }
        if (arg1) (arg1)->f = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr3_f_get) {
    {
        obj_storage_as_subr3 *arg1 = (obj_storage_as_subr3 *) 0 ;
        struct obj *(*result)(struct obj *,struct obj *,struct obj *);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subr3_f_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr3,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr3_f_get. Expected _p_obj_storage_as_subr3");
            }
        }
        result = (struct obj *(*)(struct obj *,struct obj *,struct obj *)) ((arg1)->f);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_struct_obj_p_struct_obj_p_struct_obj__p_obj, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_obj_storage_as_subr3) {
    {
        obj_storage_as_subr3 *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_obj_storage_as_subr3();");
        }
        result = (obj_storage_as_subr3 *)(obj_storage_as_subr3 *) calloc(1, sizeof(obj_storage_as_subr3));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_subr3, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_obj_storage_as_subr3) {
    {
        obj_storage_as_subr3 *arg1 = (obj_storage_as_subr3 *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_obj_storage_as_subr3(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr3,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_obj_storage_as_subr3. Expected _p_obj_storage_as_subr3");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr2_name_set) {
    {
        obj_storage_as_subr2 *arg1 = (obj_storage_as_subr2 *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_subr2_name_set(self,name);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr2,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr2_name_set. Expected _p_obj_storage_as_subr2");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (arg1->name) free((char*)arg1->name);
            if (arg2) {
                arg1->name = (char *) malloc(strlen(arg2)+1);
                strcpy((char*)arg1->name,arg2);
            } else {
                arg1->name = 0;
            }
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr2_name_get) {
    {
        obj_storage_as_subr2 *arg1 = (obj_storage_as_subr2 *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subr2_name_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr2,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr2_name_get. Expected _p_obj_storage_as_subr2");
            }
        }
        result = (char *) ((arg1)->name);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr2_f_set) {
    {
        obj_storage_as_subr2 *arg1 = (obj_storage_as_subr2 *) 0 ;
        struct obj *(*arg2)(struct obj *,struct obj *) = (struct obj *(*)(struct obj *,struct obj *)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_subr2_f_set(self,f);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr2,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr2_f_set. Expected _p_obj_storage_as_subr2");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_struct_obj_p_struct_obj__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of obj_storage_as_subr2_f_set. Expected _p_f_p_struct_obj_p_struct_obj__p_obj");
            }
        }
        if (arg1) (arg1)->f = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr2_f_get) {
    {
        obj_storage_as_subr2 *arg1 = (obj_storage_as_subr2 *) 0 ;
        struct obj *(*result)(struct obj *,struct obj *);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subr2_f_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr2,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr2_f_get. Expected _p_obj_storage_as_subr2");
            }
        }
        result = (struct obj *(*)(struct obj *,struct obj *)) ((arg1)->f);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_struct_obj_p_struct_obj__p_obj, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_obj_storage_as_subr2) {
    {
        obj_storage_as_subr2 *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_obj_storage_as_subr2();");
        }
        result = (obj_storage_as_subr2 *)(obj_storage_as_subr2 *) calloc(1, sizeof(obj_storage_as_subr2));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_subr2, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_obj_storage_as_subr2) {
    {
        obj_storage_as_subr2 *arg1 = (obj_storage_as_subr2 *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_obj_storage_as_subr2(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr2,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_obj_storage_as_subr2. Expected _p_obj_storage_as_subr2");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr1_name_set) {
    {
        obj_storage_as_subr1 *arg1 = (obj_storage_as_subr1 *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_subr1_name_set(self,name);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr1,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr1_name_set. Expected _p_obj_storage_as_subr1");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (arg1->name) free((char*)arg1->name);
            if (arg2) {
                arg1->name = (char *) malloc(strlen(arg2)+1);
                strcpy((char*)arg1->name,arg2);
            } else {
                arg1->name = 0;
            }
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr1_name_get) {
    {
        obj_storage_as_subr1 *arg1 = (obj_storage_as_subr1 *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subr1_name_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr1,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr1_name_get. Expected _p_obj_storage_as_subr1");
            }
        }
        result = (char *) ((arg1)->name);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr1_f_set) {
    {
        obj_storage_as_subr1 *arg1 = (obj_storage_as_subr1 *) 0 ;
        struct obj *(*arg2)(struct obj *) = (struct obj *(*)(struct obj *)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_subr1_f_set(self,f);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr1,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr1_f_set. Expected _p_obj_storage_as_subr1");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_struct_obj__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of obj_storage_as_subr1_f_set. Expected _p_f_p_struct_obj__p_obj");
            }
        }
        if (arg1) (arg1)->f = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr1_f_get) {
    {
        obj_storage_as_subr1 *arg1 = (obj_storage_as_subr1 *) 0 ;
        struct obj *(*result)(struct obj *);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subr1_f_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr1,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr1_f_get. Expected _p_obj_storage_as_subr1");
            }
        }
        result = (struct obj *(*)(struct obj *)) ((arg1)->f);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_struct_obj__p_obj, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_obj_storage_as_subr1) {
    {
        obj_storage_as_subr1 *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_obj_storage_as_subr1();");
        }
        result = (obj_storage_as_subr1 *)(obj_storage_as_subr1 *) calloc(1, sizeof(obj_storage_as_subr1));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_subr1, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_obj_storage_as_subr1) {
    {
        obj_storage_as_subr1 *arg1 = (obj_storage_as_subr1 *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_obj_storage_as_subr1(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr1,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_obj_storage_as_subr1. Expected _p_obj_storage_as_subr1");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr0_name_set) {
    {
        obj_storage_as_subr0 *arg1 = (obj_storage_as_subr0 *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_subr0_name_set(self,name);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr0,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr0_name_set. Expected _p_obj_storage_as_subr0");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (arg1->name) free((char*)arg1->name);
            if (arg2) {
                arg1->name = (char *) malloc(strlen(arg2)+1);
                strcpy((char*)arg1->name,arg2);
            } else {
                arg1->name = 0;
            }
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr0_name_get) {
    {
        obj_storage_as_subr0 *arg1 = (obj_storage_as_subr0 *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subr0_name_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr0,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr0_name_get. Expected _p_obj_storage_as_subr0");
            }
        }
        result = (char *) ((arg1)->name);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr0_f_set) {
    {
        obj_storage_as_subr0 *arg1 = (obj_storage_as_subr0 *) 0 ;
        struct obj *(*arg2)(void) = (struct obj *(*)(void)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_subr0_f_set(self,f);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr0,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr0_f_set. Expected _p_obj_storage_as_subr0");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_void__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of obj_storage_as_subr0_f_set. Expected _p_f_void__p_obj");
            }
        }
        if (arg1) (arg1)->f = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_subr0_f_get) {
    {
        obj_storage_as_subr0 *arg1 = (obj_storage_as_subr0 *) 0 ;
        struct obj *(*result)(void);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_subr0_f_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr0,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_subr0_f_get. Expected _p_obj_storage_as_subr0");
            }
        }
        result = (struct obj *(*)(void)) ((arg1)->f);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_void__p_obj, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_obj_storage_as_subr0) {
    {
        obj_storage_as_subr0 *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_obj_storage_as_subr0();");
        }
        result = (obj_storage_as_subr0 *)(obj_storage_as_subr0 *) calloc(1, sizeof(obj_storage_as_subr0));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_subr0, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_obj_storage_as_subr0) {
    {
        obj_storage_as_subr0 *arg1 = (obj_storage_as_subr0 *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_obj_storage_as_subr0(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_subr0,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_obj_storage_as_subr0. Expected _p_obj_storage_as_subr0");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_symbol_pname_set) {
    {
        obj_storage_as_symbol *arg1 = (obj_storage_as_symbol *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_symbol_pname_set(self,pname);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_symbol,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_symbol_pname_set. Expected _p_obj_storage_as_symbol");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (arg1->pname) free((char*)arg1->pname);
            if (arg2) {
                arg1->pname = (char *) malloc(strlen(arg2)+1);
                strcpy((char*)arg1->pname,arg2);
            } else {
                arg1->pname = 0;
            }
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_symbol_pname_get) {
    {
        obj_storage_as_symbol *arg1 = (obj_storage_as_symbol *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_symbol_pname_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_symbol,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_symbol_pname_get. Expected _p_obj_storage_as_symbol");
            }
        }
        result = (char *) ((arg1)->pname);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_symbol_vcell_set) {
    {
        obj_storage_as_symbol *arg1 = (obj_storage_as_symbol *) 0 ;
        struct obj *arg2 = (struct obj *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_symbol_vcell_set(self,vcell);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_symbol,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_symbol_vcell_set. Expected _p_obj_storage_as_symbol");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of obj_storage_as_symbol_vcell_set. Expected _p_obj");
            }
        }
        if (arg1) (arg1)->vcell = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_symbol_vcell_get) {
    {
        obj_storage_as_symbol *arg1 = (obj_storage_as_symbol *) 0 ;
        struct obj *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_symbol_vcell_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_symbol,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_symbol_vcell_get. Expected _p_obj_storage_as_symbol");
            }
        }
        result = (struct obj *) ((arg1)->vcell);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_obj_storage_as_symbol) {
    {
        obj_storage_as_symbol *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_obj_storage_as_symbol();");
        }
        result = (obj_storage_as_symbol *)(obj_storage_as_symbol *) calloc(1, sizeof(obj_storage_as_symbol));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_symbol, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_obj_storage_as_symbol) {
    {
        obj_storage_as_symbol *arg1 = (obj_storage_as_symbol *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_obj_storage_as_symbol(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_symbol,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_obj_storage_as_symbol. Expected _p_obj_storage_as_symbol");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_flonum_data_set) {
    {
        obj_storage_as_flonum *arg1 = (obj_storage_as_flonum *) 0 ;
        double arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_flonum_data_set(self,data);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_flonum,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_flonum_data_set. Expected _p_obj_storage_as_flonum");
            }
        }
        arg2 = (double) SvNV(ST(1));
        
        if (arg1) (arg1)->data = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_flonum_data_get) {
    {
        obj_storage_as_flonum *arg1 = (obj_storage_as_flonum *) 0 ;
        double result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_flonum_data_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_flonum,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_flonum_data_get. Expected _p_obj_storage_as_flonum");
            }
        }
        result = (double) ((arg1)->data);
        
        ST(argvi) = sv_newmortal();
        sv_setnv(ST(argvi++), (double) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_obj_storage_as_flonum) {
    {
        obj_storage_as_flonum *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_obj_storage_as_flonum();");
        }
        result = (obj_storage_as_flonum *)(obj_storage_as_flonum *) calloc(1, sizeof(obj_storage_as_flonum));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_flonum, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_obj_storage_as_flonum) {
    {
        obj_storage_as_flonum *arg1 = (obj_storage_as_flonum *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_obj_storage_as_flonum(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_flonum,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_obj_storage_as_flonum. Expected _p_obj_storage_as_flonum");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_cons_car_set) {
    {
        obj_storage_as_cons *arg1 = (obj_storage_as_cons *) 0 ;
        struct obj *arg2 = (struct obj *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_cons_car_set(self,car);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_cons,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_cons_car_set. Expected _p_obj_storage_as_cons");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of obj_storage_as_cons_car_set. Expected _p_obj");
            }
        }
        if (arg1) (arg1)->car = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_cons_car_get) {
    {
        obj_storage_as_cons *arg1 = (obj_storage_as_cons *) 0 ;
        struct obj *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_cons_car_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_cons,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_cons_car_get. Expected _p_obj_storage_as_cons");
            }
        }
        result = (struct obj *) ((arg1)->car);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_cons_cdr_set) {
    {
        obj_storage_as_cons *arg1 = (obj_storage_as_cons *) 0 ;
        struct obj *arg2 = (struct obj *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: obj_storage_as_cons_cdr_set(self,cdr);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_cons,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_cons_cdr_set. Expected _p_obj_storage_as_cons");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of obj_storage_as_cons_cdr_set. Expected _p_obj");
            }
        }
        if (arg1) (arg1)->cdr = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_obj_storage_as_cons_cdr_get) {
    {
        obj_storage_as_cons *arg1 = (obj_storage_as_cons *) 0 ;
        struct obj *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: obj_storage_as_cons_cdr_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_cons,0) < 0) {
                SWIG_croak("Type error in argument 1 of obj_storage_as_cons_cdr_get. Expected _p_obj_storage_as_cons");
            }
        }
        result = (struct obj *) ((arg1)->cdr);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_obj_storage_as_cons) {
    {
        obj_storage_as_cons *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_obj_storage_as_cons();");
        }
        result = (obj_storage_as_cons *)(obj_storage_as_cons *) calloc(1, sizeof(obj_storage_as_cons));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj_storage_as_cons, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_obj_storage_as_cons) {
    {
        obj_storage_as_cons *arg1 = (obj_storage_as_cons *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_obj_storage_as_cons(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj_storage_as_cons,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_obj_storage_as_cons. Expected _p_obj_storage_as_cons");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_gen_readio_getc_fcn_set) {
    {
        struct gen_readio *arg1 = (struct gen_readio *) 0 ;
        int (*arg2)(void *) = (int (*)(void *)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: gen_readio_getc_fcn_set(self,getc_fcn);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_gen_readio,0) < 0) {
                SWIG_croak("Type error in argument 1 of gen_readio_getc_fcn_set. Expected _p_gen_readio");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_void__int,0) < 0) {
                SWIG_croak("Type error in argument 2 of gen_readio_getc_fcn_set. Expected _p_f_p_void__int");
            }
        }
        if (arg1) (arg1)->getc_fcn = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_gen_readio_getc_fcn_get) {
    {
        struct gen_readio *arg1 = (struct gen_readio *) 0 ;
        int (*result)(void *);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: gen_readio_getc_fcn_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_gen_readio,0) < 0) {
                SWIG_croak("Type error in argument 1 of gen_readio_getc_fcn_get. Expected _p_gen_readio");
            }
        }
        result = (int (*)(void *)) ((arg1)->getc_fcn);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_void__int, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_gen_readio_ungetc_fcn_set) {
    {
        struct gen_readio *arg1 = (struct gen_readio *) 0 ;
        void (*arg2)(int,void *) = (void (*)(int,void *)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: gen_readio_ungetc_fcn_set(self,ungetc_fcn);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_gen_readio,0) < 0) {
                SWIG_croak("Type error in argument 1 of gen_readio_ungetc_fcn_set. Expected _p_gen_readio");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_int_p_void__void,0) < 0) {
                SWIG_croak("Type error in argument 2 of gen_readio_ungetc_fcn_set. Expected _p_f_int_p_void__void");
            }
        }
        if (arg1) (arg1)->ungetc_fcn = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_gen_readio_ungetc_fcn_get) {
    {
        struct gen_readio *arg1 = (struct gen_readio *) 0 ;
        void (*result)(int,void *);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: gen_readio_ungetc_fcn_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_gen_readio,0) < 0) {
                SWIG_croak("Type error in argument 1 of gen_readio_ungetc_fcn_get. Expected _p_gen_readio");
            }
        }
        result = (void (*)(int,void *)) ((arg1)->ungetc_fcn);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_int_p_void__void, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_gen_readio_cb_argument_set) {
    {
        struct gen_readio *arg1 = (struct gen_readio *) 0 ;
        void *arg2 = (void *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: gen_readio_cb_argument_set(self,cb_argument);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_gen_readio,0) < 0) {
                SWIG_croak("Type error in argument 1 of gen_readio_cb_argument_set. Expected _p_gen_readio");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, 0,0) < 0) {
                SWIG_croak("Type error in argument 2 of gen_readio_cb_argument_set. Expected _p_void");
            }
        }
        if (arg1) (arg1)->cb_argument = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_gen_readio_cb_argument_get) {
    {
        struct gen_readio *arg1 = (struct gen_readio *) 0 ;
        void *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: gen_readio_cb_argument_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_gen_readio,0) < 0) {
                SWIG_croak("Type error in argument 1 of gen_readio_cb_argument_get. Expected _p_gen_readio");
            }
        }
        result = (void *) ((arg1)->cb_argument);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_void, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_gen_readio) {
    {
        struct gen_readio *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_gen_readio();");
        }
        result = (struct gen_readio *)(struct gen_readio *) calloc(1, sizeof(struct gen_readio));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_gen_readio, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_gen_readio) {
    {
        struct gen_readio *arg1 = (struct gen_readio *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_gen_readio(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_gen_readio,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_gen_readio. Expected _p_gen_readio");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_gen_printio_putc_fcn_set) {
    {
        struct gen_printio *arg1 = (struct gen_printio *) 0 ;
        int (*arg2)(int,void *) = (int (*)(int,void *)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: gen_printio_putc_fcn_set(self,putc_fcn);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_gen_printio,0) < 0) {
                SWIG_croak("Type error in argument 1 of gen_printio_putc_fcn_set. Expected _p_gen_printio");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_int_p_void__int,0) < 0) {
                SWIG_croak("Type error in argument 2 of gen_printio_putc_fcn_set. Expected _p_f_int_p_void__int");
            }
        }
        if (arg1) (arg1)->putc_fcn = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_gen_printio_putc_fcn_get) {
    {
        struct gen_printio *arg1 = (struct gen_printio *) 0 ;
        int (*result)(int,void *);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: gen_printio_putc_fcn_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_gen_printio,0) < 0) {
                SWIG_croak("Type error in argument 1 of gen_printio_putc_fcn_get. Expected _p_gen_printio");
            }
        }
        result = (int (*)(int,void *)) ((arg1)->putc_fcn);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_int_p_void__int, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_gen_printio_puts_fcn_set) {
    {
        struct gen_printio *arg1 = (struct gen_printio *) 0 ;
        int (*arg2)(char *,void *) = (int (*)(char *,void *)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: gen_printio_puts_fcn_set(self,puts_fcn);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_gen_printio,0) < 0) {
                SWIG_croak("Type error in argument 1 of gen_printio_puts_fcn_set. Expected _p_gen_printio");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_char_p_void__int,0) < 0) {
                SWIG_croak("Type error in argument 2 of gen_printio_puts_fcn_set. Expected _p_f_p_char_p_void__int");
            }
        }
        if (arg1) (arg1)->puts_fcn = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_gen_printio_puts_fcn_get) {
    {
        struct gen_printio *arg1 = (struct gen_printio *) 0 ;
        int (*result)(char *,void *);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: gen_printio_puts_fcn_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_gen_printio,0) < 0) {
                SWIG_croak("Type error in argument 1 of gen_printio_puts_fcn_get. Expected _p_gen_printio");
            }
        }
        result = (int (*)(char *,void *)) ((arg1)->puts_fcn);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_char_p_void__int, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_gen_printio_cb_argument_set) {
    {
        struct gen_printio *arg1 = (struct gen_printio *) 0 ;
        void *arg2 = (void *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: gen_printio_cb_argument_set(self,cb_argument);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_gen_printio,0) < 0) {
                SWIG_croak("Type error in argument 1 of gen_printio_cb_argument_set. Expected _p_gen_printio");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, 0,0) < 0) {
                SWIG_croak("Type error in argument 2 of gen_printio_cb_argument_set. Expected _p_void");
            }
        }
        if (arg1) (arg1)->cb_argument = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_gen_printio_cb_argument_get) {
    {
        struct gen_printio *arg1 = (struct gen_printio *) 0 ;
        void *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: gen_printio_cb_argument_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_gen_printio,0) < 0) {
                SWIG_croak("Type error in argument 1 of gen_printio_cb_argument_get. Expected _p_gen_printio");
            }
        }
        result = (void *) ((arg1)->cb_argument);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_void, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_gen_printio) {
    {
        struct gen_printio *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_gen_printio();");
        }
        result = (struct gen_printio *)(struct gen_printio *) calloc(1, sizeof(struct gen_printio));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_gen_printio, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_gen_printio) {
    {
        struct gen_printio *arg1 = (struct gen_printio *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_gen_printio(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_gen_printio,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_gen_printio. Expected _p_gen_printio");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_repl_hooks_repl_puts_set) {
    {
        struct repl_hooks *arg1 = (struct repl_hooks *) 0 ;
        void (*arg2)(char *) = (void (*)(char *)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: repl_hooks_repl_puts_set(self,repl_puts);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_repl_hooks,0) < 0) {
                SWIG_croak("Type error in argument 1 of repl_hooks_repl_puts_set. Expected _p_repl_hooks");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_char__void,0) < 0) {
                SWIG_croak("Type error in argument 2 of repl_hooks_repl_puts_set. Expected _p_f_p_char__void");
            }
        }
        if (arg1) (arg1)->repl_puts = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_repl_hooks_repl_puts_get) {
    {
        struct repl_hooks *arg1 = (struct repl_hooks *) 0 ;
        void (*result)(char *);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: repl_hooks_repl_puts_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_repl_hooks,0) < 0) {
                SWIG_croak("Type error in argument 1 of repl_hooks_repl_puts_get. Expected _p_repl_hooks");
            }
        }
        result = (void (*)(char *)) ((arg1)->repl_puts);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_char__void, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_repl_hooks_repl_read_set) {
    {
        struct repl_hooks *arg1 = (struct repl_hooks *) 0 ;
        LISP (*arg2)(void) = (LISP (*)(void)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: repl_hooks_repl_read_set(self,repl_read);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_repl_hooks,0) < 0) {
                SWIG_croak("Type error in argument 1 of repl_hooks_repl_read_set. Expected _p_repl_hooks");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_void__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of repl_hooks_repl_read_set. Expected _p_f_void__p_obj");
            }
        }
        if (arg1) (arg1)->repl_read = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_repl_hooks_repl_read_get) {
    {
        struct repl_hooks *arg1 = (struct repl_hooks *) 0 ;
        LISP (*result)(void);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: repl_hooks_repl_read_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_repl_hooks,0) < 0) {
                SWIG_croak("Type error in argument 1 of repl_hooks_repl_read_get. Expected _p_repl_hooks");
            }
        }
        result = (LISP (*)(void)) ((arg1)->repl_read);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_void__p_obj, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_repl_hooks_repl_eval_set) {
    {
        struct repl_hooks *arg1 = (struct repl_hooks *) 0 ;
        LISP (*arg2)(LISP) = (LISP (*)(LISP)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: repl_hooks_repl_eval_set(self,repl_eval);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_repl_hooks,0) < 0) {
                SWIG_croak("Type error in argument 1 of repl_hooks_repl_eval_set. Expected _p_repl_hooks");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_LISP__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of repl_hooks_repl_eval_set. Expected _p_f_LISP__p_obj");
            }
        }
        if (arg1) (arg1)->repl_eval = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_repl_hooks_repl_eval_get) {
    {
        struct repl_hooks *arg1 = (struct repl_hooks *) 0 ;
        LISP (*result)(LISP);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: repl_hooks_repl_eval_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_repl_hooks,0) < 0) {
                SWIG_croak("Type error in argument 1 of repl_hooks_repl_eval_get. Expected _p_repl_hooks");
            }
        }
        result = (LISP (*)(LISP)) ((arg1)->repl_eval);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_LISP__p_obj, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_repl_hooks_repl_print_set) {
    {
        struct repl_hooks *arg1 = (struct repl_hooks *) 0 ;
        void (*arg2)(LISP) = (void (*)(LISP)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: repl_hooks_repl_print_set(self,repl_print);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_repl_hooks,0) < 0) {
                SWIG_croak("Type error in argument 1 of repl_hooks_repl_print_set. Expected _p_repl_hooks");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_struct_obj__void,0) < 0) {
                SWIG_croak("Type error in argument 2 of repl_hooks_repl_print_set. Expected _p_f_p_struct_obj__void");
            }
        }
        if (arg1) (arg1)->repl_print = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_repl_hooks_repl_print_get) {
    {
        struct repl_hooks *arg1 = (struct repl_hooks *) 0 ;
        void (*result)(LISP);
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: repl_hooks_repl_print_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_repl_hooks,0) < 0) {
                SWIG_croak("Type error in argument 1 of repl_hooks_repl_print_get. Expected _p_repl_hooks");
            }
        }
        result = (void (*)(LISP)) ((arg1)->repl_print);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_struct_obj__void, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_new_repl_hooks) {
    {
        struct repl_hooks *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: new_repl_hooks();");
        }
        result = (struct repl_hooks *)(struct repl_hooks *) calloc(1, sizeof(struct repl_hooks));
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_repl_hooks, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delete_repl_hooks) {
    {
        struct repl_hooks *arg1 = (struct repl_hooks *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: delete_repl_hooks(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_repl_hooks,0) < 0) {
                SWIG_croak("Type error in argument 1 of delete_repl_hooks. Expected _p_repl_hooks");
            }
        }
        free((char *) arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_process_cla) {
    {
        int arg1 ;
        char **arg2 = (char **) 0 ;
        int arg3 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: process_cla(argc,argv,warnflag);");
        }
        arg1 = (int) SvIV(ST(0));
        {
            AV *tempav;
            I32 len;
            int i;
            SV  **tv;
            if (!SvROK(ST(1)))
            croak("Argument 2 is not a reference.");
            if (SvTYPE(SvRV(ST(1))) != SVt_PVAV)
            croak("Argument 2 is not an array.");
            tempav = (AV*)SvRV(ST(1));
            len = av_len(tempav);
            arg2 = (char **) malloc((len+2)*sizeof(char *));
            for (i = 0; i <= len; i++) {
                tv = av_fetch(tempav, i, 0);        
                arg2[i] = (char *) SvPV(*tv,PL_na);
            }
            arg2[i] = NULL;
        }
        arg3 = (int) SvIV(ST(2));
        process_cla(arg1,arg2,arg3);
        
        
        {
            free(arg2);
        }
        XSRETURN(argvi);
        fail:
        {
            free(arg2);
        }
        ;
    }
    croak(Nullch);
}


XS(_wrap_print_welcome) {
    {
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: print_welcome();");
        }
        print_welcome();
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_print_hs_1) {
    {
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: print_hs_1();");
        }
        print_hs_1();
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_print_hs_2) {
    {
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: print_hs_2();");
        }
        print_hs_2();
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_no_interrupt) {
    {
        long arg1 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: no_interrupt(n);");
        }
        arg1 = (long) SvIV(ST(0));
        result = (long)no_interrupt(arg1);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_get_eof_val) {
    {
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: get_eof_val();");
        }
        result = (LISP)get_eof_val();
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_repl_driver) {
    {
        long arg1 ;
        long arg2 ;
        struct repl_hooks *arg3 = (struct repl_hooks *) 0 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: repl_driver(want_sigint,want_init,struct repl_hooks *);");
        }
        arg1 = (long) SvIV(ST(0));
        arg2 = (long) SvIV(ST(1));
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_repl_hooks,0) < 0) {
                SWIG_croak("Type error in argument 3 of repl_driver. Expected _p_repl_hooks");
            }
        }
        result = (long)repl_driver(arg1,arg2,arg3);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_set_repl_hooks) {
    {
        void (*arg1)(char *) = (void (*)(char *)) 0 ;
        LISP (*arg2)(void) = (LISP (*)(void)) 0 ;
        LISP (*arg3)(LISP) = (LISP (*)(LISP)) 0 ;
        void (*arg4)(LISP) = (void (*)(LISP)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 4) || (items > 4)) {
            SWIG_croak("Usage: set_repl_hooks(puts_f,read_f,eval_f,print_f);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_f_p_char__void,0) < 0) {
                SWIG_croak("Type error in argument 1 of set_repl_hooks. Expected _p_f_p_char__void");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_void__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of set_repl_hooks. Expected _p_f_void__p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_f_LISP__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 3 of set_repl_hooks. Expected _p_f_LISP__p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(3), (void **) &arg4, SWIGTYPE_p_f_p_struct_obj__void,0) < 0) {
                SWIG_croak("Type error in argument 4 of set_repl_hooks. Expected _p_f_p_struct_obj__void");
            }
        }
        set_repl_hooks(arg1,arg2,arg3,arg4);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_repl) {
    {
        struct repl_hooks *arg1 = (struct repl_hooks *) 0 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: repl(struct repl_hooks *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_repl_hooks,0) < 0) {
                SWIG_croak("Type error in argument 1 of repl. Expected _p_repl_hooks");
            }
        }
        result = (long)repl(arg1);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_err) {
    {
        char *arg1 = (char *) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: err(message,x);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of err. Expected _p_obj");
            }
        }
        result = (LISP)err((char const *)arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_errswitch) {
    {
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: errswitch();");
        }
        result = (LISP)errswitch();
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_get_c_string) {
    {
        LISP arg1 = (LISP) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: get_c_string(x);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of get_c_string. Expected _p_obj");
            }
        }
        result = (char *)get_c_string(arg1);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_get_c_string_dim) {
    {
        LISP arg1 = (LISP) 0 ;
        long *arg2 = (long *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: get_c_string_dim(x,long *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of get_c_string_dim. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_long,0) < 0) {
                SWIG_croak("Type error in argument 2 of get_c_string_dim. Expected _p_long");
            }
        }
        result = (char *)get_c_string_dim(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_try_get_c_string) {
    {
        LISP arg1 = (LISP) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: try_get_c_string(x);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of try_get_c_string. Expected _p_obj");
            }
        }
        result = (char *)try_get_c_string(arg1);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_get_c_long) {
    {
        LISP arg1 = (LISP) 0 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: get_c_long(x);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of get_c_long. Expected _p_obj");
            }
        }
        result = (long)get_c_long(arg1);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_get_c_double) {
    {
        LISP arg1 = (LISP) 0 ;
        double result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: get_c_double(x);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of get_c_double. Expected _p_obj");
            }
        }
        result = (double)get_c_double(arg1);
        
        ST(argvi) = sv_newmortal();
        sv_setnv(ST(argvi++), (double) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_lerr) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: lerr(message,x);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of lerr. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of lerr. Expected _p_obj");
            }
        }
        result = (LISP)lerr(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_newcell) {
    {
        long arg1 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: newcell(type);");
        }
        arg1 = (long) SvIV(ST(0));
        result = (LISP)newcell(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_cons) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: cons(x,y);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of cons. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of cons. Expected _p_obj");
            }
        }
        result = (LISP)cons(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_consp) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: consp(x);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of consp. Expected _p_obj");
            }
        }
        result = (LISP)consp(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_car) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: car(x);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of car. Expected _p_obj");
            }
        }
        result = (LISP)car(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_cdr) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: cdr(x);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of cdr. Expected _p_obj");
            }
        }
        result = (LISP)cdr(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_setcar) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: setcar(cell,value);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of setcar. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of setcar. Expected _p_obj");
            }
        }
        result = (LISP)setcar(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_setcdr) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: setcdr(cell,value);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of setcdr. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of setcdr. Expected _p_obj");
            }
        }
        result = (LISP)setcdr(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_flocons) {
    {
        double arg1 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: flocons(x);");
        }
        arg1 = (double) SvNV(ST(0));
        
        result = (LISP)flocons(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_numberp) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: numberp(x);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of numberp. Expected _p_obj");
            }
        }
        result = (LISP)numberp(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_plus) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: plus(x,y);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of plus. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of plus. Expected _p_obj");
            }
        }
        result = (LISP)plus(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_ltimes) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: ltimes(x,y);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of ltimes. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of ltimes. Expected _p_obj");
            }
        }
        result = (LISP)ltimes(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_difference) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: difference(x,y);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of difference. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of difference. Expected _p_obj");
            }
        }
        result = (LISP)difference(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_Quotient) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: Quotient(x,y);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of Quotient. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of Quotient. Expected _p_obj");
            }
        }
        result = (LISP)Quotient(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_greaterp) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: greaterp(x,y);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of greaterp. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of greaterp. Expected _p_obj");
            }
        }
        result = (LISP)greaterp(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_lessp) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: lessp(x,y);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of lessp. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of lessp. Expected _p_obj");
            }
        }
        result = (LISP)lessp(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_eq) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: eq(x,y);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of eq. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of eq. Expected _p_obj");
            }
        }
        result = (LISP)eq(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_eql) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: eql(x,y);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of eql. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of eql. Expected _p_obj");
            }
        }
        result = (LISP)eql(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_symcons) {
    {
        char *arg1 = (char *) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: symcons(pname,vcell);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of symcons. Expected _p_obj");
            }
        }
        result = (LISP)symcons(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_symbolp) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: symbolp(x);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of symbolp. Expected _p_obj");
            }
        }
        result = (LISP)symbolp(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_symbol_boundp) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: symbol_boundp(x,env);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of symbol_boundp. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of symbol_boundp. Expected _p_obj");
            }
        }
        result = (LISP)symbol_boundp(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_symbol_value) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: symbol_value(x,env);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of symbol_value. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of symbol_value. Expected _p_obj");
            }
        }
        result = (LISP)symbol_value(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_cintern) {
    {
        char *arg1 = (char *) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: cintern(name);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        result = (LISP)cintern(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_rintern) {
    {
        char *arg1 = (char *) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: rintern(name);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        result = (LISP)rintern(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_subrcons) {
    {
        long arg1 ;
        char *arg2 = (char *) 0 ;
        SUBR_FUNC arg3 = (SUBR_FUNC) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: subrcons(type,name,f);");
        }
        arg1 = (long) SvIV(ST(0));
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_f_void__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 3 of subrcons. Expected _p_f_void__p_obj");
            }
        }
        result = (LISP)subrcons(arg1,arg2,arg3);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_closure) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: closure(env,code);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of closure. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of closure. Expected _p_obj");
            }
        }
        result = (LISP)closure(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_gc_protect) {
    {
        LISP *arg1 = (LISP *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: gc_protect(location);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of gc_protect. Expected _p_p_obj");
            }
        }
        gc_protect(arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_gc_protect_n) {
    {
        LISP *arg1 = (LISP *) 0 ;
        long arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: gc_protect_n(location,n);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of gc_protect_n. Expected _p_p_obj");
            }
        }
        arg2 = (long) SvIV(ST(1));
        gc_protect_n(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_gc_protect_sym) {
    {
        LISP *arg1 = (LISP *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: gc_protect_sym(location,st);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of gc_protect_sym. Expected _p_p_obj");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        gc_protect_sym(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_init_storage) {
    {
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: init_storage();");
        }
        init_storage();
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_init_slibu) {
    {
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: init_slibu();");
        }
        init_slibu();
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_init_subr) {
    {
        char *arg1 = (char *) 0 ;
        long arg2 ;
        SUBR_FUNC arg3 = (SUBR_FUNC) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: init_subr(name,type,fcn);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        arg2 = (long) SvIV(ST(1));
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_f_void__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 3 of init_subr. Expected _p_f_void__p_obj");
            }
        }
        init_subr(arg1,arg2,arg3);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_init_subr_0) {
    {
        char *arg1 = (char *) 0 ;
        LISP (*arg2)(void) = (LISP (*)(void)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: init_subr_0(name,fcn);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_void__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of init_subr_0. Expected _p_f_void__p_obj");
            }
        }
        init_subr_0(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_init_subr_1) {
    {
        char *arg1 = (char *) 0 ;
        LISP (*arg2)(LISP) = (LISP (*)(LISP)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: init_subr_1(name,fcn);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_LISP__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of init_subr_1. Expected _p_f_LISP__p_obj");
            }
        }
        init_subr_1(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_init_subr_2) {
    {
        char *arg1 = (char *) 0 ;
        LISP (*arg2)(LISP,LISP) = (LISP (*)(LISP,LISP)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: init_subr_2(name,fcn);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_LISP_LISP__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of init_subr_2. Expected _p_f_LISP_LISP__p_obj");
            }
        }
        init_subr_2(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_init_subr_2n) {
    {
        char *arg1 = (char *) 0 ;
        LISP (*arg2)(LISP,LISP) = (LISP (*)(LISP,LISP)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: init_subr_2n(name,fcn);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_LISP_LISP__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of init_subr_2n. Expected _p_f_LISP_LISP__p_obj");
            }
        }
        init_subr_2n(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_init_subr_3) {
    {
        char *arg1 = (char *) 0 ;
        LISP (*arg2)(LISP,LISP,LISP) = (LISP (*)(LISP,LISP,LISP)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: init_subr_3(name,fcn);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_LISP_LISP_LISP__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of init_subr_3. Expected _p_f_LISP_LISP_LISP__p_obj");
            }
        }
        init_subr_3(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_init_subr_4) {
    {
        char *arg1 = (char *) 0 ;
        LISP (*arg2)(LISP,LISP,LISP,LISP) = (LISP (*)(LISP,LISP,LISP,LISP)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: init_subr_4(name,fcn);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_LISP_LISP_LISP_LISP__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of init_subr_4. Expected _p_f_LISP_LISP_LISP_LISP__p_obj");
            }
        }
        init_subr_4(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_init_subr_5) {
    {
        char *arg1 = (char *) 0 ;
        LISP (*arg2)(LISP,LISP,LISP,LISP,LISP) = (LISP (*)(LISP,LISP,LISP,LISP,LISP)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: init_subr_5(name,fcn);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_LISP_LISP_LISP_LISP_LISP__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of init_subr_5. Expected _p_f_LISP_LISP_LISP_LISP_LISP__p_obj");
            }
        }
        init_subr_5(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_init_lsubr) {
    {
        char *arg1 = (char *) 0 ;
        LISP (*arg2)(LISP) = (LISP (*)(LISP)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: init_lsubr(name,fcn);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_LISP__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of init_lsubr. Expected _p_f_LISP__p_obj");
            }
        }
        init_lsubr(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_init_fsubr) {
    {
        char *arg1 = (char *) 0 ;
        LISP (*arg2)(LISP,LISP) = (LISP (*)(LISP,LISP)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: init_fsubr(name,fcn);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_LISP_LISP__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of init_fsubr. Expected _p_f_LISP_LISP__p_obj");
            }
        }
        init_fsubr(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_init_msubr) {
    {
        char *arg1 = (char *) 0 ;
        LISP (*arg2)(LISP *,LISP *) = (LISP (*)(LISP *,LISP *)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: init_msubr(name,fcn);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_LISP_p_LISP__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of init_msubr. Expected _p_f_p_LISP_p_LISP__p_obj");
            }
        }
        init_msubr(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_assq) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: assq(x,alist);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of assq. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of assq. Expected _p_obj");
            }
        }
        result = (LISP)assq(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_delq) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: delq(elem,l);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of delq. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of delq. Expected _p_obj");
            }
        }
        result = (LISP)delq(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_set_gc_hooks) {
    {
        long arg1 ;
        LISP (*arg2)(LISP) = (LISP (*)(LISP)) 0 ;
        LISP (*arg3)(LISP) = (LISP (*)(LISP)) 0 ;
        void (*arg4)(LISP) = (void (*)(LISP)) 0 ;
        void (*arg5)(LISP) = (void (*)(LISP)) 0 ;
        long *arg6 = (long *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 6) || (items > 6)) {
            SWIG_croak("Usage: set_gc_hooks(type,rel,mark,scan,free,kind);");
        }
        arg1 = (long) SvIV(ST(0));
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_LISP__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of set_gc_hooks. Expected _p_f_LISP__p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_f_LISP__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 3 of set_gc_hooks. Expected _p_f_LISP__p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(3), (void **) &arg4, SWIGTYPE_p_f_p_struct_obj__void,0) < 0) {
                SWIG_croak("Type error in argument 4 of set_gc_hooks. Expected _p_f_p_struct_obj__void");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(4), (void **) &arg5, SWIGTYPE_p_f_p_struct_obj__void,0) < 0) {
                SWIG_croak("Type error in argument 5 of set_gc_hooks. Expected _p_f_p_struct_obj__void");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(5), (void **) &arg6, SWIGTYPE_p_long,0) < 0) {
                SWIG_croak("Type error in argument 6 of set_gc_hooks. Expected _p_long");
            }
        }
        set_gc_hooks(arg1,arg2,arg3,arg4,arg5,arg6);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_gc_relocate) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: gc_relocate(x);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of gc_relocate. Expected _p_obj");
            }
        }
        result = (LISP)gc_relocate(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_user_gc) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: user_gc(args);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of user_gc. Expected _p_obj");
            }
        }
        result = (LISP)user_gc(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_gc_status) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: gc_status(args);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of gc_status. Expected _p_obj");
            }
        }
        result = (LISP)gc_status(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_set_eval_hooks) {
    {
        long arg1 ;
        LISP (*arg2)(LISP,LISP *,LISP *) = (LISP (*)(LISP,LISP *,LISP *)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: set_eval_hooks(type,fcn);");
        }
        arg1 = (long) SvIV(ST(0));
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_LISP_p_LISP_p_LISP__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of set_eval_hooks. Expected _p_f_LISP_p_LISP_p_LISP__p_obj");
            }
        }
        set_eval_hooks(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_leval) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: leval(x,env);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of leval. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of leval. Expected _p_obj");
            }
        }
        result = (LISP)leval(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_symbolconc) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: symbolconc(args);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of symbolconc. Expected _p_obj");
            }
        }
        result = (LISP)symbolconc(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_set_print_hooks) {
    {
        long arg1 ;
        void (*arg2)(LISP,struct gen_printio *) = (void (*)(LISP,struct gen_printio *)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: set_print_hooks(type,fcn);");
        }
        arg1 = (long) SvIV(ST(0));
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_struct_obj_p_struct_gen_printio__void,0) < 0) {
                SWIG_croak("Type error in argument 2 of set_print_hooks. Expected _p_f_p_struct_obj_p_struct_gen_printio__void");
            }
        }
        set_print_hooks(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_lprin1g) {
    {
        LISP arg1 = (LISP) 0 ;
        struct gen_printio *arg2 = (struct gen_printio *) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: lprin1g(exp,f);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of lprin1g. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_gen_printio,0) < 0) {
                SWIG_croak("Type error in argument 2 of lprin1g. Expected _p_gen_printio");
            }
        }
        result = (LISP)lprin1g(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_lprin1f) {
    {
        LISP arg1 = (LISP) 0 ;
        FILE *arg2 = (FILE *) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: lprin1f(exp,f);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of lprin1f. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_FILE,0) < 0) {
                SWIG_croak("Type error in argument 2 of lprin1f. Expected _p_FILE");
            }
        }
        result = (LISP)lprin1f(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_lprint) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: lprint(exp,LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of lprint. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of lprint. Expected _p_obj");
            }
        }
        result = (LISP)lprint(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_lread) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: lread(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of lread. Expected _p_obj");
            }
        }
        result = (LISP)lread(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_lreadtk) {
    {
        char *arg1 = (char *) 0 ;
        long arg2 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: lreadtk(char *,j);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        arg2 = (long) SvIV(ST(1));
        result = (LISP)lreadtk(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_lreadf) {
    {
        FILE *arg1 = (FILE *) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: lreadf(f);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_FILE,0) < 0) {
                SWIG_croak("Type error in argument 1 of lreadf. Expected _p_FILE");
            }
        }
        result = (LISP)lreadf(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_set_read_hooks) {
    {
        char *arg1 = (char *) 0 ;
        char *arg2 = (char *) 0 ;
        LISP (*arg3)(int,struct gen_readio *) = (LISP (*)(int,struct gen_readio *)) 0 ;
        LISP (*arg4)(char *,long,int *) = (LISP (*)(char *,long,int *)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 4) || (items > 4)) {
            SWIG_croak("Usage: set_read_hooks(all_set,end_set,fcn1,fcn2);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_f_int_p_struct_gen_readio__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 3 of set_read_hooks. Expected _p_f_int_p_struct_gen_readio__p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(3), (void **) &arg4, SWIGTYPE_p_f_p_char_long_p_int__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 4 of set_read_hooks. Expected _p_f_p_char_long_p_int__p_obj");
            }
        }
        set_read_hooks(arg1,arg2,arg3,arg4);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_apropos) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: apropos(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of apropos. Expected _p_obj");
            }
        }
        result = (LISP)apropos(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_vload) {
    {
        char *arg1 = (char *) 0 ;
        long arg2 ;
        long arg3 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: vload(fname,cflag,rflag);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        arg2 = (long) SvIV(ST(1));
        arg3 = (long) SvIV(ST(2));
        result = (LISP)vload(arg1,arg2,arg3);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_load) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP arg3 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: load(fname,cflag,rflag);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of load. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of load. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 3 of load. Expected _p_obj");
            }
        }
        result = (LISP)load(arg1,arg2,arg3);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_require) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: require(fname);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of require. Expected _p_obj");
            }
        }
        result = (LISP)require(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_save_forms) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP arg3 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: save_forms(fname,forms,how);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of save_forms. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of save_forms. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 3 of save_forms. Expected _p_obj");
            }
        }
        result = (LISP)save_forms(arg1,arg2,arg3);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_quit) {
    {
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: quit();");
        }
        result = (LISP)quit();
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_nullp) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: nullp(x);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of nullp. Expected _p_obj");
            }
        }
        result = (LISP)nullp(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_strcons) {
    {
        long arg1 ;
        char *arg2 = (char *) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: strcons(length,data);");
        }
        arg1 = (long) SvIV(ST(0));
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        result = (LISP)strcons(arg1,(char const *)arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_read_from_string) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: read_from_string(x);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of read_from_string. Expected _p_obj");
            }
        }
        result = (LISP)read_from_string(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_aref1) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: aref1(a,i);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of aref1. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of aref1. Expected _p_obj");
            }
        }
        result = (LISP)aref1(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_aset1) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP arg3 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: aset1(a,i,v);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of aset1. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of aset1. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 3 of aset1. Expected _p_obj");
            }
        }
        result = (LISP)aset1(arg1,arg2,arg3);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_cons_array) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: cons_array(dim,kind);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of cons_array. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of cons_array. Expected _p_obj");
            }
        }
        result = (LISP)cons_array(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_arcons) {
    {
        long arg1 ;
        long arg2 ;
        long arg3 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: arcons(typecode,n,initp);");
        }
        arg1 = (long) SvIV(ST(0));
        arg2 = (long) SvIV(ST(1));
        arg3 = (long) SvIV(ST(2));
        result = (LISP)arcons(arg1,arg2,arg3);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_string_append) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: string_append(args);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of string_append. Expected _p_obj");
            }
        }
        result = (LISP)string_append(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_string_length) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: string_length(string);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of string_length. Expected _p_obj");
            }
        }
        result = (LISP)string_length(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_string_search) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: string_search(LISP,LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of string_search. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of string_search. Expected _p_obj");
            }
        }
        result = (LISP)string_search(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_substring) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP arg3 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: substring(LISP,LISP,LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of substring. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of substring. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 3 of substring. Expected _p_obj");
            }
        }
        result = (LISP)substring(arg1,arg2,arg3);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_string_trim) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: string_trim(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of string_trim. Expected _p_obj");
            }
        }
        result = (LISP)string_trim(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_string_trim_left) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: string_trim_left(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of string_trim_left. Expected _p_obj");
            }
        }
        result = (LISP)string_trim_left(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_string_trim_right) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: string_trim_right(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of string_trim_right. Expected _p_obj");
            }
        }
        result = (LISP)string_trim_right(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_string_upcase) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: string_upcase(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of string_upcase. Expected _p_obj");
            }
        }
        result = (LISP)string_upcase(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_string_downcase) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: string_downcase(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of string_downcase. Expected _p_obj");
            }
        }
        result = (LISP)string_downcase(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_init_subrs) {
    {
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: init_subrs();");
        }
        init_subrs();
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_copy_list) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: copy_list(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of copy_list. Expected _p_obj");
            }
        }
        result = (LISP)copy_list(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_c_sxhash) {
    {
        LISP arg1 = (LISP) 0 ;
        long arg2 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: c_sxhash(LISP,long);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of c_sxhash. Expected _p_obj");
            }
        }
        arg2 = (long) SvIV(ST(1));
        result = (long)c_sxhash(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_sxhash) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: sxhash(LISP,LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of sxhash. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of sxhash. Expected _p_obj");
            }
        }
        result = (LISP)sxhash(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_href) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: href(LISP,LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of href. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of href. Expected _p_obj");
            }
        }
        result = (LISP)href(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_hset) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP arg3 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: hset(LISP,LISP,LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of hset. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of hset. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 3 of hset. Expected _p_obj");
            }
        }
        result = (LISP)hset(arg1,arg2,arg3);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_fast_print) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: fast_print(LISP,LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of fast_print. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of fast_print. Expected _p_obj");
            }
        }
        result = (LISP)fast_print(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_fast_read) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: fast_read(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of fast_read. Expected _p_obj");
            }
        }
        result = (LISP)fast_read(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_equal) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: equal(LISP,LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of equal. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of equal. Expected _p_obj");
            }
        }
        result = (LISP)equal(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_assoc) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: assoc(x,alist);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of assoc. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of assoc. Expected _p_obj");
            }
        }
        result = (LISP)assoc(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_make_list) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: make_list(x,v);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of make_list. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of make_list. Expected _p_obj");
            }
        }
        result = (LISP)make_list(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_set_fatal_exit_hook) {
    {
        void (*arg1)(void) = (void (*)(void)) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: set_fatal_exit_hook(fcn);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_f_void__void,0) < 0) {
                SWIG_croak("Type error in argument 1 of set_fatal_exit_hook. Expected _p_f_void__void");
            }
        }
        set_fatal_exit_hook(arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_parse_number) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: parse_number(x);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of parse_number. Expected _p_obj");
            }
        }
        result = (LISP)parse_number(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_intern) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: intern(x);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of intern. Expected _p_obj");
            }
        }
        result = (LISP)intern(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_init_trace) {
    {
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: init_trace();");
        }
        init_trace();
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_repl_c_string) {
    {
        char *arg1 = (char *) 0 ;
        long arg2 ;
        long arg3 ;
        long arg4 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 4) || (items > 4)) {
            SWIG_croak("Usage: repl_c_string(char *,want_sigint,want_init,want_print);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        arg2 = (long) SvIV(ST(1));
        arg3 = (long) SvIV(ST(2));
        arg4 = (long) SvIV(ST(3));
        result = (long)repl_c_string(arg1,arg2,arg3,arg4);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_siod_version) {
    {
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: siod_version();");
        }
        result = (char *)siod_version();
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_nreverse) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: nreverse(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of nreverse. Expected _p_obj");
            }
        }
        result = (LISP)nreverse(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_number2string) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP arg3 = (LISP) 0 ;
        LISP arg4 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 4) || (items > 4)) {
            SWIG_croak("Usage: number2string(LISP,LISP,LISP,LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of number2string. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of number2string. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 3 of number2string. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(3), (void **) &arg4, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 4 of number2string. Expected _p_obj");
            }
        }
        result = (LISP)number2string(arg1,arg2,arg3,arg4);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_string2number) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: string2number(LISP,LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of string2number. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of string2number. Expected _p_obj");
            }
        }
        result = (LISP)string2number(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_siod_verbose) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: siod_verbose(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of siod_verbose. Expected _p_obj");
            }
        }
        result = (LISP)siod_verbose(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_siod_verbose_check) {
    {
        int arg1 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: siod_verbose_check(int);");
        }
        arg1 = (int) SvIV(ST(0));
        result = (int)siod_verbose_check(arg1);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_setvar) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP arg3 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: setvar(LISP,LISP,LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of setvar. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of setvar. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 3 of setvar. Expected _p_obj");
            }
        }
        result = (LISP)setvar(arg1,arg2,arg3);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_allocate_user_tc) {
    {
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: allocate_user_tc();");
        }
        result = (long)allocate_user_tc();
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_cadr) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: cadr(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of cadr. Expected _p_obj");
            }
        }
        result = (LISP)cadr(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_caar) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: caar(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of caar. Expected _p_obj");
            }
        }
        result = (LISP)caar(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_cddr) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: cddr(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of cddr. Expected _p_obj");
            }
        }
        result = (LISP)cddr(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_caaar) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: caaar(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of caaar. Expected _p_obj");
            }
        }
        result = (LISP)caaar(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_caadr) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: caadr(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of caadr. Expected _p_obj");
            }
        }
        result = (LISP)caadr(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_cadar) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: cadar(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of cadar. Expected _p_obj");
            }
        }
        result = (LISP)cadar(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_caddr) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: caddr(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of caddr. Expected _p_obj");
            }
        }
        result = (LISP)caddr(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_cdaar) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: cdaar(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of cdaar. Expected _p_obj");
            }
        }
        result = (LISP)cdaar(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_cdadr) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: cdadr(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of cdadr. Expected _p_obj");
            }
        }
        result = (LISP)cdadr(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_cddar) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: cddar(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of cddar. Expected _p_obj");
            }
        }
        result = (LISP)cddar(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_cdddr) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: cdddr(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of cdddr. Expected _p_obj");
            }
        }
        result = (LISP)cdddr(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_chk_string) {
    {
        LISP arg1 = (LISP) 0 ;
        char **arg2 = (char **) 0 ;
        long *arg3 = (long *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: chk_string(LISP,char **,long *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of chk_string. Expected _p_obj");
            }
        }
        {
            AV *tempav;
            I32 len;
            int i;
            SV  **tv;
            if (!SvROK(ST(1)))
            croak("Argument 2 is not a reference.");
            if (SvTYPE(SvRV(ST(1))) != SVt_PVAV)
            croak("Argument 2 is not an array.");
            tempav = (AV*)SvRV(ST(1));
            len = av_len(tempav);
            arg2 = (char **) malloc((len+2)*sizeof(char *));
            for (i = 0; i <= len; i++) {
                tv = av_fetch(tempav, i, 0);        
                arg2[i] = (char *) SvPV(*tv,PL_na);
            }
            arg2[i] = NULL;
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_long,0) < 0) {
                SWIG_croak("Type error in argument 3 of chk_string. Expected _p_long");
            }
        }
        chk_string(arg1,arg2,arg3);
        
        
        {
            free(arg2);
        }
        XSRETURN(argvi);
        fail:
        {
            free(arg2);
        }
        ;
    }
    croak(Nullch);
}


XS(_wrap_a_true_value) {
    {
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: a_true_value();");
        }
        result = (LISP)a_true_value();
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_lapply) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: lapply(fcn,args);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of lapply. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of lapply. Expected _p_obj");
            }
        }
        result = (LISP)lapply(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_mallocl) {
    {
        void *arg1 = (void *) 0 ;
        long arg2 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: mallocl(lplace,size);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, 0,0) < 0) {
                SWIG_croak("Type error in argument 1 of mallocl. Expected _p_void");
            }
        }
        arg2 = (long) SvIV(ST(1));
        result = (LISP)mallocl(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_gput_st) {
    {
        struct gen_printio *arg1 = (struct gen_printio *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: gput_st(struct gen_printio *,char *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_gen_printio,0) < 0) {
                SWIG_croak("Type error in argument 1 of gput_st. Expected _p_gen_printio");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        gput_st(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_put_st) {
    {
        char *arg1 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: put_st(st);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        put_st(arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_listn) {
    {
        long arg1 ;
        void *arg2 = 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if (items < 1) {
            SWIG_croak("Usage: listn(n,...);");
        }
        arg1 = (long) SvIV(ST(0));
        result = (LISP)listn(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_must_malloc) {
    {
        unsigned long arg1 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: must_malloc(size);");
        }
        arg1 = (unsigned long) SvUV(ST(0));
        result = (char *)must_malloc(arg1);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_lstrbreakup) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: lstrbreakup(str,lmarker);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of lstrbreakup. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of lstrbreakup. Expected _p_obj");
            }
        }
        result = (LISP)lstrbreakup(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_lstrunbreakup) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: lstrunbreakup(elems,lmarker);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of lstrunbreakup. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of lstrunbreakup. Expected _p_obj");
            }
        }
        result = (LISP)lstrunbreakup(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_nconc) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: nconc(LISP,LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of nconc. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of nconc. Expected _p_obj");
            }
        }
        result = (LISP)nconc(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_poparg) {
    {
        LISP *arg1 = (LISP *) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: poparg(LISP *,LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of poparg. Expected _p_p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of poparg. Expected _p_obj");
            }
        }
        result = (LISP)poparg(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_get_c_file) {
    {
        LISP arg1 = (LISP) 0 ;
        FILE *arg2 = (FILE *) 0 ;
        FILE *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: get_c_file(p,deflt);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of get_c_file. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_FILE,0) < 0) {
                SWIG_croak("Type error in argument 2 of get_c_file. Expected _p_FILE");
            }
        }
        result = (FILE *)get_c_file(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_FILE, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_last_c_errmsg) {
    {
        int arg1 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: last_c_errmsg(int);");
        }
        arg1 = (int) SvIV(ST(0));
        result = (char *)last_c_errmsg(arg1);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_llast_c_errmsg) {
    {
        int arg1 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: llast_c_errmsg(int);");
        }
        arg1 = (int) SvIV(ST(0));
        result = (LISP)llast_c_errmsg(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_safe_strcpy) {
    {
        char *arg1 = (char *) 0 ;
        size_t arg2 ;
        char *arg3 = (char *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: safe_strcpy(s1,size1,s2);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        arg2 = (size_t) SvUV(ST(1));
        if (!SvOK((SV*) ST(2))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(2), PL_na);
        result = (char *)safe_strcpy(arg1,arg2,(char const *)arg3);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_safe_strcat) {
    {
        char *arg1 = (char *) 0 ;
        size_t arg2 ;
        char *arg3 = (char *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: safe_strcat(s1,size1,s2);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        arg2 = (size_t) SvUV(ST(1));
        if (!SvOK((SV*) ST(2))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(2), PL_na);
        result = (char *)safe_strcat(arg1,arg2,(char const *)arg3);
        
        ST(argvi) = sv_newmortal();
        if (result) {
            sv_setpv((SV*)ST(argvi++), (char *) result);
        } else {
            sv_setsv((SV*)ST(argvi++), &PL_sv_undef);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_safe_strlen) {
    {
        char *arg1 = (char *) 0 ;
        size_t arg2 ;
        size_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: safe_strlen(s,size);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        arg2 = (size_t) SvUV(ST(1));
        result = safe_strlen((char const *)arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        sv_setuv(ST(argvi++), (UV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_memq) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: memq(x,il);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of memq. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of memq. Expected _p_obj");
            }
        }
        result = (LISP)memq(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_nth) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: nth(LISP,LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of nth. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of nth. Expected _p_obj");
            }
        }
        result = (LISP)nth(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_butlast) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: butlast(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of butlast. Expected _p_obj");
            }
        }
        result = (LISP)butlast(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_last) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: last(LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of last. Expected _p_obj");
            }
        }
        result = (LISP)last(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_readtl) {
    {
        struct gen_readio *arg1 = (struct gen_readio *) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: readtl(f);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_gen_readio,0) < 0) {
                SWIG_croak("Type error in argument 1 of readtl. Expected _p_gen_readio");
            }
        }
        result = (LISP)readtl(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_funcall1) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: funcall1(LISP,LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of funcall1. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of funcall1. Expected _p_obj");
            }
        }
        result = (LISP)funcall1(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_funcall2) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP arg3 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: funcall2(LISP,LISP,LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of funcall2. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of funcall2. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 3 of funcall2. Expected _p_obj");
            }
        }
        result = (LISP)funcall2(arg1,arg2,arg3);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_apply1) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP arg3 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: apply1(LISP,LISP,LISP);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of apply1. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of apply1. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 3 of apply1. Expected _p_obj");
            }
        }
        result = (LISP)apply1(arg1,arg2,arg3);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_lgetc) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: lgetc(p);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of lgetc. Expected _p_obj");
            }
        }
        result = (LISP)lgetc(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_lungetc) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: lungetc(i,p);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of lungetc. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of lungetc. Expected _p_obj");
            }
        }
        result = (LISP)lungetc(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_lputc) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: lputc(c,p);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of lputc. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of lputc. Expected _p_obj");
            }
        }
        result = (LISP)lputc(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_lputs) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: lputs(str,p);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of lputs. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of lputs. Expected _p_obj");
            }
        }
        result = (LISP)lputs(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_assemble_options) {
    {
        LISP arg1 = (LISP) 0 ;
        void *arg2 = 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if (items < 1) {
            SWIG_croak("Usage: assemble_options(LISP,...);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of assemble_options. Expected _p_obj");
            }
        }
        result = (int)assemble_options(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_ccall_catch) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP (*arg2)(void *) = (LISP (*)(void *)) 0 ;
        void *arg3 = (void *) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: ccall_catch(tag,fcn,void *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of ccall_catch. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_void__p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of ccall_catch. Expected _p_f_p_void__p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, 0,0) < 0) {
                SWIG_croak("Type error in argument 3 of ccall_catch. Expected _p_void");
            }
        }
        result = (LISP)ccall_catch(arg1,arg2,arg3);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_lref_default) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP arg2 = (LISP) 0 ;
        LISP arg3 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: lref_default(li,x,fcn);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of lref_default. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 2 of lref_default. Expected _p_obj");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 3 of lref_default. Expected _p_obj");
            }
        }
        result = (LISP)lref_default(arg1,arg2,arg3);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_symalist) {
    {
        char *arg1 = (char *) 0 ;
        void *arg2 = 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if (items < 1) {
            SWIG_croak("Usage: symalist(item,...);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        result = (LISP)symalist(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_encode_st_mode) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: encode_st_mode(l);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of encode_st_mode. Expected _p_obj");
            }
        }
        result = (LISP)encode_st_mode(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_encode_open_flags) {
    {
        LISP arg1 = (LISP) 0 ;
        LISP result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: encode_open_flags(l);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of encode_open_flags. Expected _p_obj");
            }
        }
        result = (LISP)encode_open_flags(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_obj, SWIG_SHADOW|SWIG_OWNER);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_nlength) {
    {
        LISP arg1 = (LISP) 0 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: nlength(obj);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_obj,0) < 0) {
                SWIG_croak("Type error in argument 1 of nlength. Expected _p_obj");
            }
        }
        result = (long)nlength(arg1);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_siod_main) {
    {
        int arg1 ;
        char **arg2 = (char **) 0 ;
        char **arg3 = (char **) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: siod_main(argc,argv,env);");
        }
        arg1 = (int) SvIV(ST(0));
        {
            AV *tempav;
            I32 len;
            int i;
            SV  **tv;
            if (!SvROK(ST(1)))
            croak("Argument 2 is not a reference.");
            if (SvTYPE(SvRV(ST(1))) != SVt_PVAV)
            croak("Argument 2 is not an array.");
            tempav = (AV*)SvRV(ST(1));
            len = av_len(tempav);
            arg2 = (char **) malloc((len+2)*sizeof(char *));
            for (i = 0; i <= len; i++) {
                tv = av_fetch(tempav, i, 0);        
                arg2[i] = (char *) SvPV(*tv,PL_na);
            }
            arg2[i] = NULL;
        }
        {
            AV *tempav;
            I32 len;
            int i;
            SV  **tv;
            if (!SvROK(ST(2)))
            croak("Argument 3 is not a reference.");
            if (SvTYPE(SvRV(ST(2))) != SVt_PVAV)
            croak("Argument 3 is not an array.");
            tempav = (AV*)SvRV(ST(2));
            len = av_len(tempav);
            arg3 = (char **) malloc((len+2)*sizeof(char *));
            for (i = 0; i <= len; i++) {
                tv = av_fetch(tempav, i, 0);        
                arg3[i] = (char *) SvPV(*tv,PL_na);
            }
            arg3[i] = NULL;
        }
        result = (int)siod_main(arg1,arg2,arg3);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        {
            free(arg2);
        }
        {
            free(arg3);
        }
        XSRETURN(argvi);
        fail:
        {
            free(arg2);
        }
        {
            free(arg3);
        }
        ;
    }
    croak(Nullch);
}


XS(_wrap_siod_shuffle_args) {
    {
        int *arg1 = (int *) 0 ;
        char ***arg2 = (char ***) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: siod_shuffle_args(pargc,pargv);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_int,0) < 0) {
                SWIG_croak("Type error in argument 1 of siod_shuffle_args. Expected _p_int");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_p_p_char,0) < 0) {
                SWIG_croak("Type error in argument 2 of siod_shuffle_args. Expected _p_p_p_char");
            }
        }
        siod_shuffle_args(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_siod_init) {
    {
        int arg1 ;
        char **arg2 = (char **) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: siod_init(argc,argv);");
        }
        arg1 = (int) SvIV(ST(0));
        {
            AV *tempav;
            I32 len;
            int i;
            SV  **tv;
            if (!SvROK(ST(1)))
            croak("Argument 2 is not a reference.");
            if (SvTYPE(SvRV(ST(1))) != SVt_PVAV)
            croak("Argument 2 is not an array.");
            tempav = (AV*)SvRV(ST(1));
            len = av_len(tempav);
            arg2 = (char **) malloc((len+2)*sizeof(char *));
            for (i = 0; i <= len; i++) {
                tv = av_fetch(tempav, i, 0);        
                arg2[i] = (char *) SvPV(*tv,PL_na);
            }
            arg2[i] = NULL;
        }
        siod_init(arg1,arg2);
        
        
        {
            free(arg2);
        }
        XSRETURN(argvi);
        fail:
        {
            free(arg2);
        }
        ;
    }
    croak(Nullch);
}



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

static swig_type_info _swigt__p_f_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj__p_obj[] = {{"_p_f_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj__p_obj", 0, "struct obj *(*)(struct obj *,struct obj *,struct obj *,struct obj *)", 0, 0, 0, 0},{"_p_f_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj__p_obj", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj__p_obj[] = {{"_p_f_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj__p_obj", 0, "struct obj *(*)(struct obj *,struct obj *,struct obj *,struct obj *,struct obj *)", 0, 0, 0, 0},{"_p_f_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj__p_obj", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_obj_storage_as_subr5[] = {{"_p_obj_storage_as_subr5", 0, "obj_storage_as_subr5 *", 0, 0, 0, 0},{"_p_obj_storage_as_subr5", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_obj_storage_as_flonum[] = {{"_p_obj_storage_as_flonum", 0, "obj_storage_as_flonum *", 0, 0, 0, 0},{"_p_obj_storage_as_flonum", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_p_struct_obj__p_obj[] = {{"_p_f_p_struct_obj__p_obj", 0, "struct obj *(*)(struct obj *)", 0, 0, 0, 0},{"_p_f_p_struct_obj__p_obj", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_p_struct_obj_p_struct_obj__p_obj[] = {{"_p_f_p_struct_obj_p_struct_obj__p_obj", 0, "struct obj *(*)(struct obj *,struct obj *)", 0, 0, 0, 0},{"_p_f_p_struct_obj_p_struct_obj__p_obj", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_p_struct_obj_p_struct_obj_p_struct_obj__p_obj[] = {{"_p_f_p_struct_obj_p_struct_obj_p_struct_obj__p_obj", 0, "struct obj *(*)(struct obj *,struct obj *,struct obj *)", 0, 0, 0, 0},{"_p_f_p_struct_obj_p_struct_obj_p_struct_obj__p_obj", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_p_p_struct_obj_p_p_struct_obj__p_obj[] = {{"_p_f_p_p_struct_obj_p_p_struct_obj__p_obj", 0, "struct obj *(*)(struct obj **,struct obj **)", 0, 0, 0, 0},{"_p_f_p_p_struct_obj_p_p_struct_obj__p_obj", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_p_void_v_______p_obj[] = {{"_p_f_p_void_v_______p_obj", 0, "struct obj *(*)(void *,...)", 0, 0, 0, 0},{"_p_f_p_void_v_______p_obj", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_obj_storage_as_double_array[] = {{"_p_obj_storage_as_double_array", 0, "obj_storage_as_double_array *", 0, 0, 0, 0},{"_p_obj_storage_as_double_array", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_obj_storage_as_long_array[] = {{"_p_obj_storage_as_long_array", 0, "obj_storage_as_long_array *", 0, 0, 0, 0},{"_p_obj_storage_as_long_array", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_void__p_obj[] = {{"_p_f_void__p_obj", 0, "struct obj *(*)(void)|LISP (*)(void)", 0, 0, 0, 0},{"_p_f_void__p_obj", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_LISP__p_obj[] = {{"_p_f_LISP__p_obj", 0, "struct obj *(*)(LISP)|LISP (*)(LISP)", 0, 0, 0, 0},{"_p_f_LISP__p_obj", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_LISP_LISP__p_obj[] = {{"_p_f_LISP_LISP__p_obj", 0, "struct obj *(*)(LISP,LISP)|LISP (*)(LISP,LISP)", 0, 0, 0, 0},{"_p_f_LISP_LISP__p_obj", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_LISP_LISP_LISP__p_obj[] = {{"_p_f_LISP_LISP_LISP__p_obj", 0, "struct obj *(*)(LISP,LISP,LISP)|LISP (*)(LISP,LISP,LISP)", 0, 0, 0, 0},{"_p_f_LISP_LISP_LISP__p_obj", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_LISP_LISP_LISP_LISP__p_obj[] = {{"_p_f_LISP_LISP_LISP_LISP__p_obj", 0, "struct obj *(*)(LISP,LISP,LISP,LISP)|LISP (*)(LISP,LISP,LISP,LISP)", 0, 0, 0, 0},{"_p_f_LISP_LISP_LISP_LISP__p_obj", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_LISP_LISP_LISP_LISP_LISP__p_obj[] = {{"_p_f_LISP_LISP_LISP_LISP_LISP__p_obj", 0, "struct obj *(*)(LISP,LISP,LISP,LISP,LISP)|LISP (*)(LISP,LISP,LISP,LISP,LISP)", 0, 0, 0, 0},{"_p_f_LISP_LISP_LISP_LISP_LISP__p_obj", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_p_LISP_p_LISP__p_obj[] = {{"_p_f_p_LISP_p_LISP__p_obj", 0, "struct obj *(*)(LISP *,LISP *)|LISP (*)(LISP *,LISP *)", 0, 0, 0, 0},{"_p_f_p_LISP_p_LISP__p_obj", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_LISP_p_LISP_p_LISP__p_obj[] = {{"_p_f_LISP_p_LISP_p_LISP__p_obj", 0, "struct obj *(*)(LISP,LISP *,LISP *)|LISP (*)(LISP,LISP *,LISP *)", 0, 0, 0, 0},{"_p_f_LISP_p_LISP_p_LISP__p_obj", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_int_p_struct_gen_readio__p_obj[] = {{"_p_f_int_p_struct_gen_readio__p_obj", 0, "struct obj *(*)(int,struct gen_readio *)|LISP (*)(int,struct gen_readio *)", 0, 0, 0, 0},{"_p_f_int_p_struct_gen_readio__p_obj", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_p_char_long_p_int__p_obj[] = {{"_p_f_p_char_long_p_int__p_obj", 0, "struct obj *(*)(char *,long,int *)|LISP (*)(char *,long,int *)", 0, 0, 0, 0},{"_p_f_p_char_long_p_int__p_obj", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_p_void__p_obj[] = {{"_p_f_p_void__p_obj", 0, "struct obj *(*)(void *)|LISP (*)(void *)", 0, 0, 0, 0},{"_p_f_p_void__p_obj", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_p_struct_obj_p_struct_gen_printio__void[] = {{"_p_f_p_struct_obj_p_struct_gen_printio__void", 0, "void (*)(struct obj *,struct gen_printio *)|void (*)(LISP,struct gen_printio *)", 0, 0, 0, 0},{"_p_f_p_struct_obj_p_struct_gen_printio__void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_obj_storage_as_symbol[] = {{"_p_obj_storage_as_symbol", 0, "obj_storage_as_symbol *", 0, 0, 0, 0},{"_p_obj_storage_as_symbol", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_p_void__int[] = {{"_p_f_p_void__int", 0, "int (*)(void *)", 0, 0, 0, 0},{"_p_f_p_void__int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_int_p_void__int[] = {{"_p_f_int_p_void__int", 0, "int (*)(int,void *)", 0, 0, 0, 0},{"_p_f_int_p_void__int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_p_char_p_void__int[] = {{"_p_f_p_char_p_void__int", 0, "int (*)(char *,void *)", 0, 0, 0, 0},{"_p_f_p_char_p_void__int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_repl_hooks[] = {{"_p_repl_hooks", 0, "struct repl_hooks *", 0, 0, 0, 0},{"_p_repl_hooks", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_p_char[] = {{"_p_p_char", 0, "char **", 0, 0, 0, 0},{"_p_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_p_p_char[] = {{"_p_p_p_char", 0, "char ***", 0, 0, 0, 0},{"_p_p_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_double[] = {{"_p_double", 0, "double *", 0, 0, 0, 0},{"_p_double", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_gen_printio[] = {{"_p_gen_printio", 0, "struct gen_printio *", 0, 0, 0, 0},{"_p_gen_printio", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_size_t[] = {{"_p_size_t", 0, "size_t *", 0, 0, 0, 0},{"_p_size_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_obj_storage_as_lisp_array[] = {{"_p_obj_storage_as_lisp_array", 0, "obj_storage_as_lisp_array *", 0, 0, 0, 0},{"_p_obj_storage_as_lisp_array", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_p_obj[] = {{"_p_p_obj", 0, "struct obj **|LISP *", 0, 0, 0, 0},{"_p_p_obj", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_obj[] = {{"_p_obj", 0, "struct obj *|LISP", 0, 0, 0, 0},{"_p_obj", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_obj_storage_as_closure[] = {{"_p_obj_storage_as_closure", 0, "obj_storage_as_closure *", 0, 0, 0, 0},{"_p_obj_storage_as_closure", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_int_p_void__void[] = {{"_p_f_int_p_void__void", 0, "void (*)(int,void *)", 0, 0, 0, 0},{"_p_f_int_p_void__void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_p_char__void[] = {{"_p_f_p_char__void", 0, "void (*)(char *)", 0, 0, 0, 0},{"_p_f_p_char__void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_p_struct_obj__void[] = {{"_p_f_p_struct_obj__void", 0, "void (*)(struct obj *)|void (*)(LISP)", 0, 0, 0, 0},{"_p_f_p_struct_obj__void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_f_void__void[] = {{"_p_f_void__void", 0, "void (*)(void)", 0, 0, 0, 0},{"_p_f_void__void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_obj_storage_as_subr[] = {{"_p_obj_storage_as_subr", 0, "obj_storage_as_subr *", 0, 0, 0, 0},{"_p_obj_storage_as_subr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_obj_storage_as_s_string[] = {{"_p_obj_storage_as_s_string", 0, "obj_storage_as_s_string *", 0, 0, 0, 0},{"_p_obj_storage_as_s_string", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_obj_storage_as_u_string[] = {{"_p_obj_storage_as_u_string", 0, "obj_storage_as_u_string *", 0, 0, 0, 0},{"_p_obj_storage_as_u_string", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_obj_storage_as_string[] = {{"_p_obj_storage_as_string", 0, "obj_storage_as_string *", 0, 0, 0, 0},{"_p_obj_storage_as_string", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_gen_readio[] = {{"_p_gen_readio", 0, "struct gen_readio *", 0, 0, 0, 0},{"_p_gen_readio", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_obj_storage_as_subrm[] = {{"_p_obj_storage_as_subrm", 0, "obj_storage_as_subrm *", 0, 0, 0, 0},{"_p_obj_storage_as_subrm", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_signed_char[] = {{"_p_signed_char", 0, "signed char *", 0, 0, 0, 0},{"_p_signed_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_obj_storage_as[] = {{"_p_obj_storage_as", 0, "obj_storage_as *", 0, 0, 0, 0},{"_p_obj_storage_as", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_obj_storage_as_cons[] = {{"_p_obj_storage_as_cons", 0, "obj_storage_as_cons *", 0, 0, 0, 0},{"_p_obj_storage_as_cons", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_FILE[] = {{"_p_FILE", 0, "FILE *", 0, 0, 0, 0},{"_p_FILE", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_obj_storage_as_c_file[] = {{"_p_obj_storage_as_c_file", 0, "obj_storage_as_c_file *", 0, 0, 0, 0},{"_p_obj_storage_as_c_file", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_obj_storage_as_subr0[] = {{"_p_obj_storage_as_subr0", 0, "obj_storage_as_subr0 *", 0, 0, 0, 0},{"_p_obj_storage_as_subr0", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_obj_storage_as_subr1[] = {{"_p_obj_storage_as_subr1", 0, "obj_storage_as_subr1 *", 0, 0, 0, 0},{"_p_obj_storage_as_subr1", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_obj_storage_as_subr2[] = {{"_p_obj_storage_as_subr2", 0, "obj_storage_as_subr2 *", 0, 0, 0, 0},{"_p_obj_storage_as_subr2", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_obj_storage_as_subr3[] = {{"_p_obj_storage_as_subr3", 0, "obj_storage_as_subr3 *", 0, 0, 0, 0},{"_p_obj_storage_as_subr3", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_obj_storage_as_subr4[] = {{"_p_obj_storage_as_subr4", 0, "obj_storage_as_subr4 *", 0, 0, 0, 0},{"_p_obj_storage_as_subr4", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};

static swig_type_info *swig_types_initial[] = {
_swigt__p_f_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj__p_obj, 
_swigt__p_f_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj_p_struct_obj__p_obj, 
_swigt__p_obj_storage_as_subr5, 
_swigt__p_obj_storage_as_flonum, 
_swigt__p_f_p_struct_obj__p_obj, 
_swigt__p_f_p_struct_obj_p_struct_obj__p_obj, 
_swigt__p_f_p_struct_obj_p_struct_obj_p_struct_obj__p_obj, 
_swigt__p_f_p_p_struct_obj_p_p_struct_obj__p_obj, 
_swigt__p_f_p_void_v_______p_obj, 
_swigt__p_obj_storage_as_double_array, 
_swigt__p_obj_storage_as_long_array, 
_swigt__p_f_void__p_obj, 
_swigt__p_f_LISP__p_obj, 
_swigt__p_f_LISP_LISP__p_obj, 
_swigt__p_f_LISP_LISP_LISP__p_obj, 
_swigt__p_f_LISP_LISP_LISP_LISP__p_obj, 
_swigt__p_f_LISP_LISP_LISP_LISP_LISP__p_obj, 
_swigt__p_f_p_LISP_p_LISP__p_obj, 
_swigt__p_f_LISP_p_LISP_p_LISP__p_obj, 
_swigt__p_f_int_p_struct_gen_readio__p_obj, 
_swigt__p_f_p_char_long_p_int__p_obj, 
_swigt__p_f_p_void__p_obj, 
_swigt__p_f_p_struct_obj_p_struct_gen_printio__void, 
_swigt__p_obj_storage_as_symbol, 
_swigt__p_f_p_void__int, 
_swigt__p_f_int_p_void__int, 
_swigt__p_f_p_char_p_void__int, 
_swigt__p_repl_hooks, 
_swigt__p_p_char, 
_swigt__p_p_p_char, 
_swigt__p_double, 
_swigt__p_void, 
_swigt__p_gen_printio, 
_swigt__p_size_t, 
_swigt__p_obj_storage_as_lisp_array, 
_swigt__p_p_obj, 
_swigt__p_obj, 
_swigt__p_obj_storage_as_closure, 
_swigt__p_f_int_p_void__void, 
_swigt__p_f_p_char__void, 
_swigt__p_f_p_struct_obj__void, 
_swigt__p_f_void__void, 
_swigt__p_obj_storage_as_subr, 
_swigt__p_long, 
_swigt__p_obj_storage_as_s_string, 
_swigt__p_obj_storage_as_u_string, 
_swigt__p_obj_storage_as_string, 
_swigt__p_gen_readio, 
_swigt__p_obj_storage_as_subrm, 
_swigt__p_unsigned_char, 
_swigt__p_signed_char, 
_swigt__p_obj_storage_as, 
_swigt__p_obj_storage_as_cons, 
_swigt__p_FILE, 
_swigt__p_obj_storage_as_c_file, 
_swigt__p_obj_storage_as_subr0, 
_swigt__p_obj_storage_as_subr1, 
_swigt__p_obj_storage_as_subr2, 
_swigt__p_int, 
_swigt__p_obj_storage_as_subr3, 
_swigt__p_obj_storage_as_subr4, 
0
};


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

static swig_constant_info swig_constants[] = {
{ SWIG_INT,     (char *) SWIG_prefix "tc_nil", (long) 0, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_cons", (long) 1, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_flonum", (long) 2, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_symbol", (long) 3, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_subr_0", (long) 4, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_subr_1", (long) 5, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_subr_2", (long) 6, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_subr_3", (long) 7, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_lsubr", (long) 8, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_fsubr", (long) 9, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_msubr", (long) 10, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_closure", (long) 11, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_free_cell", (long) 12, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_string", (long) 13, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_double_array", (long) 14, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_long_array", (long) 15, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_lisp_array", (long) 16, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_c_file", (long) 17, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_byte_array", (long) 18, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_subr_4", (long) 19, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_subr_5", (long) 20, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_subr_2n", (long) 21, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "FO_comment", (long) 35, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_user_min", (long) 50, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_user_max", (long) 100, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "FO_fetch", (long) 127, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "FO_store", (long) 126, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "FO_list", (long) 125, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "FO_listd", (long) 124, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "tc_table_dim", (long) 100, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "TKBUFFERN", (long) 5120, 0, 0, 0},
{0,0,0,0,0,0}
};
#ifdef __cplusplus
}
#endif
static swig_variable_info swig_variables[] = {
{0,0,0,0}
};
static swig_command_info swig_commands[] = {
{"Language::SIOD::obj_gc_mark_set", _wrap_obj_gc_mark_set},
{"Language::SIOD::obj_gc_mark_get", _wrap_obj_gc_mark_get},
{"Language::SIOD::obj_type_set", _wrap_obj_type_set},
{"Language::SIOD::obj_type_get", _wrap_obj_type_get},
{"Language::SIOD::obj_storage_as_get", _wrap_obj_storage_as_get},
{"Language::SIOD::new_obj", _wrap_new_obj},
{"Language::SIOD::delete_obj", _wrap_delete_obj},
{"Language::SIOD::obj_storage_as_c_file_get", _wrap_obj_storage_as_c_file_get},
{"Language::SIOD::obj_storage_as_lisp_array_get", _wrap_obj_storage_as_lisp_array_get},
{"Language::SIOD::obj_storage_as_s_string_get", _wrap_obj_storage_as_s_string_get},
{"Language::SIOD::obj_storage_as_u_string_get", _wrap_obj_storage_as_u_string_get},
{"Language::SIOD::obj_storage_as_string_get", _wrap_obj_storage_as_string_get},
{"Language::SIOD::obj_storage_as_double_array_get", _wrap_obj_storage_as_double_array_get},
{"Language::SIOD::obj_storage_as_long_array_get", _wrap_obj_storage_as_long_array_get},
{"Language::SIOD::obj_storage_as_closure_get", _wrap_obj_storage_as_closure_get},
{"Language::SIOD::obj_storage_as_subr_get", _wrap_obj_storage_as_subr_get},
{"Language::SIOD::obj_storage_as_subrm_get", _wrap_obj_storage_as_subrm_get},
{"Language::SIOD::obj_storage_as_subr5_get", _wrap_obj_storage_as_subr5_get},
{"Language::SIOD::obj_storage_as_subr4_get", _wrap_obj_storage_as_subr4_get},
{"Language::SIOD::obj_storage_as_subr3_get", _wrap_obj_storage_as_subr3_get},
{"Language::SIOD::obj_storage_as_subr2_get", _wrap_obj_storage_as_subr2_get},
{"Language::SIOD::obj_storage_as_subr1_get", _wrap_obj_storage_as_subr1_get},
{"Language::SIOD::obj_storage_as_subr0_get", _wrap_obj_storage_as_subr0_get},
{"Language::SIOD::obj_storage_as_symbol_get", _wrap_obj_storage_as_symbol_get},
{"Language::SIOD::obj_storage_as_flonum_get", _wrap_obj_storage_as_flonum_get},
{"Language::SIOD::obj_storage_as_cons_get", _wrap_obj_storage_as_cons_get},
{"Language::SIOD::new_obj_storage_as", _wrap_new_obj_storage_as},
{"Language::SIOD::delete_obj_storage_as", _wrap_delete_obj_storage_as},
{"Language::SIOD::obj_storage_as_c_file_f_set", _wrap_obj_storage_as_c_file_f_set},
{"Language::SIOD::obj_storage_as_c_file_f_get", _wrap_obj_storage_as_c_file_f_get},
{"Language::SIOD::obj_storage_as_c_file_name_set", _wrap_obj_storage_as_c_file_name_set},
{"Language::SIOD::obj_storage_as_c_file_name_get", _wrap_obj_storage_as_c_file_name_get},
{"Language::SIOD::new_obj_storage_as_c_file", _wrap_new_obj_storage_as_c_file},
{"Language::SIOD::delete_obj_storage_as_c_file", _wrap_delete_obj_storage_as_c_file},
{"Language::SIOD::obj_storage_as_lisp_array_dim_set", _wrap_obj_storage_as_lisp_array_dim_set},
{"Language::SIOD::obj_storage_as_lisp_array_dim_get", _wrap_obj_storage_as_lisp_array_dim_get},
{"Language::SIOD::obj_storage_as_lisp_array_data_set", _wrap_obj_storage_as_lisp_array_data_set},
{"Language::SIOD::obj_storage_as_lisp_array_data_get", _wrap_obj_storage_as_lisp_array_data_get},
{"Language::SIOD::new_obj_storage_as_lisp_array", _wrap_new_obj_storage_as_lisp_array},
{"Language::SIOD::delete_obj_storage_as_lisp_array", _wrap_delete_obj_storage_as_lisp_array},
{"Language::SIOD::obj_storage_as_s_string_dim_set", _wrap_obj_storage_as_s_string_dim_set},
{"Language::SIOD::obj_storage_as_s_string_dim_get", _wrap_obj_storage_as_s_string_dim_get},
{"Language::SIOD::obj_storage_as_s_string_data_set", _wrap_obj_storage_as_s_string_data_set},
{"Language::SIOD::obj_storage_as_s_string_data_get", _wrap_obj_storage_as_s_string_data_get},
{"Language::SIOD::new_obj_storage_as_s_string", _wrap_new_obj_storage_as_s_string},
{"Language::SIOD::delete_obj_storage_as_s_string", _wrap_delete_obj_storage_as_s_string},
{"Language::SIOD::obj_storage_as_u_string_dim_set", _wrap_obj_storage_as_u_string_dim_set},
{"Language::SIOD::obj_storage_as_u_string_dim_get", _wrap_obj_storage_as_u_string_dim_get},
{"Language::SIOD::obj_storage_as_u_string_data_set", _wrap_obj_storage_as_u_string_data_set},
{"Language::SIOD::obj_storage_as_u_string_data_get", _wrap_obj_storage_as_u_string_data_get},
{"Language::SIOD::new_obj_storage_as_u_string", _wrap_new_obj_storage_as_u_string},
{"Language::SIOD::delete_obj_storage_as_u_string", _wrap_delete_obj_storage_as_u_string},
{"Language::SIOD::obj_storage_as_string_dim_set", _wrap_obj_storage_as_string_dim_set},
{"Language::SIOD::obj_storage_as_string_dim_get", _wrap_obj_storage_as_string_dim_get},
{"Language::SIOD::obj_storage_as_string_data_set", _wrap_obj_storage_as_string_data_set},
{"Language::SIOD::obj_storage_as_string_data_get", _wrap_obj_storage_as_string_data_get},
{"Language::SIOD::new_obj_storage_as_string", _wrap_new_obj_storage_as_string},
{"Language::SIOD::delete_obj_storage_as_string", _wrap_delete_obj_storage_as_string},
{"Language::SIOD::obj_storage_as_double_array_dim_set", _wrap_obj_storage_as_double_array_dim_set},
{"Language::SIOD::obj_storage_as_double_array_dim_get", _wrap_obj_storage_as_double_array_dim_get},
{"Language::SIOD::obj_storage_as_double_array_data_set", _wrap_obj_storage_as_double_array_data_set},
{"Language::SIOD::obj_storage_as_double_array_data_get", _wrap_obj_storage_as_double_array_data_get},
{"Language::SIOD::new_obj_storage_as_double_array", _wrap_new_obj_storage_as_double_array},
{"Language::SIOD::delete_obj_storage_as_double_array", _wrap_delete_obj_storage_as_double_array},
{"Language::SIOD::obj_storage_as_long_array_dim_set", _wrap_obj_storage_as_long_array_dim_set},
{"Language::SIOD::obj_storage_as_long_array_dim_get", _wrap_obj_storage_as_long_array_dim_get},
{"Language::SIOD::obj_storage_as_long_array_data_set", _wrap_obj_storage_as_long_array_data_set},
{"Language::SIOD::obj_storage_as_long_array_data_get", _wrap_obj_storage_as_long_array_data_get},
{"Language::SIOD::new_obj_storage_as_long_array", _wrap_new_obj_storage_as_long_array},
{"Language::SIOD::delete_obj_storage_as_long_array", _wrap_delete_obj_storage_as_long_array},
{"Language::SIOD::obj_storage_as_closure_env_set", _wrap_obj_storage_as_closure_env_set},
{"Language::SIOD::obj_storage_as_closure_env_get", _wrap_obj_storage_as_closure_env_get},
{"Language::SIOD::obj_storage_as_closure_code_set", _wrap_obj_storage_as_closure_code_set},
{"Language::SIOD::obj_storage_as_closure_code_get", _wrap_obj_storage_as_closure_code_get},
{"Language::SIOD::new_obj_storage_as_closure", _wrap_new_obj_storage_as_closure},
{"Language::SIOD::delete_obj_storage_as_closure", _wrap_delete_obj_storage_as_closure},
{"Language::SIOD::obj_storage_as_subr_name_set", _wrap_obj_storage_as_subr_name_set},
{"Language::SIOD::obj_storage_as_subr_name_get", _wrap_obj_storage_as_subr_name_get},
{"Language::SIOD::obj_storage_as_subr_f_set", _wrap_obj_storage_as_subr_f_set},
{"Language::SIOD::obj_storage_as_subr_f_get", _wrap_obj_storage_as_subr_f_get},
{"Language::SIOD::new_obj_storage_as_subr", _wrap_new_obj_storage_as_subr},
{"Language::SIOD::delete_obj_storage_as_subr", _wrap_delete_obj_storage_as_subr},
{"Language::SIOD::obj_storage_as_subrm_name_set", _wrap_obj_storage_as_subrm_name_set},
{"Language::SIOD::obj_storage_as_subrm_name_get", _wrap_obj_storage_as_subrm_name_get},
{"Language::SIOD::obj_storage_as_subrm_f_set", _wrap_obj_storage_as_subrm_f_set},
{"Language::SIOD::obj_storage_as_subrm_f_get", _wrap_obj_storage_as_subrm_f_get},
{"Language::SIOD::new_obj_storage_as_subrm", _wrap_new_obj_storage_as_subrm},
{"Language::SIOD::delete_obj_storage_as_subrm", _wrap_delete_obj_storage_as_subrm},
{"Language::SIOD::obj_storage_as_subr5_name_set", _wrap_obj_storage_as_subr5_name_set},
{"Language::SIOD::obj_storage_as_subr5_name_get", _wrap_obj_storage_as_subr5_name_get},
{"Language::SIOD::obj_storage_as_subr5_f_set", _wrap_obj_storage_as_subr5_f_set},
{"Language::SIOD::obj_storage_as_subr5_f_get", _wrap_obj_storage_as_subr5_f_get},
{"Language::SIOD::new_obj_storage_as_subr5", _wrap_new_obj_storage_as_subr5},
{"Language::SIOD::delete_obj_storage_as_subr5", _wrap_delete_obj_storage_as_subr5},
{"Language::SIOD::obj_storage_as_subr4_name_set", _wrap_obj_storage_as_subr4_name_set},
{"Language::SIOD::obj_storage_as_subr4_name_get", _wrap_obj_storage_as_subr4_name_get},
{"Language::SIOD::obj_storage_as_subr4_f_set", _wrap_obj_storage_as_subr4_f_set},
{"Language::SIOD::obj_storage_as_subr4_f_get", _wrap_obj_storage_as_subr4_f_get},
{"Language::SIOD::new_obj_storage_as_subr4", _wrap_new_obj_storage_as_subr4},
{"Language::SIOD::delete_obj_storage_as_subr4", _wrap_delete_obj_storage_as_subr4},
{"Language::SIOD::obj_storage_as_subr3_name_set", _wrap_obj_storage_as_subr3_name_set},
{"Language::SIOD::obj_storage_as_subr3_name_get", _wrap_obj_storage_as_subr3_name_get},
{"Language::SIOD::obj_storage_as_subr3_f_set", _wrap_obj_storage_as_subr3_f_set},
{"Language::SIOD::obj_storage_as_subr3_f_get", _wrap_obj_storage_as_subr3_f_get},
{"Language::SIOD::new_obj_storage_as_subr3", _wrap_new_obj_storage_as_subr3},
{"Language::SIOD::delete_obj_storage_as_subr3", _wrap_delete_obj_storage_as_subr3},
{"Language::SIOD::obj_storage_as_subr2_name_set", _wrap_obj_storage_as_subr2_name_set},
{"Language::SIOD::obj_storage_as_subr2_name_get", _wrap_obj_storage_as_subr2_name_get},
{"Language::SIOD::obj_storage_as_subr2_f_set", _wrap_obj_storage_as_subr2_f_set},
{"Language::SIOD::obj_storage_as_subr2_f_get", _wrap_obj_storage_as_subr2_f_get},
{"Language::SIOD::new_obj_storage_as_subr2", _wrap_new_obj_storage_as_subr2},
{"Language::SIOD::delete_obj_storage_as_subr2", _wrap_delete_obj_storage_as_subr2},
{"Language::SIOD::obj_storage_as_subr1_name_set", _wrap_obj_storage_as_subr1_name_set},
{"Language::SIOD::obj_storage_as_subr1_name_get", _wrap_obj_storage_as_subr1_name_get},
{"Language::SIOD::obj_storage_as_subr1_f_set", _wrap_obj_storage_as_subr1_f_set},
{"Language::SIOD::obj_storage_as_subr1_f_get", _wrap_obj_storage_as_subr1_f_get},
{"Language::SIOD::new_obj_storage_as_subr1", _wrap_new_obj_storage_as_subr1},
{"Language::SIOD::delete_obj_storage_as_subr1", _wrap_delete_obj_storage_as_subr1},
{"Language::SIOD::obj_storage_as_subr0_name_set", _wrap_obj_storage_as_subr0_name_set},
{"Language::SIOD::obj_storage_as_subr0_name_get", _wrap_obj_storage_as_subr0_name_get},
{"Language::SIOD::obj_storage_as_subr0_f_set", _wrap_obj_storage_as_subr0_f_set},
{"Language::SIOD::obj_storage_as_subr0_f_get", _wrap_obj_storage_as_subr0_f_get},
{"Language::SIOD::new_obj_storage_as_subr0", _wrap_new_obj_storage_as_subr0},
{"Language::SIOD::delete_obj_storage_as_subr0", _wrap_delete_obj_storage_as_subr0},
{"Language::SIOD::obj_storage_as_symbol_pname_set", _wrap_obj_storage_as_symbol_pname_set},
{"Language::SIOD::obj_storage_as_symbol_pname_get", _wrap_obj_storage_as_symbol_pname_get},
{"Language::SIOD::obj_storage_as_symbol_vcell_set", _wrap_obj_storage_as_symbol_vcell_set},
{"Language::SIOD::obj_storage_as_symbol_vcell_get", _wrap_obj_storage_as_symbol_vcell_get},
{"Language::SIOD::new_obj_storage_as_symbol", _wrap_new_obj_storage_as_symbol},
{"Language::SIOD::delete_obj_storage_as_symbol", _wrap_delete_obj_storage_as_symbol},
{"Language::SIOD::obj_storage_as_flonum_data_set", _wrap_obj_storage_as_flonum_data_set},
{"Language::SIOD::obj_storage_as_flonum_data_get", _wrap_obj_storage_as_flonum_data_get},
{"Language::SIOD::new_obj_storage_as_flonum", _wrap_new_obj_storage_as_flonum},
{"Language::SIOD::delete_obj_storage_as_flonum", _wrap_delete_obj_storage_as_flonum},
{"Language::SIOD::obj_storage_as_cons_car_set", _wrap_obj_storage_as_cons_car_set},
{"Language::SIOD::obj_storage_as_cons_car_get", _wrap_obj_storage_as_cons_car_get},
{"Language::SIOD::obj_storage_as_cons_cdr_set", _wrap_obj_storage_as_cons_cdr_set},
{"Language::SIOD::obj_storage_as_cons_cdr_get", _wrap_obj_storage_as_cons_cdr_get},
{"Language::SIOD::new_obj_storage_as_cons", _wrap_new_obj_storage_as_cons},
{"Language::SIOD::delete_obj_storage_as_cons", _wrap_delete_obj_storage_as_cons},
{"Language::SIOD::gen_readio_getc_fcn_set", _wrap_gen_readio_getc_fcn_set},
{"Language::SIOD::gen_readio_getc_fcn_get", _wrap_gen_readio_getc_fcn_get},
{"Language::SIOD::gen_readio_ungetc_fcn_set", _wrap_gen_readio_ungetc_fcn_set},
{"Language::SIOD::gen_readio_ungetc_fcn_get", _wrap_gen_readio_ungetc_fcn_get},
{"Language::SIOD::gen_readio_cb_argument_set", _wrap_gen_readio_cb_argument_set},
{"Language::SIOD::gen_readio_cb_argument_get", _wrap_gen_readio_cb_argument_get},
{"Language::SIOD::new_gen_readio", _wrap_new_gen_readio},
{"Language::SIOD::delete_gen_readio", _wrap_delete_gen_readio},
{"Language::SIOD::gen_printio_putc_fcn_set", _wrap_gen_printio_putc_fcn_set},
{"Language::SIOD::gen_printio_putc_fcn_get", _wrap_gen_printio_putc_fcn_get},
{"Language::SIOD::gen_printio_puts_fcn_set", _wrap_gen_printio_puts_fcn_set},
{"Language::SIOD::gen_printio_puts_fcn_get", _wrap_gen_printio_puts_fcn_get},
{"Language::SIOD::gen_printio_cb_argument_set", _wrap_gen_printio_cb_argument_set},
{"Language::SIOD::gen_printio_cb_argument_get", _wrap_gen_printio_cb_argument_get},
{"Language::SIOD::new_gen_printio", _wrap_new_gen_printio},
{"Language::SIOD::delete_gen_printio", _wrap_delete_gen_printio},
{"Language::SIOD::repl_hooks_repl_puts_set", _wrap_repl_hooks_repl_puts_set},
{"Language::SIOD::repl_hooks_repl_puts_get", _wrap_repl_hooks_repl_puts_get},
{"Language::SIOD::repl_hooks_repl_read_set", _wrap_repl_hooks_repl_read_set},
{"Language::SIOD::repl_hooks_repl_read_get", _wrap_repl_hooks_repl_read_get},
{"Language::SIOD::repl_hooks_repl_eval_set", _wrap_repl_hooks_repl_eval_set},
{"Language::SIOD::repl_hooks_repl_eval_get", _wrap_repl_hooks_repl_eval_get},
{"Language::SIOD::repl_hooks_repl_print_set", _wrap_repl_hooks_repl_print_set},
{"Language::SIOD::repl_hooks_repl_print_get", _wrap_repl_hooks_repl_print_get},
{"Language::SIOD::new_repl_hooks", _wrap_new_repl_hooks},
{"Language::SIOD::delete_repl_hooks", _wrap_delete_repl_hooks},
{"Language::SIOD::process_cla", _wrap_process_cla},
{"Language::SIOD::print_welcome", _wrap_print_welcome},
{"Language::SIOD::print_hs_1", _wrap_print_hs_1},
{"Language::SIOD::print_hs_2", _wrap_print_hs_2},
{"Language::SIOD::no_interrupt", _wrap_no_interrupt},
{"Language::SIOD::get_eof_val", _wrap_get_eof_val},
{"Language::SIOD::repl_driver", _wrap_repl_driver},
{"Language::SIOD::set_repl_hooks", _wrap_set_repl_hooks},
{"Language::SIOD::repl", _wrap_repl},
{"Language::SIOD::err", _wrap_err},
{"Language::SIOD::errswitch", _wrap_errswitch},
{"Language::SIOD::get_c_string", _wrap_get_c_string},
{"Language::SIOD::get_c_string_dim", _wrap_get_c_string_dim},
{"Language::SIOD::try_get_c_string", _wrap_try_get_c_string},
{"Language::SIOD::get_c_long", _wrap_get_c_long},
{"Language::SIOD::get_c_double", _wrap_get_c_double},
{"Language::SIOD::lerr", _wrap_lerr},
{"Language::SIOD::newcell", _wrap_newcell},
{"Language::SIOD::cons", _wrap_cons},
{"Language::SIOD::consp", _wrap_consp},
{"Language::SIOD::car", _wrap_car},
{"Language::SIOD::cdr", _wrap_cdr},
{"Language::SIOD::setcar", _wrap_setcar},
{"Language::SIOD::setcdr", _wrap_setcdr},
{"Language::SIOD::flocons", _wrap_flocons},
{"Language::SIOD::numberp", _wrap_numberp},
{"Language::SIOD::plus", _wrap_plus},
{"Language::SIOD::ltimes", _wrap_ltimes},
{"Language::SIOD::difference", _wrap_difference},
{"Language::SIOD::Quotient", _wrap_Quotient},
{"Language::SIOD::greaterp", _wrap_greaterp},
{"Language::SIOD::lessp", _wrap_lessp},
{"Language::SIOD::eq", _wrap_eq},
{"Language::SIOD::eql", _wrap_eql},
{"Language::SIOD::symcons", _wrap_symcons},
{"Language::SIOD::symbolp", _wrap_symbolp},
{"Language::SIOD::symbol_boundp", _wrap_symbol_boundp},
{"Language::SIOD::symbol_value", _wrap_symbol_value},
{"Language::SIOD::cintern", _wrap_cintern},
{"Language::SIOD::rintern", _wrap_rintern},
{"Language::SIOD::subrcons", _wrap_subrcons},
{"Language::SIOD::closure", _wrap_closure},
{"Language::SIOD::gc_protect", _wrap_gc_protect},
{"Language::SIOD::gc_protect_n", _wrap_gc_protect_n},
{"Language::SIOD::gc_protect_sym", _wrap_gc_protect_sym},
{"Language::SIOD::init_storage", _wrap_init_storage},
{"Language::SIOD::init_slibu", _wrap_init_slibu},
{"Language::SIOD::init_subr", _wrap_init_subr},
{"Language::SIOD::init_subr_0", _wrap_init_subr_0},
{"Language::SIOD::init_subr_1", _wrap_init_subr_1},
{"Language::SIOD::init_subr_2", _wrap_init_subr_2},
{"Language::SIOD::init_subr_2n", _wrap_init_subr_2n},
{"Language::SIOD::init_subr_3", _wrap_init_subr_3},
{"Language::SIOD::init_subr_4", _wrap_init_subr_4},
{"Language::SIOD::init_subr_5", _wrap_init_subr_5},
{"Language::SIOD::init_lsubr", _wrap_init_lsubr},
{"Language::SIOD::init_fsubr", _wrap_init_fsubr},
{"Language::SIOD::init_msubr", _wrap_init_msubr},
{"Language::SIOD::assq", _wrap_assq},
{"Language::SIOD::delq", _wrap_delq},
{"Language::SIOD::set_gc_hooks", _wrap_set_gc_hooks},
{"Language::SIOD::gc_relocate", _wrap_gc_relocate},
{"Language::SIOD::user_gc", _wrap_user_gc},
{"Language::SIOD::gc_status", _wrap_gc_status},
{"Language::SIOD::set_eval_hooks", _wrap_set_eval_hooks},
{"Language::SIOD::leval", _wrap_leval},
{"Language::SIOD::symbolconc", _wrap_symbolconc},
{"Language::SIOD::set_print_hooks", _wrap_set_print_hooks},
{"Language::SIOD::lprin1g", _wrap_lprin1g},
{"Language::SIOD::lprin1f", _wrap_lprin1f},
{"Language::SIOD::lprint", _wrap_lprint},
{"Language::SIOD::lread", _wrap_lread},
{"Language::SIOD::lreadtk", _wrap_lreadtk},
{"Language::SIOD::lreadf", _wrap_lreadf},
{"Language::SIOD::set_read_hooks", _wrap_set_read_hooks},
{"Language::SIOD::apropos", _wrap_apropos},
{"Language::SIOD::vload", _wrap_vload},
{"Language::SIOD::load", _wrap_load},
{"Language::SIOD::require", _wrap_require},
{"Language::SIOD::save_forms", _wrap_save_forms},
{"Language::SIOD::quit", _wrap_quit},
{"Language::SIOD::nullp", _wrap_nullp},
{"Language::SIOD::strcons", _wrap_strcons},
{"Language::SIOD::read_from_string", _wrap_read_from_string},
{"Language::SIOD::aref1", _wrap_aref1},
{"Language::SIOD::aset1", _wrap_aset1},
{"Language::SIOD::cons_array", _wrap_cons_array},
{"Language::SIOD::arcons", _wrap_arcons},
{"Language::SIOD::string_append", _wrap_string_append},
{"Language::SIOD::string_length", _wrap_string_length},
{"Language::SIOD::string_search", _wrap_string_search},
{"Language::SIOD::substring", _wrap_substring},
{"Language::SIOD::string_trim", _wrap_string_trim},
{"Language::SIOD::string_trim_left", _wrap_string_trim_left},
{"Language::SIOD::string_trim_right", _wrap_string_trim_right},
{"Language::SIOD::string_upcase", _wrap_string_upcase},
{"Language::SIOD::string_downcase", _wrap_string_downcase},
{"Language::SIOD::init_subrs", _wrap_init_subrs},
{"Language::SIOD::copy_list", _wrap_copy_list},
{"Language::SIOD::c_sxhash", _wrap_c_sxhash},
{"Language::SIOD::sxhash", _wrap_sxhash},
{"Language::SIOD::href", _wrap_href},
{"Language::SIOD::hset", _wrap_hset},
{"Language::SIOD::fast_print", _wrap_fast_print},
{"Language::SIOD::fast_read", _wrap_fast_read},
{"Language::SIOD::equal", _wrap_equal},
{"Language::SIOD::assoc", _wrap_assoc},
{"Language::SIOD::make_list", _wrap_make_list},
{"Language::SIOD::set_fatal_exit_hook", _wrap_set_fatal_exit_hook},
{"Language::SIOD::parse_number", _wrap_parse_number},
{"Language::SIOD::intern", _wrap_intern},
{"Language::SIOD::init_trace", _wrap_init_trace},
{"Language::SIOD::repl_c_string", _wrap_repl_c_string},
{"Language::SIOD::siod_version", _wrap_siod_version},
{"Language::SIOD::nreverse", _wrap_nreverse},
{"Language::SIOD::number2string", _wrap_number2string},
{"Language::SIOD::string2number", _wrap_string2number},
{"Language::SIOD::siod_verbose", _wrap_siod_verbose},
{"Language::SIOD::siod_verbose_check", _wrap_siod_verbose_check},
{"Language::SIOD::setvar", _wrap_setvar},
{"Language::SIOD::allocate_user_tc", _wrap_allocate_user_tc},
{"Language::SIOD::cadr", _wrap_cadr},
{"Language::SIOD::caar", _wrap_caar},
{"Language::SIOD::cddr", _wrap_cddr},
{"Language::SIOD::caaar", _wrap_caaar},
{"Language::SIOD::caadr", _wrap_caadr},
{"Language::SIOD::cadar", _wrap_cadar},
{"Language::SIOD::caddr", _wrap_caddr},
{"Language::SIOD::cdaar", _wrap_cdaar},
{"Language::SIOD::cdadr", _wrap_cdadr},
{"Language::SIOD::cddar", _wrap_cddar},
{"Language::SIOD::cdddr", _wrap_cdddr},
{"Language::SIOD::chk_string", _wrap_chk_string},
{"Language::SIOD::a_true_value", _wrap_a_true_value},
{"Language::SIOD::lapply", _wrap_lapply},
{"Language::SIOD::mallocl", _wrap_mallocl},
{"Language::SIOD::gput_st", _wrap_gput_st},
{"Language::SIOD::put_st", _wrap_put_st},
{"Language::SIOD::listn", _wrap_listn},
{"Language::SIOD::must_malloc", _wrap_must_malloc},
{"Language::SIOD::lstrbreakup", _wrap_lstrbreakup},
{"Language::SIOD::lstrunbreakup", _wrap_lstrunbreakup},
{"Language::SIOD::nconc", _wrap_nconc},
{"Language::SIOD::poparg", _wrap_poparg},
{"Language::SIOD::get_c_file", _wrap_get_c_file},
{"Language::SIOD::last_c_errmsg", _wrap_last_c_errmsg},
{"Language::SIOD::llast_c_errmsg", _wrap_llast_c_errmsg},
{"Language::SIOD::safe_strcpy", _wrap_safe_strcpy},
{"Language::SIOD::safe_strcat", _wrap_safe_strcat},
{"Language::SIOD::safe_strlen", _wrap_safe_strlen},
{"Language::SIOD::memq", _wrap_memq},
{"Language::SIOD::nth", _wrap_nth},
{"Language::SIOD::butlast", _wrap_butlast},
{"Language::SIOD::last", _wrap_last},
{"Language::SIOD::readtl", _wrap_readtl},
{"Language::SIOD::funcall1", _wrap_funcall1},
{"Language::SIOD::funcall2", _wrap_funcall2},
{"Language::SIOD::apply1", _wrap_apply1},
{"Language::SIOD::lgetc", _wrap_lgetc},
{"Language::SIOD::lungetc", _wrap_lungetc},
{"Language::SIOD::lputc", _wrap_lputc},
{"Language::SIOD::lputs", _wrap_lputs},
{"Language::SIOD::assemble_options", _wrap_assemble_options},
{"Language::SIOD::ccall_catch", _wrap_ccall_catch},
{"Language::SIOD::lref_default", _wrap_lref_default},
{"Language::SIOD::symalist", _wrap_symalist},
{"Language::SIOD::encode_st_mode", _wrap_encode_st_mode},
{"Language::SIOD::encode_open_flags", _wrap_encode_open_flags},
{"Language::SIOD::nlength", _wrap_nlength},
{"Language::SIOD::siod_main", _wrap_siod_main},
{"Language::SIOD::siod_shuffle_args", _wrap_siod_shuffle_args},
{"Language::SIOD::siod_init", _wrap_siod_init},
{0,0}
};


static void SWIG_Perl_SetTypeListHandle(swig_type_info **handle) {
    SV *pointer;
    
    /* create a new pointer */
    pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, TRUE);
    sv_setiv(pointer, PTR2IV(swig_type_list_handle));
}

static swig_type_info **
SWIG_Perl_LookupTypePointer(swig_type_info **type_list_handle) {
    swig_type_info **type_pointer;
    
    /* first check if module already created */
    type_pointer = SWIG_Perl_GetTypeListHandle();
    if (type_pointer) {
        return type_pointer;
    } else {
        /* create a new module and variable */
        SWIG_Perl_SetTypeListHandle(type_list_handle);
        return type_list_handle;
    }
}


#ifdef __cplusplus
extern "C"
#endif

XS(SWIG_init) {
    dXSARGS;
    int i;
    static int _init = 0;
    if (!_init) {
        swig_type_list_handle = SWIG_Perl_LookupTypePointer(swig_type_list_handle);
        for (i = 0; swig_types_initial[i]; i++) {
            swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
        }	
        _init = 1;
    }
    
    /* Install commands */
    for (i = 0; swig_commands[i].name; i++) {
        newXS((char*) swig_commands[i].name,swig_commands[i].wrapper, (char*)__FILE__);
    }
    
    /* Install variables */
    for (i = 0; swig_variables[i].name; i++) {
        SV *sv;
        sv = perl_get_sv((char*) swig_variables[i].name, TRUE | 0x2);
        if (swig_variables[i].type) {
            SWIG_MakePtr(sv,(void *)1, *swig_variables[i].type,0);
        } else {
            sv_setiv(sv,(IV) 0);
        }
        swig_create_magic(sv, (char *) swig_variables[i].name, swig_variables[i].set, swig_variables[i].get); 
    }
    
    /* Install constant */
    for (i = 0; swig_constants[i].type; i++) {
        SV *sv;
        sv = perl_get_sv((char*)swig_constants[i].name, TRUE | 0x2);
        switch(swig_constants[i].type) {
            case SWIG_INT:
            sv_setiv(sv, (IV) swig_constants[i].lvalue);
            break;
            case SWIG_FLOAT:
            sv_setnv(sv, (double) swig_constants[i].dvalue);
            break;
            case SWIG_STRING:
            sv_setpv(sv, (char *) swig_constants[i].pvalue);
            break;
            case SWIG_POINTER:
            SWIG_MakePtr(sv, swig_constants[i].pvalue, *(swig_constants[i].ptype),0);
            break;
            case SWIG_BINARY:
            SWIG_MakePackedObj(sv, swig_constants[i].pvalue, swig_constants[i].lvalue, *(swig_constants[i].ptype));
            break;
            default:
            break;
        }
        SvREADONLY_on(sv);
    }
    
    ST(0) = &PL_sv_yes;
    XSRETURN(1);
}

