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

/***********************************************************************
 *
 *  This section contains generic SWIG labels for method/variable
 *  declarations/attributes, and other compiler dependent labels.
 *
 ************************************************************************/

/* template workaround for compilers that cannot correctly implement the C++ standard */
#ifndef SWIGTEMPLATEDISAMBIGUATOR
#  if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
#    define SWIGTEMPLATEDISAMBIGUATOR template
#  else
#    define SWIGTEMPLATEDISAMBIGUATOR 
#  endif
#endif

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

/* attribute recognised by some compilers to avoid 'unused' warnings */
#ifndef SWIGUNUSED
# if defined(__GNUC__) || defined(__ICC)
#   define SWIGUNUSED __attribute__ ((unused)) 
# else
#   define SWIGUNUSED 
# endif
#endif

/* internal SWIG method */
#ifndef SWIGINTERN
# define SWIGINTERN static SWIGUNUSED
#endif

/* internal inline SWIG method */
#ifndef SWIGINTERNINLINE
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
#endif

/* exporting methods for Windows DLLs */
#ifndef SWIGEXPORT
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#   if defined(STATIC_LINKED)
#     define SWIGEXPORT
#   else
#     define SWIGEXPORT __declspec(dllexport)
#   endif
# else
#   define SWIGEXPORT
# endif
#endif

/* calling conventions for Windows */
#ifndef SWIGSTDCALL
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#   define SWIGSTDCALL __stdcall
# else
#   define SWIGSTDCALL
# 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 "2"

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

/*
  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 SWIGINTERN
#endif

#ifndef SWIGRUNTIMEINLINE
# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
#endif

#include <string.h>

#ifdef __cplusplus
extern "C" {
#endif

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

/* Structure to store inforomation on one type */
typedef struct swig_type_info {
  const char             *name;			/* mangled name of this type */
  const char             *str;			/* human readable name of this type */
  swig_dycast_func        dcast;		/* dynamic cast function down a hierarchy */
  struct swig_cast_info  *cast;			/* linked list of types that can cast into this type */
  void                   *clientdata;		/* language specific type data */
} swig_type_info;

/* Structure to store a type and conversion function used for casting */
typedef struct swig_cast_info {
  swig_type_info         *type;			/* pointer to type that is equivalent to this type */
  swig_converter_func     converter;		/* function to cast the void pointers */
  struct swig_cast_info  *next;			/* pointer to next cast in linked list */
  struct swig_cast_info  *prev;			/* pointer to the previous cast */
} swig_cast_info;

/* Structure used to store module information
 * Each module generates one structure like this, and the runtime collects
 * all of these structures and stores them in a circularly linked list.*/
typedef struct swig_module_info {
  swig_type_info         **types;		/* Array of pointers to swig_type_info structures that are in this module */
  size_t                 size;		        /* Number of types in this module */
  struct swig_module_info *next;		/* Pointer to next element in circularly linked list */
  swig_type_info         **type_initial;	/* Array of initially generated type structures */
  swig_cast_info         **cast_initial;	/* Array of initially generated casting structures */
  void                    *clientdata;		/* Language specific module data */
} swig_module_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 (int)(*f1 - *f2);
  }
  return (l1 - f1) - (l2 - f2);
}

/*
  Check type equivalence in a name list like <name1>|<name2>|...
  Return 0 if not equal, 1 if equal
*/
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) ? 1 : 0;
    if (*ne) ++ne;
  }
  return equiv;
}

/*
  Check type equivalence in a name list like <name1>|<name2>|...
  Return 0 if equal, -1 if nb < tb, 1 if nb > tb
*/
SWIGRUNTIME int
SWIG_TypeCompare(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) ? 1 : 0;
    if (*ne) ++ne;
  }
  return equiv;
}


/* think of this as a c++ template<> or a scheme macro */
#define SWIG_TypeCheck_Template(comparison, ty)         \
  if (ty) {                                             \
    swig_cast_info *iter = ty->cast;                    \
    while (iter) {                                      \
      if (comparison) {                                 \
        if (iter == ty->cast) return iter;              \
        /* Move iter to the top of the linked list */   \
        iter->prev->next = iter->next;                  \
        if (iter->next)                                 \
          iter->next->prev = iter->prev;                \
        iter->next = ty->cast;                          \
        iter->prev = 0;                                 \
        if (ty->cast) ty->cast->prev = iter;            \
        ty->cast = iter;                                \
        return iter;                                    \
      }                                                 \
      iter = iter->next;                                \
    }                                                   \
  }                                                     \
  return 0

/*
  Check the typename
*/
SWIGRUNTIME swig_cast_info *
SWIG_TypeCheck(const char *c, swig_type_info *ty) {
  SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
}

/* Same as previous function, except strcmp is replaced with a pointer comparison */
SWIGRUNTIME swig_cast_info *
SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
  SWIG_TypeCheck_Template(iter->type == from, into);
}

/*
  Cast a pointer up an inheritance hierarchy
*/
SWIGRUNTIMEINLINE void *
SWIG_TypeCast(swig_cast_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;
}

/* 
   Set the clientdata field for a type
*/
SWIGRUNTIME void
SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
  swig_cast_info *cast = ti->cast;
  /* if (ti->clientdata == clientdata) return; */
  ti->clientdata = clientdata;
  
  while (cast) {
    if (!cast->converter) {
      swig_type_info *tc = cast->type;
      if (!tc->clientdata) {
	SWIG_TypeClientData(tc, clientdata);
      }
    }    
    cast = cast->next;
  }
}

/*
  Search for a swig_type_info structure only by mangled name
  Search is a O(log #types)
  
  We start searching at module start, and finish searching when start == end.  
  Note: if start == end at the beginning of the function, we go all the way around
  the circular list.
*/
SWIGRUNTIME swig_type_info *
SWIG_MangledTypeQueryModule(swig_module_info *start, 
                            swig_module_info *end, 
		            const char *name) {
  swig_module_info *iter = start;
  do {
    if (iter->size) {
      register size_t l = 0;
      register size_t r = iter->size - 1;
      do {
	/* since l+r >= 0, we can (>> 1) instead (/ 2) */
	register size_t i = (l + r) >> 1; 
	const char *iname = iter->types[i]->name;
	if (iname) {
	  register int compare = strcmp(name, iname);
	  if (compare == 0) {	    
	    return iter->types[i];
	  } else if (compare < 0) {
	    if (i) {
	      r = i - 1;
	    } else {
	      break;
	    }
	  } else if (compare > 0) {
	    l = i + 1;
	  }
	} else {
	  break; /* should never happen */
	}
      } while (l <= r);
    }
    iter = iter->next;
  } while (iter != end);
  return 0;
}

/*
  Search for a swig_type_info structure for either a mangled name or a human readable name.
  It first searches the mangled names of the types, which is a O(log #types)
  If a type is not found it then searches the human readable names, which is O(#types).
  
  We start searching at module start, and finish searching when start == end.  
  Note: if start == end at the beginning of the function, we go all the way around
  the circular list.
*/
SWIGRUNTIME swig_type_info *
SWIG_TypeQueryModule(swig_module_info *start, 
                     swig_module_info *end, 
		     const char *name) {
  /* STEP 1: Search the name field using binary search */
  swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
  if (ret) {
    return ret;
  } else {
    /* STEP 2: If the type hasn't been found, do a complete search
       of the str field (the human readable name) */
    swig_module_info *iter = start;
    do {
      register size_t i = 0;
      for (; i < iter->size; ++i) {
	if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
	  return iter->types[i];
      }
      iter = iter->next;
    } while (iter != end);
  }
  
  /* neither found a match */
  return 0;
}


/* 
   Pack binary data into a string
*/
SWIGRUNTIME char *
SWIG_PackData(char *c, void *ptr, size_t sz) {
  static const char hex[17] = "0123456789abcdef";
  register const unsigned char *u = (unsigned char *) ptr;
  register const unsigned char *eu =  u + sz;
  for (; u != eu; ++u) {
    register unsigned char 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 char 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;
}

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

/* ---------------------------------------------------------------------- -*- c -*-
 * perl5.swg
 *
 * Perl5 runtime library
 * $Header: /cvsroot/swig/SWIG/Lib/perl5/perlrun.swg,v 1.21 2005/02/01 00:08:17 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

/* Runtime API */
#define SWIG_GetModule(clientdata) SWIG_Perl_GetModule()
#define SWIG_SetModule(clientdata, pointer) SWIG_Perl_SetModule(pointer)

/* 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_cast_info *
SWIG_Perl_TypeCheckRV(SWIG_MAYBE_PERL_OBJECT SV *rv, swig_type_info *ty) {
  SWIG_TypeCheck_Template(sv_derived_from(rv, (char *) iter->type->name), ty);
}

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


static swig_module_info *
SWIG_Perl_GetModule() {
  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_module_info *) type_pointer;
}

static void
SWIG_Perl_SetModule(swig_module_info *module) {
  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(module));
}

#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
#ifdef read
  #undef read
#endif
#ifdef write
  #undef write
#endif
#ifdef eof
  #undef eof
#endif
#ifdef bool
  #undef bool
#endif
#ifdef close
  #undef close
#endif
#ifdef rewind
  #undef rewind
#endif



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

#define SWIGTYPE_p_FILE swig_types[0]
#define SWIGTYPE_p_Perl_Scalar swig_types[1]
#define SWIGTYPE_p_SYMID swig_types[2]
#define SWIGTYPE_p__syck_emitter swig_types[3]
#define SWIGTYPE_p__syck_emitter_node swig_types[4]
#define SWIGTYPE_p__syck_file swig_types[5]
#define SWIGTYPE_p__syck_level swig_types[6]
#define SWIGTYPE_p__syck_node swig_types[7]
#define SWIGTYPE_p__syck_node_data swig_types[8]
#define SWIGTYPE_p__syck_node_data_list swig_types[9]
#define SWIGTYPE_p__syck_node_data_pairs swig_types[10]
#define SWIGTYPE_p__syck_node_data_str swig_types[11]
#define SWIGTYPE_p__syck_parser swig_types[12]
#define SWIGTYPE_p__syck_parser_io swig_types[13]
#define SWIGTYPE_p__syck_str swig_types[14]
#define SWIGTYPE_p_f_p_SyckParser_p_char__p__syck_node swig_types[15]
#define SWIGTYPE_p_f_p_char_p_struct__syck_file_long_long__long swig_types[16]
#define SWIGTYPE_p_f_p_char_p_struct__syck_str_long_long__long swig_types[17]
#define SWIGTYPE_p_f_p_struct__syck_emitter_p_char_long__void swig_types[18]
#define SWIGTYPE_p_f_p_struct__syck_emitter_st_data_t__void swig_types[19]
#define SWIGTYPE_p_f_p_struct__syck_parser_p_char__void swig_types[20]
#define SWIGTYPE_p_f_p_struct__syck_parser_p_struct__syck_node__SYMID swig_types[21]
#define SWIGTYPE_p_p_char swig_types[22]
#define SWIGTYPE_p_st_data_t swig_types[23]
#define SWIGTYPE_p_st_table swig_types[24]
#define SWIGTYPE_p_void swig_types[25]
static swig_type_info *swig_types[27];
static swig_module_info swig_module = {swig_types, 26, 0, 0, 0, 0};
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)

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

#define SWIG_init    boot_YAML__Syck

#define SWIG_name   "YAML::Syck::boot_YAML__Syck"
#define SWIG_prefix "YAML::Syck::"

#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


#include "syck.h"
typedef SV* Perl_Scalar;


typedef union {
        /* Storage for map data */
        struct         {
            enum map_style style;
            SYMID *keys;
            SYMID *values;
            long capa;
            long idx;
        } *pairs;
        /* Storage for sequence data */
        struct         {
            enum seq_style style;
            SYMID *items;
            long capa;
            long idx;
        } *list;
        /* Storage for string data */
        struct         {
            enum scalar_style style;
            char *ptr;
            long len;
        } *str;
    } _syck_node_data;



typedef struct {
            enum scalar_style style;
            char *ptr;
            long len;
        } _syck_node_data_str;



typedef struct {
            enum seq_style style;
            SYMID *items;
            long capa;
            long idx;
        } _syck_node_data_list;



typedef struct {
            enum map_style style;
            SYMID *keys;
            SYMID *values;
            long capa;
            long idx;
        } _syck_node_data_pairs;



typedef union {
        SyckIoFile *file;
        SyckIoStr *str;
    } _syck_parser_io;


#ifdef PERL_OBJECT
#define MAGIC_CLASS _wrap_YAML::Syck_var::
class _wrap_YAML::Syck_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_syck_perl_set_parser_handler) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_perl_set_parser_handler(SyckParser *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_perl_set_parser_handler. Expected _p__syck_parser");
            }
        }
        syck_perl_set_parser_handler(arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_perl_parser_handler) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        SyckNode *arg2 = (SyckNode *) 0 ;
        SYMID result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_perl_parser_handler(SyckParser *,SyckNode *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_perl_parser_handler. Expected _p__syck_parser");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 2 of syck_perl_parser_handler. Expected _p__syck_node");
            }
        }
        result = syck_perl_parser_handler(arg1,arg2);
        
        {
            SYMID * resultobj = (SYMID *) malloc(sizeof(SYMID));
            memmove(resultobj, &result, sizeof(SYMID));
            ST(argvi) = sv_newmortal();
            SWIG_MakePtr(ST(argvi++), (void *) resultobj, SWIGTYPE_p_SYMID, 0|SWIG_OWNER);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_perl_set_emitter_handler) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        Perl_Scalar arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_perl_set_emitter_handler(SyckEmitter *,Perl_Scalar);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_perl_set_emitter_handler. Expected _p__syck_emitter");
            }
        }
        {
            arg2 = (void *)ST(1);
        }
        syck_perl_set_emitter_handler(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_perl_set_output_handler) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        Perl_Scalar arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_perl_set_output_handler(SyckEmitter *,Perl_Scalar);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_perl_set_output_handler. Expected _p__syck_emitter");
            }
        }
        {
            arg2 = (void *)ST(1);
        }
        syck_perl_set_output_handler(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_perl_mark_emitter) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_perl_mark_emitter(SyckEmitter *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_perl_mark_emitter. Expected _p__syck_emitter");
            }
        }
        syck_perl_mark_emitter(arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_perl_lookup_sym) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        SYMID arg2 ;
        Perl_Scalar result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_perl_lookup_sym(SyckParser *,SYMID);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_perl_lookup_sym. Expected _p__syck_parser");
            }
        }
        {
            SYMID * argp;
            if (SWIG_ConvertPtr(ST(1),(void **) &argp, SWIGTYPE_p_SYMID,0) < 0) {
                SWIG_croak("Type error in argument 2 of syck_perl_lookup_sym. Expected _p_SYMID");
            }
            arg2 = *argp;
        }
        result = syck_perl_lookup_sym(arg1,arg2);
        
        {
            ST(argvi) = newSVsv((SV *)result);
            sv_2mortal(ST(argvi));
            argvi++;
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_id_set) {
    {
        struct _syck_node *arg1 = (struct _syck_node *) 0 ;
        SYMID arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_node_id_set(self,id);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_id_set. Expected _p__syck_node");
            }
        }
        {
            SYMID * argp;
            if (SWIG_ConvertPtr(ST(1),(void **) &argp, SWIGTYPE_p_SYMID,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_node_id_set. Expected _p_SYMID");
            }
            arg2 = *argp;
        }
        if (arg1) (arg1)->id = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_id_get) {
    {
        struct _syck_node *arg1 = (struct _syck_node *) 0 ;
        SYMID result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_node_id_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_id_get. Expected _p__syck_node");
            }
        }
        result =  ((arg1)->id);
        
        {
            SYMID * resultobj = (SYMID *) malloc(sizeof(SYMID));
            memmove(resultobj, &result, sizeof(SYMID));
            ST(argvi) = sv_newmortal();
            SWIG_MakePtr(ST(argvi++), (void *) resultobj, SWIGTYPE_p_SYMID, 0|SWIG_OWNER);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_kind_set) {
    {
        struct _syck_node *arg1 = (struct _syck_node *) 0 ;
        enum syck_kind_tag arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_node_kind_set(self,kind);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_kind_set. Expected _p__syck_node");
            }
        }
        arg2 = (enum syck_kind_tag) SvIV(ST(1));
        if (arg1) (arg1)->kind = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_kind_get) {
    {
        struct _syck_node *arg1 = (struct _syck_node *) 0 ;
        enum syck_kind_tag result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_node_kind_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_kind_get. Expected _p__syck_node");
            }
        }
        result = (enum syck_kind_tag) ((arg1)->kind);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


XS(_wrap__syck_node_type_id_get) {
    {
        struct _syck_node *arg1 = (struct _syck_node *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_node_type_id_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_type_id_get. Expected _p__syck_node");
            }
        }
        result = (char *) ((arg1)->type_id);
        
        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__syck_node_anchor_set) {
    {
        struct _syck_node *arg1 = (struct _syck_node *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_node_anchor_set(self,anchor);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_anchor_set. Expected _p__syck_node");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (arg1->anchor) free((char*)arg1->anchor);
            if (arg2) {
                arg1->anchor = (char *) malloc(strlen(arg2)+1);
                strcpy((char*)arg1->anchor,arg2);
            } else {
                arg1->anchor = 0;
            }
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_anchor_get) {
    {
        struct _syck_node *arg1 = (struct _syck_node *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_node_anchor_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_anchor_get. Expected _p__syck_node");
            }
        }
        result = (char *) ((arg1)->anchor);
        
        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__syck_node_shortcut_set) {
    {
        struct _syck_node *arg1 = (struct _syck_node *) 0 ;
        void *arg2 = (void *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_node_shortcut_set(self,shortcut);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_shortcut_set. Expected _p__syck_node");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, 0,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_node_shortcut_set. Expected _p_void");
            }
        }
        if (arg1) (arg1)->shortcut = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_shortcut_get) {
    {
        struct _syck_node *arg1 = (struct _syck_node *) 0 ;
        void *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_node_shortcut_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_shortcut_get. Expected _p__syck_node");
            }
        }
        result = (void *) ((arg1)->shortcut);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_void, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_data_get) {
    {
        struct _syck_node *arg1 = (struct _syck_node *) 0 ;
        _syck_node_data *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_node_data_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_get. Expected _p__syck_node");
            }
        }
        result = (_syck_node_data *)& ((arg1)->data);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_node_data, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


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


XS(_wrap__syck_node_data_str_get) {
    {
        _syck_node_data *arg1 = (_syck_node_data *) 0 ;
        _syck_node_data_str *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_node_data_str_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_str_get. Expected _p__syck_node_data");
            }
        }
        result = (_syck_node_data_str *) ((arg1)->str);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_node_data_str, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_data_list_get) {
    {
        _syck_node_data *arg1 = (_syck_node_data *) 0 ;
        _syck_node_data_list *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_node_data_list_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_list_get. Expected _p__syck_node_data");
            }
        }
        result = (_syck_node_data_list *) ((arg1)->list);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_node_data_list, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_data_pairs_get) {
    {
        _syck_node_data *arg1 = (_syck_node_data *) 0 ;
        _syck_node_data_pairs *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_node_data_pairs_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_pairs_get. Expected _p__syck_node_data");
            }
        }
        result = (_syck_node_data_pairs *) ((arg1)->pairs);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_node_data_pairs, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


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


XS(_wrap__syck_node_data_str_style_set) {
    {
        _syck_node_data_str *arg1 = (_syck_node_data_str *) 0 ;
        enum scalar_style arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_node_data_str_style_set(self,style);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_str,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_str_style_set. Expected _p__syck_node_data_str");
            }
        }
        arg2 = (enum scalar_style) SvIV(ST(1));
        if (arg1) (arg1)->style = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_data_str_style_get) {
    {
        _syck_node_data_str *arg1 = (_syck_node_data_str *) 0 ;
        enum scalar_style result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_node_data_str_style_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_str,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_str_style_get. Expected _p__syck_node_data_str");
            }
        }
        result = (enum scalar_style) ((arg1)->style);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


XS(_wrap__syck_node_data_str_ptr_get) {
    {
        _syck_node_data_str *arg1 = (_syck_node_data_str *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_node_data_str_ptr_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_str,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_str_ptr_get. Expected _p__syck_node_data_str");
            }
        }
        result = (char *) ((arg1)->ptr);
        
        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__syck_node_data_str_len_set) {
    {
        _syck_node_data_str *arg1 = (_syck_node_data_str *) 0 ;
        long arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_node_data_str_len_set(self,len);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_str,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_str_len_set. Expected _p__syck_node_data_str");
            }
        }
        arg2 = (long) SvIV(ST(1));
        if (arg1) (arg1)->len = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_data_str_len_get) {
    {
        _syck_node_data_str *arg1 = (_syck_node_data_str *) 0 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_node_data_str_len_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_str,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_str_len_get. Expected _p__syck_node_data_str");
            }
        }
        result = (long) ((arg1)->len);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


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


XS(_wrap__syck_node_data_list_style_set) {
    {
        _syck_node_data_list *arg1 = (_syck_node_data_list *) 0 ;
        enum seq_style arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_node_data_list_style_set(self,style);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_list,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_list_style_set. Expected _p__syck_node_data_list");
            }
        }
        arg2 = (enum seq_style) SvIV(ST(1));
        if (arg1) (arg1)->style = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_data_list_style_get) {
    {
        _syck_node_data_list *arg1 = (_syck_node_data_list *) 0 ;
        enum seq_style result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_node_data_list_style_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_list,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_list_style_get. Expected _p__syck_node_data_list");
            }
        }
        result = (enum seq_style) ((arg1)->style);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_data_list_items_set) {
    {
        _syck_node_data_list *arg1 = (_syck_node_data_list *) 0 ;
        SYMID *arg2 = (SYMID *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_node_data_list_items_set(self,items);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_list,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_list_items_set. Expected _p__syck_node_data_list");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_SYMID,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_node_data_list_items_set. Expected _p_SYMID");
            }
        }
        if (arg1) (arg1)->items = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_data_list_items_get) {
    {
        _syck_node_data_list *arg1 = (_syck_node_data_list *) 0 ;
        SYMID *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_node_data_list_items_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_list,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_list_items_get. Expected _p__syck_node_data_list");
            }
        }
        result = (SYMID *) ((arg1)->items);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SYMID, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_data_list_capa_set) {
    {
        _syck_node_data_list *arg1 = (_syck_node_data_list *) 0 ;
        long arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_node_data_list_capa_set(self,capa);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_list,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_list_capa_set. Expected _p__syck_node_data_list");
            }
        }
        arg2 = (long) SvIV(ST(1));
        if (arg1) (arg1)->capa = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_data_list_capa_get) {
    {
        _syck_node_data_list *arg1 = (_syck_node_data_list *) 0 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_node_data_list_capa_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_list,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_list_capa_get. Expected _p__syck_node_data_list");
            }
        }
        result = (long) ((arg1)->capa);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_data_list_idx_set) {
    {
        _syck_node_data_list *arg1 = (_syck_node_data_list *) 0 ;
        long arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_node_data_list_idx_set(self,idx);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_list,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_list_idx_set. Expected _p__syck_node_data_list");
            }
        }
        arg2 = (long) SvIV(ST(1));
        if (arg1) (arg1)->idx = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_data_list_idx_get) {
    {
        _syck_node_data_list *arg1 = (_syck_node_data_list *) 0 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_node_data_list_idx_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_list,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_list_idx_get. Expected _p__syck_node_data_list");
            }
        }
        result = (long) ((arg1)->idx);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


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


XS(_wrap__syck_node_data_pairs_style_set) {
    {
        _syck_node_data_pairs *arg1 = (_syck_node_data_pairs *) 0 ;
        enum map_style arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_node_data_pairs_style_set(self,style);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_pairs,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_pairs_style_set. Expected _p__syck_node_data_pairs");
            }
        }
        arg2 = (enum map_style) SvIV(ST(1));
        if (arg1) (arg1)->style = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_data_pairs_style_get) {
    {
        _syck_node_data_pairs *arg1 = (_syck_node_data_pairs *) 0 ;
        enum map_style result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_node_data_pairs_style_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_pairs,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_pairs_style_get. Expected _p__syck_node_data_pairs");
            }
        }
        result = (enum map_style) ((arg1)->style);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_data_pairs_keys_set) {
    {
        _syck_node_data_pairs *arg1 = (_syck_node_data_pairs *) 0 ;
        SYMID *arg2 = (SYMID *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_node_data_pairs_keys_set(self,keys);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_pairs,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_pairs_keys_set. Expected _p__syck_node_data_pairs");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_SYMID,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_node_data_pairs_keys_set. Expected _p_SYMID");
            }
        }
        if (arg1) (arg1)->keys = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_data_pairs_keys_get) {
    {
        _syck_node_data_pairs *arg1 = (_syck_node_data_pairs *) 0 ;
        SYMID *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_node_data_pairs_keys_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_pairs,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_pairs_keys_get. Expected _p__syck_node_data_pairs");
            }
        }
        result = (SYMID *) ((arg1)->keys);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SYMID, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_data_pairs_values_set) {
    {
        _syck_node_data_pairs *arg1 = (_syck_node_data_pairs *) 0 ;
        SYMID *arg2 = (SYMID *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_node_data_pairs_values_set(self,values);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_pairs,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_pairs_values_set. Expected _p__syck_node_data_pairs");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_SYMID,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_node_data_pairs_values_set. Expected _p_SYMID");
            }
        }
        if (arg1) (arg1)->values = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_data_pairs_values_get) {
    {
        _syck_node_data_pairs *arg1 = (_syck_node_data_pairs *) 0 ;
        SYMID *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_node_data_pairs_values_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_pairs,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_pairs_values_get. Expected _p__syck_node_data_pairs");
            }
        }
        result = (SYMID *) ((arg1)->values);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_SYMID, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_data_pairs_capa_set) {
    {
        _syck_node_data_pairs *arg1 = (_syck_node_data_pairs *) 0 ;
        long arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_node_data_pairs_capa_set(self,capa);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_pairs,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_pairs_capa_set. Expected _p__syck_node_data_pairs");
            }
        }
        arg2 = (long) SvIV(ST(1));
        if (arg1) (arg1)->capa = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_data_pairs_capa_get) {
    {
        _syck_node_data_pairs *arg1 = (_syck_node_data_pairs *) 0 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_node_data_pairs_capa_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_pairs,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_pairs_capa_get. Expected _p__syck_node_data_pairs");
            }
        }
        result = (long) ((arg1)->capa);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_data_pairs_idx_set) {
    {
        _syck_node_data_pairs *arg1 = (_syck_node_data_pairs *) 0 ;
        long arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_node_data_pairs_idx_set(self,idx);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_pairs,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_pairs_idx_set. Expected _p__syck_node_data_pairs");
            }
        }
        arg2 = (long) SvIV(ST(1));
        if (arg1) (arg1)->idx = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_node_data_pairs_idx_get) {
    {
        _syck_node_data_pairs *arg1 = (_syck_node_data_pairs *) 0 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_node_data_pairs_idx_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node_data_pairs,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_node_data_pairs_idx_get. Expected _p__syck_node_data_pairs");
            }
        }
        result = (long) ((arg1)->idx);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


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


XS(_wrap__syck_file_ptr_set) {
    {
        struct _syck_file *arg1 = (struct _syck_file *) 0 ;
        FILE *arg2 = (FILE *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_file_ptr_set(self,ptr);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_file,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_file_ptr_set. Expected _p__syck_file");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_FILE,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_file_ptr_set. Expected _p_FILE");
            }
        }
        if (arg1) (arg1)->ptr = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_file_ptr_get) {
    {
        struct _syck_file *arg1 = (struct _syck_file *) 0 ;
        FILE *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_file_ptr_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_file,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_file_ptr_get. Expected _p__syck_file");
            }
        }
        result = (FILE *) ((arg1)->ptr);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_FILE, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_file_read_set) {
    {
        struct _syck_file *arg1 = (struct _syck_file *) 0 ;
        SyckIoFileRead arg2 = (SyckIoFileRead) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_file_read_set(self,read);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_file,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_file_read_set. Expected _p__syck_file");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_char_p_struct__syck_file_long_long__long,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_file_read_set. Expected _p_f_p_char_p_struct__syck_file_long_long__long");
            }
        }
        if (arg1) (arg1)->read = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_file_read_get) {
    {
        struct _syck_file *arg1 = (struct _syck_file *) 0 ;
        SyckIoFileRead result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_file_read_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_file,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_file_read_get. Expected _p__syck_file");
            }
        }
        result = (SyckIoFileRead) ((arg1)->read);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_char_p_struct__syck_file_long_long__long, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


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


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


XS(_wrap__syck_str_beg_get) {
    {
        struct _syck_str *arg1 = (struct _syck_str *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_str_beg_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_str,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_str_beg_get. Expected _p__syck_str");
            }
        }
        result = (char *) ((arg1)->beg);
        
        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__syck_str_ptr_set) {
    {
        struct _syck_str *arg1 = (struct _syck_str *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_str_ptr_set(self,ptr);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_str,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_str_ptr_set. Expected _p__syck_str");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (arg1->ptr) free((char*)arg1->ptr);
            if (arg2) {
                arg1->ptr = (char *) malloc(strlen(arg2)+1);
                strcpy((char*)arg1->ptr,arg2);
            } else {
                arg1->ptr = 0;
            }
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_str_ptr_get) {
    {
        struct _syck_str *arg1 = (struct _syck_str *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_str_ptr_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_str,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_str_ptr_get. Expected _p__syck_str");
            }
        }
        result = (char *) ((arg1)->ptr);
        
        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__syck_str_end_set) {
    {
        struct _syck_str *arg1 = (struct _syck_str *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_str_end_set(self,end);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_str,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_str_end_set. Expected _p__syck_str");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (arg1->end) free((char*)arg1->end);
            if (arg2) {
                arg1->end = (char *) malloc(strlen(arg2)+1);
                strcpy((char*)arg1->end,arg2);
            } else {
                arg1->end = 0;
            }
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_str_end_get) {
    {
        struct _syck_str *arg1 = (struct _syck_str *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_str_end_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_str,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_str_end_get. Expected _p__syck_str");
            }
        }
        result = (char *) ((arg1)->end);
        
        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__syck_str_read_set) {
    {
        struct _syck_str *arg1 = (struct _syck_str *) 0 ;
        SyckIoStrRead arg2 = (SyckIoStrRead) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_str_read_set(self,read);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_str,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_str_read_set. Expected _p__syck_str");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_char_p_struct__syck_str_long_long__long,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_str_read_set. Expected _p_f_p_char_p_struct__syck_str_long_long__long");
            }
        }
        if (arg1) (arg1)->read = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_str_read_get) {
    {
        struct _syck_str *arg1 = (struct _syck_str *) 0 ;
        SyckIoStrRead result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_str_read_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_str,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_str_read_get. Expected _p__syck_str");
            }
        }
        result = (SyckIoStrRead) ((arg1)->read);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_char_p_struct__syck_str_long_long__long, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


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


XS(_wrap__syck_level_spaces_set) {
    {
        struct _syck_level *arg1 = (struct _syck_level *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_level_spaces_set(self,spaces);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_level,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_level_spaces_set. Expected _p__syck_level");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->spaces = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_level_spaces_get) {
    {
        struct _syck_level *arg1 = (struct _syck_level *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_level_spaces_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_level,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_level_spaces_get. Expected _p__syck_level");
            }
        }
        result = (int) ((arg1)->spaces);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_level_ncount_set) {
    {
        struct _syck_level *arg1 = (struct _syck_level *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_level_ncount_set(self,ncount);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_level,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_level_ncount_set. Expected _p__syck_level");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->ncount = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_level_ncount_get) {
    {
        struct _syck_level *arg1 = (struct _syck_level *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_level_ncount_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_level,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_level_ncount_get. Expected _p__syck_level");
            }
        }
        result = (int) ((arg1)->ncount);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_level_anctag_set) {
    {
        struct _syck_level *arg1 = (struct _syck_level *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_level_anctag_set(self,anctag);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_level,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_level_anctag_set. Expected _p__syck_level");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->anctag = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_level_anctag_get) {
    {
        struct _syck_level *arg1 = (struct _syck_level *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_level_anctag_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_level,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_level_anctag_get. Expected _p__syck_level");
            }
        }
        result = (int) ((arg1)->anctag);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


XS(_wrap__syck_level_domain_get) {
    {
        struct _syck_level *arg1 = (struct _syck_level *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_level_domain_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_level,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_level_domain_get. Expected _p__syck_level");
            }
        }
        result = (char *) ((arg1)->domain);
        
        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__syck_level_status_set) {
    {
        struct _syck_level *arg1 = (struct _syck_level *) 0 ;
        enum syck_level_status arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_level_status_set(self,status);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_level,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_level_status_set. Expected _p__syck_level");
            }
        }
        arg2 = (enum syck_level_status) SvIV(ST(1));
        if (arg1) (arg1)->status = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_level_status_get) {
    {
        struct _syck_level *arg1 = (struct _syck_level *) 0 ;
        enum syck_level_status result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_level_status_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_level,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_level_status_get. Expected _p__syck_level");
            }
        }
        result = (enum syck_level_status) ((arg1)->status);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


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


XS(_wrap__syck_parser_root_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        SYMID arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_root_set(self,root);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_root_set. Expected _p__syck_parser");
            }
        }
        {
            SYMID * argp;
            if (SWIG_ConvertPtr(ST(1),(void **) &argp, SWIGTYPE_p_SYMID,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_parser_root_set. Expected _p_SYMID");
            }
            arg2 = *argp;
        }
        if (arg1) (arg1)->root = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_root_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        SYMID result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_root_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_root_get. Expected _p__syck_parser");
            }
        }
        result =  ((arg1)->root);
        
        {
            SYMID * resultobj = (SYMID *) malloc(sizeof(SYMID));
            memmove(resultobj, &result, sizeof(SYMID));
            ST(argvi) = sv_newmortal();
            SWIG_MakePtr(ST(argvi++), (void *) resultobj, SWIGTYPE_p_SYMID, 0|SWIG_OWNER);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_root_on_error_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        SYMID arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_root_on_error_set(self,root_on_error);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_root_on_error_set. Expected _p__syck_parser");
            }
        }
        {
            SYMID * argp;
            if (SWIG_ConvertPtr(ST(1),(void **) &argp, SWIGTYPE_p_SYMID,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_parser_root_on_error_set. Expected _p_SYMID");
            }
            arg2 = *argp;
        }
        if (arg1) (arg1)->root_on_error = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_root_on_error_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        SYMID result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_root_on_error_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_root_on_error_get. Expected _p__syck_parser");
            }
        }
        result =  ((arg1)->root_on_error);
        
        {
            SYMID * resultobj = (SYMID *) malloc(sizeof(SYMID));
            memmove(resultobj, &result, sizeof(SYMID));
            ST(argvi) = sv_newmortal();
            SWIG_MakePtr(ST(argvi++), (void *) resultobj, SWIGTYPE_p_SYMID, 0|SWIG_OWNER);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_implicit_typing_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_implicit_typing_set(self,implicit_typing);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_implicit_typing_set. Expected _p__syck_parser");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->implicit_typing = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_implicit_typing_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_implicit_typing_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_implicit_typing_get. Expected _p__syck_parser");
            }
        }
        result = (int) ((arg1)->implicit_typing);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_taguri_expansion_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_taguri_expansion_set(self,taguri_expansion);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_taguri_expansion_set. Expected _p__syck_parser");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->taguri_expansion = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_taguri_expansion_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_taguri_expansion_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_taguri_expansion_get. Expected _p__syck_parser");
            }
        }
        result = (int) ((arg1)->taguri_expansion);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_handler_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        SyckNodeHandler arg2 = (SyckNodeHandler) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_handler_set(self,handler);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_handler_set. Expected _p__syck_parser");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_struct__syck_parser_p_struct__syck_node__SYMID,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_parser_handler_set. Expected _p_f_p_struct__syck_parser_p_struct__syck_node__SYMID");
            }
        }
        if (arg1) (arg1)->handler = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_handler_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        SyckNodeHandler result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_handler_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_handler_get. Expected _p__syck_parser");
            }
        }
        result = (SyckNodeHandler) ((arg1)->handler);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_struct__syck_parser_p_struct__syck_node__SYMID, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_error_handler_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        SyckErrorHandler arg2 = (SyckErrorHandler) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_error_handler_set(self,error_handler);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_error_handler_set. Expected _p__syck_parser");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_struct__syck_parser_p_char__void,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_parser_error_handler_set. Expected _p_f_p_struct__syck_parser_p_char__void");
            }
        }
        if (arg1) (arg1)->error_handler = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_error_handler_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        SyckErrorHandler result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_error_handler_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_error_handler_get. Expected _p__syck_parser");
            }
        }
        result = (SyckErrorHandler) ((arg1)->error_handler);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_struct__syck_parser_p_char__void, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_bad_anchor_handler_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        SyckBadAnchorHandler arg2 = (SyckBadAnchorHandler) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_bad_anchor_handler_set(self,bad_anchor_handler);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_bad_anchor_handler_set. Expected _p__syck_parser");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_SyckParser_p_char__p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_parser_bad_anchor_handler_set. Expected _p_f_p_SyckParser_p_char__p__syck_node");
            }
        }
        if (arg1) (arg1)->bad_anchor_handler = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_bad_anchor_handler_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        SyckBadAnchorHandler result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_bad_anchor_handler_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_bad_anchor_handler_get. Expected _p__syck_parser");
            }
        }
        result = (SyckBadAnchorHandler) ((arg1)->bad_anchor_handler);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_SyckParser_p_char__p__syck_node, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_input_type_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        enum syck_parser_input arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_input_type_set(self,input_type);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_input_type_set. Expected _p__syck_parser");
            }
        }
        arg2 = (enum syck_parser_input) SvIV(ST(1));
        if (arg1) (arg1)->input_type = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_input_type_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        enum syck_parser_input result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_input_type_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_input_type_get. Expected _p__syck_parser");
            }
        }
        result = (enum syck_parser_input) ((arg1)->input_type);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_io_type_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        enum syck_io_type arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_io_type_set(self,io_type);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_io_type_set. Expected _p__syck_parser");
            }
        }
        arg2 = (enum syck_io_type) SvIV(ST(1));
        if (arg1) (arg1)->io_type = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_io_type_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        enum syck_io_type result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_io_type_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_io_type_get. Expected _p__syck_parser");
            }
        }
        result = (enum syck_io_type) ((arg1)->io_type);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_bufsize_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        size_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_bufsize_set(self,bufsize);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_bufsize_set. Expected _p__syck_parser");
            }
        }
        arg2 = (size_t) SvUV(ST(1));
        if (arg1) (arg1)->bufsize = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_bufsize_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        size_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_bufsize_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_bufsize_get. Expected _p__syck_parser");
            }
        }
        result =  ((arg1)->bufsize);
        
        ST(argvi) = sv_newmortal();
        sv_setuv(ST(argvi++), (UV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


XS(_wrap__syck_parser_buffer_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_buffer_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_buffer_get. Expected _p__syck_parser");
            }
        }
        result = (char *) ((arg1)->buffer);
        
        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__syck_parser_linectptr_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_linectptr_set(self,linectptr);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_linectptr_set. Expected _p__syck_parser");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (arg1->linectptr) free((char*)arg1->linectptr);
            if (arg2) {
                arg1->linectptr = (char *) malloc(strlen(arg2)+1);
                strcpy((char*)arg1->linectptr,arg2);
            } else {
                arg1->linectptr = 0;
            }
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_linectptr_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_linectptr_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_linectptr_get. Expected _p__syck_parser");
            }
        }
        result = (char *) ((arg1)->linectptr);
        
        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__syck_parser_lineptr_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_lineptr_set(self,lineptr);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_lineptr_set. Expected _p__syck_parser");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (arg1->lineptr) free((char*)arg1->lineptr);
            if (arg2) {
                arg1->lineptr = (char *) malloc(strlen(arg2)+1);
                strcpy((char*)arg1->lineptr,arg2);
            } else {
                arg1->lineptr = 0;
            }
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_lineptr_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_lineptr_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_lineptr_get. Expected _p__syck_parser");
            }
        }
        result = (char *) ((arg1)->lineptr);
        
        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__syck_parser_toktmp_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_toktmp_set(self,toktmp);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_toktmp_set. Expected _p__syck_parser");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (arg1->toktmp) free((char*)arg1->toktmp);
            if (arg2) {
                arg1->toktmp = (char *) malloc(strlen(arg2)+1);
                strcpy((char*)arg1->toktmp,arg2);
            } else {
                arg1->toktmp = 0;
            }
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_toktmp_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_toktmp_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_toktmp_get. Expected _p__syck_parser");
            }
        }
        result = (char *) ((arg1)->toktmp);
        
        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__syck_parser_token_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_token_set(self,token);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_token_set. Expected _p__syck_parser");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (arg1->token) free((char*)arg1->token);
            if (arg2) {
                arg1->token = (char *) malloc(strlen(arg2)+1);
                strcpy((char*)arg1->token,arg2);
            } else {
                arg1->token = 0;
            }
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_token_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_token_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_token_get. Expected _p__syck_parser");
            }
        }
        result = (char *) ((arg1)->token);
        
        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__syck_parser_cursor_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_cursor_set(self,cursor);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_cursor_set. Expected _p__syck_parser");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (arg1->cursor) free((char*)arg1->cursor);
            if (arg2) {
                arg1->cursor = (char *) malloc(strlen(arg2)+1);
                strcpy((char*)arg1->cursor,arg2);
            } else {
                arg1->cursor = 0;
            }
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_cursor_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_cursor_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_cursor_get. Expected _p__syck_parser");
            }
        }
        result = (char *) ((arg1)->cursor);
        
        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__syck_parser_marker_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_marker_set(self,marker);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_marker_set. Expected _p__syck_parser");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (arg1->marker) free((char*)arg1->marker);
            if (arg2) {
                arg1->marker = (char *) malloc(strlen(arg2)+1);
                strcpy((char*)arg1->marker,arg2);
            } else {
                arg1->marker = 0;
            }
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_marker_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_marker_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_marker_get. Expected _p__syck_parser");
            }
        }
        result = (char *) ((arg1)->marker);
        
        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__syck_parser_limit_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_limit_set(self,limit);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_limit_set. Expected _p__syck_parser");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (arg1->limit) free((char*)arg1->limit);
            if (arg2) {
                arg1->limit = (char *) malloc(strlen(arg2)+1);
                strcpy((char*)arg1->limit,arg2);
            } else {
                arg1->limit = 0;
            }
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_limit_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_limit_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_limit_get. Expected _p__syck_parser");
            }
        }
        result = (char *) ((arg1)->limit);
        
        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__syck_parser_linect_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_linect_set(self,linect);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_linect_set. Expected _p__syck_parser");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->linect = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_linect_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_linect_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_linect_get. Expected _p__syck_parser");
            }
        }
        result = (int) ((arg1)->linect);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_last_token_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_last_token_set(self,last_token);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_last_token_set. Expected _p__syck_parser");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->last_token = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_last_token_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_last_token_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_last_token_get. Expected _p__syck_parser");
            }
        }
        result = (int) ((arg1)->last_token);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_force_token_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_force_token_set(self,force_token);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_force_token_set. Expected _p__syck_parser");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->force_token = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_force_token_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_force_token_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_force_token_get. Expected _p__syck_parser");
            }
        }
        result = (int) ((arg1)->force_token);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_eof_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_eof_set(self,eof);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_eof_set. Expected _p__syck_parser");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->eof = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_eof_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_eof_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_eof_get. Expected _p__syck_parser");
            }
        }
        result = (int) ((arg1)->eof);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_anchors_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        st_table *arg2 = (st_table *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_anchors_set(self,anchors);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_anchors_set. Expected _p__syck_parser");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_st_table,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_parser_anchors_set. Expected _p_st_table");
            }
        }
        if (arg1) (arg1)->anchors = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_anchors_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        st_table *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_anchors_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_anchors_get. Expected _p__syck_parser");
            }
        }
        result = (st_table *) ((arg1)->anchors);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_st_table, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_bad_anchors_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        st_table *arg2 = (st_table *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_bad_anchors_set(self,bad_anchors);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_bad_anchors_set. Expected _p__syck_parser");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_st_table,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_parser_bad_anchors_set. Expected _p_st_table");
            }
        }
        if (arg1) (arg1)->bad_anchors = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_bad_anchors_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        st_table *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_bad_anchors_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_bad_anchors_get. Expected _p__syck_parser");
            }
        }
        result = (st_table *) ((arg1)->bad_anchors);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_st_table, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_syms_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        st_table *arg2 = (st_table *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_syms_set(self,syms);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_syms_set. Expected _p__syck_parser");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_st_table,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_parser_syms_set. Expected _p_st_table");
            }
        }
        if (arg1) (arg1)->syms = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_syms_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        st_table *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_syms_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_syms_get. Expected _p__syck_parser");
            }
        }
        result = (st_table *) ((arg1)->syms);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_st_table, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_levels_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        SyckLevel *arg2 = (SyckLevel *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_levels_set(self,levels);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_levels_set. Expected _p__syck_parser");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p__syck_level,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_parser_levels_set. Expected _p__syck_level");
            }
        }
        if (arg1) (arg1)->levels = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_levels_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        SyckLevel *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_levels_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_levels_get. Expected _p__syck_parser");
            }
        }
        result = (SyckLevel *) ((arg1)->levels);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_level, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_lvl_idx_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_lvl_idx_set(self,lvl_idx);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_lvl_idx_set. Expected _p__syck_parser");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->lvl_idx = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_lvl_idx_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_lvl_idx_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_lvl_idx_get. Expected _p__syck_parser");
            }
        }
        result = (int) ((arg1)->lvl_idx);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_lvl_capa_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_lvl_capa_set(self,lvl_capa);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_lvl_capa_set. Expected _p__syck_parser");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->lvl_capa = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_lvl_capa_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_lvl_capa_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_lvl_capa_get. Expected _p__syck_parser");
            }
        }
        result = (int) ((arg1)->lvl_capa);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_bonus_set) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        void *arg2 = (void *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_bonus_set(self,bonus);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_bonus_set. Expected _p__syck_parser");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, 0,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_parser_bonus_set. Expected _p_void");
            }
        }
        if (arg1) (arg1)->bonus = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_bonus_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        void *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_bonus_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_bonus_get. Expected _p__syck_parser");
            }
        }
        result = (void *) ((arg1)->bonus);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_void, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_io_get) {
    {
        struct _syck_parser *arg1 = (struct _syck_parser *) 0 ;
        _syck_parser_io *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_io_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_io_get. Expected _p__syck_parser");
            }
        }
        result = (_syck_parser_io *)& ((arg1)->io);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_parser_io, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


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


XS(_wrap__syck_parser_io_file_set) {
    {
        _syck_parser_io *arg1 = (_syck_parser_io *) 0 ;
        SyckIoFile *arg2 = (SyckIoFile *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_io_file_set(self,file);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser_io,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_io_file_set. Expected _p__syck_parser_io");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p__syck_file,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_parser_io_file_set. Expected _p__syck_file");
            }
        }
        if (arg1) (arg1)->file = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_io_file_get) {
    {
        _syck_parser_io *arg1 = (_syck_parser_io *) 0 ;
        SyckIoFile *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_io_file_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser_io,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_io_file_get. Expected _p__syck_parser_io");
            }
        }
        result = (SyckIoFile *) ((arg1)->file);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_file, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_io_str_set) {
    {
        _syck_parser_io *arg1 = (_syck_parser_io *) 0 ;
        SyckIoStr *arg2 = (SyckIoStr *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_parser_io_str_set(self,str);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser_io,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_io_str_set. Expected _p__syck_parser_io");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p__syck_str,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_parser_io_str_set. Expected _p__syck_str");
            }
        }
        if (arg1) (arg1)->str = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_parser_io_str_get) {
    {
        _syck_parser_io *arg1 = (_syck_parser_io *) 0 ;
        SyckIoStr *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_parser_io_str_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser_io,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_parser_io_str_get. Expected _p__syck_parser_io");
            }
        }
        result = (SyckIoStr *) ((arg1)->str);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_str, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


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


XS(_wrap__syck_emitter_headless_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_headless_set(self,headless);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_headless_set. Expected _p__syck_emitter");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->headless = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_headless_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_headless_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_headless_get. Expected _p__syck_emitter");
            }
        }
        result = (int) ((arg1)->headless);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_use_header_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_use_header_set(self,use_header);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_use_header_set. Expected _p__syck_emitter");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->use_header = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_use_header_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_use_header_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_use_header_get. Expected _p__syck_emitter");
            }
        }
        result = (int) ((arg1)->use_header);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_use_version_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_use_version_set(self,use_version);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_use_version_set. Expected _p__syck_emitter");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->use_version = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_use_version_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_use_version_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_use_version_get. Expected _p__syck_emitter");
            }
        }
        result = (int) ((arg1)->use_version);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_sort_keys_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_sort_keys_set(self,sort_keys);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_sort_keys_set. Expected _p__syck_emitter");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->sort_keys = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_sort_keys_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_sort_keys_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_sort_keys_get. Expected _p__syck_emitter");
            }
        }
        result = (int) ((arg1)->sort_keys);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


XS(_wrap__syck_emitter_anchor_format_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_anchor_format_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_anchor_format_get. Expected _p__syck_emitter");
            }
        }
        result = (char *) ((arg1)->anchor_format);
        
        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__syck_emitter_explicit_typing_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_explicit_typing_set(self,explicit_typing);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_explicit_typing_set. Expected _p__syck_emitter");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->explicit_typing = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_explicit_typing_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_explicit_typing_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_explicit_typing_get. Expected _p__syck_emitter");
            }
        }
        result = (int) ((arg1)->explicit_typing);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_best_width_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_best_width_set(self,best_width);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_best_width_set. Expected _p__syck_emitter");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->best_width = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_best_width_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_best_width_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_best_width_get. Expected _p__syck_emitter");
            }
        }
        result = (int) ((arg1)->best_width);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_style_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        enum scalar_style arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_style_set(self,style);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_style_set. Expected _p__syck_emitter");
            }
        }
        arg2 = (enum scalar_style) SvIV(ST(1));
        if (arg1) (arg1)->style = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_style_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        enum scalar_style result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_style_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_style_get. Expected _p__syck_emitter");
            }
        }
        result = (enum scalar_style) ((arg1)->style);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_stage_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        enum doc_stage arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_stage_set(self,stage);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_stage_set. Expected _p__syck_emitter");
            }
        }
        arg2 = (enum doc_stage) SvIV(ST(1));
        if (arg1) (arg1)->stage = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_stage_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        enum doc_stage result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_stage_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_stage_get. Expected _p__syck_emitter");
            }
        }
        result = (enum doc_stage) ((arg1)->stage);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_level_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_level_set(self,level);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_level_set. Expected _p__syck_emitter");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->level = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_level_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_level_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_level_get. Expected _p__syck_emitter");
            }
        }
        result = (int) ((arg1)->level);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_indent_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_indent_set(self,indent);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_indent_set. Expected _p__syck_emitter");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->indent = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_indent_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_indent_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_indent_get. Expected _p__syck_emitter");
            }
        }
        result = (int) ((arg1)->indent);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_ignore_id_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        SYMID arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_ignore_id_set(self,ignore_id);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_ignore_id_set. Expected _p__syck_emitter");
            }
        }
        {
            SYMID * argp;
            if (SWIG_ConvertPtr(ST(1),(void **) &argp, SWIGTYPE_p_SYMID,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_emitter_ignore_id_set. Expected _p_SYMID");
            }
            arg2 = *argp;
        }
        if (arg1) (arg1)->ignore_id = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_ignore_id_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        SYMID result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_ignore_id_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_ignore_id_get. Expected _p__syck_emitter");
            }
        }
        result =  ((arg1)->ignore_id);
        
        {
            SYMID * resultobj = (SYMID *) malloc(sizeof(SYMID));
            memmove(resultobj, &result, sizeof(SYMID));
            ST(argvi) = sv_newmortal();
            SWIG_MakePtr(ST(argvi++), (void *) resultobj, SWIGTYPE_p_SYMID, 0|SWIG_OWNER);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_markers_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        st_table *arg2 = (st_table *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_markers_set(self,markers);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_markers_set. Expected _p__syck_emitter");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_st_table,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_emitter_markers_set. Expected _p_st_table");
            }
        }
        if (arg1) (arg1)->markers = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_markers_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        st_table *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_markers_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_markers_get. Expected _p__syck_emitter");
            }
        }
        result = (st_table *) ((arg1)->markers);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_st_table, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_anchors_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        st_table *arg2 = (st_table *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_anchors_set(self,anchors);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_anchors_set. Expected _p__syck_emitter");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_st_table,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_emitter_anchors_set. Expected _p_st_table");
            }
        }
        if (arg1) (arg1)->anchors = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_anchors_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        st_table *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_anchors_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_anchors_get. Expected _p__syck_emitter");
            }
        }
        result = (st_table *) ((arg1)->anchors);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_st_table, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_anchored_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        st_table *arg2 = (st_table *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_anchored_set(self,anchored);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_anchored_set. Expected _p__syck_emitter");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_st_table,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_emitter_anchored_set. Expected _p_st_table");
            }
        }
        if (arg1) (arg1)->anchored = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_anchored_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        st_table *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_anchored_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_anchored_get. Expected _p__syck_emitter");
            }
        }
        result = (st_table *) ((arg1)->anchored);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_st_table, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_bufsize_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        size_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_bufsize_set(self,bufsize);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_bufsize_set. Expected _p__syck_emitter");
            }
        }
        arg2 = (size_t) SvUV(ST(1));
        if (arg1) (arg1)->bufsize = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_bufsize_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        size_t result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_bufsize_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_bufsize_get. Expected _p__syck_emitter");
            }
        }
        result =  ((arg1)->bufsize);
        
        ST(argvi) = sv_newmortal();
        sv_setuv(ST(argvi++), (UV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


XS(_wrap__syck_emitter_buffer_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_buffer_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_buffer_get. Expected _p__syck_emitter");
            }
        }
        result = (char *) ((arg1)->buffer);
        
        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__syck_emitter_marker_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        char *arg2 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_marker_set(self,marker);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_marker_set. Expected _p__syck_emitter");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (arg1->marker) free((char*)arg1->marker);
            if (arg2) {
                arg1->marker = (char *) malloc(strlen(arg2)+1);
                strcpy((char*)arg1->marker,arg2);
            } else {
                arg1->marker = 0;
            }
        }
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_marker_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_marker_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_marker_get. Expected _p__syck_emitter");
            }
        }
        result = (char *) ((arg1)->marker);
        
        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__syck_emitter_bufpos_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        long arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_bufpos_set(self,bufpos);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_bufpos_set. Expected _p__syck_emitter");
            }
        }
        arg2 = (long) SvIV(ST(1));
        if (arg1) (arg1)->bufpos = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_bufpos_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_bufpos_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_bufpos_get. Expected _p__syck_emitter");
            }
        }
        result = (long) ((arg1)->bufpos);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_emitter_handler_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        SyckEmitterHandler arg2 = (SyckEmitterHandler) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_emitter_handler_set(self,emitter_handler);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_emitter_handler_set. Expected _p__syck_emitter");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_struct__syck_emitter_st_data_t__void,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_emitter_emitter_handler_set. Expected _p_f_p_struct__syck_emitter_st_data_t__void");
            }
        }
        if (arg1) (arg1)->emitter_handler = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_emitter_handler_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        SyckEmitterHandler result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_emitter_handler_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_emitter_handler_get. Expected _p__syck_emitter");
            }
        }
        result = (SyckEmitterHandler) ((arg1)->emitter_handler);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_struct__syck_emitter_st_data_t__void, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_output_handler_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        SyckOutputHandler arg2 = (SyckOutputHandler) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_output_handler_set(self,output_handler);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_output_handler_set. Expected _p__syck_emitter");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_struct__syck_emitter_p_char_long__void,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_emitter_output_handler_set. Expected _p_f_p_struct__syck_emitter_p_char_long__void");
            }
        }
        if (arg1) (arg1)->output_handler = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_output_handler_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        SyckOutputHandler result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_output_handler_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_output_handler_get. Expected _p__syck_emitter");
            }
        }
        result = (SyckOutputHandler) ((arg1)->output_handler);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_f_p_struct__syck_emitter_p_char_long__void, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_levels_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        SyckLevel *arg2 = (SyckLevel *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_levels_set(self,levels);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_levels_set. Expected _p__syck_emitter");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p__syck_level,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_emitter_levels_set. Expected _p__syck_level");
            }
        }
        if (arg1) (arg1)->levels = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_levels_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        SyckLevel *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_levels_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_levels_get. Expected _p__syck_emitter");
            }
        }
        result = (SyckLevel *) ((arg1)->levels);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_level, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_lvl_idx_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_lvl_idx_set(self,lvl_idx);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_lvl_idx_set. Expected _p__syck_emitter");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->lvl_idx = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_lvl_idx_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_lvl_idx_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_lvl_idx_get. Expected _p__syck_emitter");
            }
        }
        result = (int) ((arg1)->lvl_idx);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_lvl_capa_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_lvl_capa_set(self,lvl_capa);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_lvl_capa_set. Expected _p__syck_emitter");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->lvl_capa = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_lvl_capa_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_lvl_capa_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_lvl_capa_get. Expected _p__syck_emitter");
            }
        }
        result = (int) ((arg1)->lvl_capa);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_bonus_set) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        void *arg2 = (void *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_bonus_set(self,bonus);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_bonus_set. Expected _p__syck_emitter");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, 0,0) < 0) {
                SWIG_croak("Type error in argument 2 of _syck_emitter_bonus_set. Expected _p_void");
            }
        }
        if (arg1) (arg1)->bonus = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_bonus_get) {
    {
        struct _syck_emitter *arg1 = (struct _syck_emitter *) 0 ;
        void *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_bonus_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_bonus_get. Expected _p__syck_emitter");
            }
        }
        result = (void *) ((arg1)->bonus);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p_void, 0|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


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


XS(_wrap__syck_emitter_node_pos_set) {
    {
        struct _syck_emitter_node *arg1 = (struct _syck_emitter_node *) 0 ;
        long arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_node_pos_set(self,pos);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_node_pos_set. Expected _p__syck_emitter_node");
            }
        }
        arg2 = (long) SvIV(ST(1));
        if (arg1) (arg1)->pos = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_node_pos_get) {
    {
        struct _syck_emitter_node *arg1 = (struct _syck_emitter_node *) 0 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_node_pos_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_node_pos_get. Expected _p__syck_emitter_node");
            }
        }
        result = (long) ((arg1)->pos);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_node_indent_set) {
    {
        struct _syck_emitter_node *arg1 = (struct _syck_emitter_node *) 0 ;
        long arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_node_indent_set(self,indent);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_node_indent_set. Expected _p__syck_emitter_node");
            }
        }
        arg2 = (long) SvIV(ST(1));
        if (arg1) (arg1)->indent = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_node_indent_get) {
    {
        struct _syck_emitter_node *arg1 = (struct _syck_emitter_node *) 0 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_node_indent_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_node_indent_get. Expected _p__syck_emitter_node");
            }
        }
        result = (long) ((arg1)->indent);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_node_is_shortcut_set) {
    {
        struct _syck_emitter_node *arg1 = (struct _syck_emitter_node *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: _syck_emitter_node_is_shortcut_set(self,is_shortcut);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_node_is_shortcut_set. Expected _p__syck_emitter_node");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (arg1) (arg1)->is_shortcut = arg2;
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap__syck_emitter_node_is_shortcut_get) {
    {
        struct _syck_emitter_node *arg1 = (struct _syck_emitter_node *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: _syck_emitter_node_is_shortcut_get(self);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of _syck_emitter_node_is_shortcut_get. Expected _p__syck_emitter_node");
            }
        }
        result = (int) ((arg1)->is_shortcut);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


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


XS(_wrap_syck_hdlr_add_node) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        SyckNode *arg2 = (SyckNode *) 0 ;
        SYMID result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_hdlr_add_node(SyckParser *,SyckNode *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_hdlr_add_node. Expected _p__syck_parser");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 2 of syck_hdlr_add_node. Expected _p__syck_node");
            }
        }
        result = syck_hdlr_add_node(arg1,arg2);
        
        {
            SYMID * resultobj = (SYMID *) malloc(sizeof(SYMID));
            memmove(resultobj, &result, sizeof(SYMID));
            ST(argvi) = sv_newmortal();
            SWIG_MakePtr(ST(argvi++), (void *) resultobj, SWIGTYPE_p_SYMID, 0|SWIG_OWNER);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_hdlr_add_anchor) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        char *arg2 = (char *) 0 ;
        SyckNode *arg3 = (SyckNode *) 0 ;
        SyckNode *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: syck_hdlr_add_anchor(SyckParser *,char *,SyckNode *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_hdlr_add_anchor. Expected _p__syck_parser");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 3 of syck_hdlr_add_anchor. Expected _p__syck_node");
            }
        }
        result = (SyckNode *)syck_hdlr_add_anchor(arg1,arg2,arg3);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_node, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


XS(_wrap_syck_hdlr_get_anchor) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        char *arg2 = (char *) 0 ;
        SyckNode *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_hdlr_get_anchor(SyckParser *,char *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_hdlr_get_anchor. Expected _p__syck_parser");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        result = (SyckNode *)syck_hdlr_get_anchor(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_node, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_add_transfer) {
    {
        char *arg1 = (char *) 0 ;
        SyckNode *arg2 = (SyckNode *) 0 ;
        int arg3 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: syck_add_transfer(char *,SyckNode *,int);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 2 of syck_add_transfer. Expected _p__syck_node");
            }
        }
        arg3 = (int) SvIV(ST(2));
        syck_add_transfer(arg1,arg2,arg3);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_xprivate) {
    {
        char *arg1 = (char *) 0 ;
        int arg2 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_xprivate(char *,int);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        arg2 = (int) SvIV(ST(1));
        result = (char *)syck_xprivate(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_syck_taguri) {
    {
        char *arg1 = (char *) 0 ;
        char *arg2 = (char *) 0 ;
        int arg3 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: syck_taguri(char *,char *,int);");
        }
        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);
        arg3 = (int) SvIV(ST(2));
        result = (char *)syck_taguri(arg1,arg2,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_syck_tagcmp) {
    {
        char *arg1 = (char *) 0 ;
        char *arg2 = (char *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_tagcmp(char *,char *);");
        }
        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);
        result = (int)syck_tagcmp(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_add_sym) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        char *arg2 = (char *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_add_sym(SyckParser *,char *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_add_sym. Expected _p__syck_parser");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        result = (int)syck_add_sym(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_lookup_sym) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        SYMID arg2 ;
        char **arg3 = (char **) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: syck_lookup_sym(SyckParser *,SYMID,char **);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_lookup_sym. Expected _p__syck_parser");
            }
        }
        {
            SYMID * argp;
            if (SWIG_ConvertPtr(ST(1),(void **) &argp, SWIGTYPE_p_SYMID,0) < 0) {
                SWIG_croak("Type error in argument 2 of syck_lookup_sym. Expected _p_SYMID");
            }
            arg2 = *argp;
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_p_char,0) < 0) {
                SWIG_croak("Type error in argument 3 of syck_lookup_sym. Expected _p_p_char");
            }
        }
        result = (int)syck_lookup_sym(arg1,arg2,arg3);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_try_implicit) {
    {
        SyckNode *arg1 = (SyckNode *) 0 ;
        int result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_try_implicit(SyckNode *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_try_implicit. Expected _p__syck_node");
            }
        }
        result = (int)syck_try_implicit(arg1);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_type_id_to_uri) {
    {
        char *arg1 = (char *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_type_id_to_uri(char *);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        result = (char *)syck_type_id_to_uri(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_try_tag_implicit) {
    {
        SyckNode *arg1 = (SyckNode *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: try_tag_implicit(SyckNode *,int);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of try_tag_implicit. Expected _p__syck_node");
            }
        }
        arg2 = (int) SvIV(ST(1));
        try_tag_implicit(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_match_implicit) {
    {
        char *arg1 = (char *) 0 ;
        size_t arg2 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_match_implicit(char *,size_t);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        arg2 = (size_t) SvUV(ST(1));
        result = (char *)syck_match_implicit(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_syck_strndup) {
    {
        char *arg1 = (char *) 0 ;
        long arg2 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_strndup(char *,long);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        arg2 = (long) SvIV(ST(1));
        result = (char *)syck_strndup(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_syck_io_file_read) {
    {
        char *arg1 = (char *) 0 ;
        SyckIoFile *arg2 = (SyckIoFile *) 0 ;
        long arg3 ;
        long arg4 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 4) || (items > 4)) {
            SWIG_croak("Usage: syck_io_file_read(char *,SyckIoFile *,long,long);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p__syck_file,0) < 0) {
                SWIG_croak("Type error in argument 2 of syck_io_file_read. Expected _p__syck_file");
            }
        }
        arg3 = (long) SvIV(ST(2));
        arg4 = (long) SvIV(ST(3));
        result = (long)syck_io_file_read(arg1,arg2,arg3,arg4);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_io_str_read) {
    {
        char *arg1 = (char *) 0 ;
        SyckIoStr *arg2 = (SyckIoStr *) 0 ;
        long arg3 ;
        long arg4 ;
        long result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 4) || (items > 4)) {
            SWIG_croak("Usage: syck_io_str_read(char *,SyckIoStr *,long,long);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p__syck_str,0) < 0) {
                SWIG_croak("Type error in argument 2 of syck_io_str_read. Expected _p__syck_str");
            }
        }
        arg3 = (long) SvIV(ST(2));
        arg4 = (long) SvIV(ST(3));
        result = (long)syck_io_str_read(arg1,arg2,arg3,arg4);
        
        ST(argvi) = sv_newmortal();
        sv_setiv(ST(argvi++), (IV) result);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_base64enc) {
    {
        char *arg1 = (char *) 0 ;
        long arg2 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_base64enc(char *,long);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        arg2 = (long) SvIV(ST(1));
        result = (char *)syck_base64enc(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_syck_base64dec) {
    {
        char *arg1 = (char *) 0 ;
        long arg2 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_base64dec(char *,long);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        arg2 = (long) SvIV(ST(1));
        result = (char *)syck_base64dec(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_syck_new_emitter) {
    {
        SyckEmitter *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: syck_new_emitter();");
        }
        result = (SyckEmitter *)syck_new_emitter();
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_emitter, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_emitter_mark_node) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        st_data_t arg2 ;
        SYMID result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_emitter_mark_node(SyckEmitter *,st_data_t);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_emitter_mark_node. Expected _p__syck_emitter");
            }
        }
        {
            arg2 = (st_data_t)(ST(1));
        }
        result = syck_emitter_mark_node(arg1,arg2);
        
        {
            SYMID * resultobj = (SYMID *) malloc(sizeof(SYMID));
            memmove(resultobj, &result, sizeof(SYMID));
            ST(argvi) = sv_newmortal();
            SWIG_MakePtr(ST(argvi++), (void *) resultobj, SWIGTYPE_p_SYMID, 0|SWIG_OWNER);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_output_handler) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        SyckOutputHandler arg2 = (SyckOutputHandler) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_output_handler(SyckEmitter *,SyckOutputHandler);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_output_handler. Expected _p__syck_emitter");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_struct__syck_emitter_p_char_long__void,0) < 0) {
                SWIG_croak("Type error in argument 2 of syck_output_handler. Expected _p_f_p_struct__syck_emitter_p_char_long__void");
            }
        }
        syck_output_handler(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_emitter_handler) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        SyckEmitterHandler arg2 = (SyckEmitterHandler) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_emitter_handler(SyckEmitter *,SyckEmitterHandler);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_emitter_handler. Expected _p__syck_emitter");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_struct__syck_emitter_st_data_t__void,0) < 0) {
                SWIG_croak("Type error in argument 2 of syck_emitter_handler. Expected _p_f_p_struct__syck_emitter_st_data_t__void");
            }
        }
        syck_emitter_handler(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_free_emitter) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_free_emitter(SyckEmitter *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_free_emitter. Expected _p__syck_emitter");
            }
        }
        syck_free_emitter(arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_emitter_clear) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_emitter_clear(SyckEmitter *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_emitter_clear. Expected _p__syck_emitter");
            }
        }
        syck_emitter_clear(arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


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


XS(_wrap_syck_emitter_flush) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        long arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_emitter_flush(SyckEmitter *,long);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_emitter_flush. Expected _p__syck_emitter");
            }
        }
        arg2 = (long) SvIV(ST(1));
        syck_emitter_flush(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_emit) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        st_data_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_emit(SyckEmitter *,st_data_t);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_emit. Expected _p__syck_emitter");
            }
        }
        {
            arg2 = (st_data_t)(ST(1));
        }
        syck_emit(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_emit_scalar) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        char *arg2 = (char *) 0 ;
        enum scalar_style arg3 ;
        int arg4 ;
        int arg5 ;
        char arg6 ;
        char *arg7 = (char *) 0 ;
        long arg8 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 8) || (items > 8)) {
            SWIG_croak("Usage: syck_emit_scalar(SyckEmitter *,char *,enum scalar_style,int,int,char,char *,long);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_emit_scalar. Expected _p__syck_emitter");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        arg3 = (enum scalar_style) SvIV(ST(2));
        arg4 = (int) SvIV(ST(3));
        arg5 = (int) SvIV(ST(4));
        arg6 = (char) *SvPV(ST(5),PL_na);
        if (!SvOK((SV*) ST(6))) arg7 = 0;
        else arg7 = (char *) SvPV(ST(6), PL_na);
        arg8 = (long) SvIV(ST(7));
        syck_emit_scalar(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_emit_1quoted) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        int arg2 ;
        char *arg3 = (char *) 0 ;
        long arg4 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 4) || (items > 4)) {
            SWIG_croak("Usage: syck_emit_1quoted(SyckEmitter *,int,char *,long);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_emit_1quoted. Expected _p__syck_emitter");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (!SvOK((SV*) ST(2))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(2), PL_na);
        arg4 = (long) SvIV(ST(3));
        syck_emit_1quoted(arg1,arg2,arg3,arg4);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_emit_2quoted) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        int arg2 ;
        char *arg3 = (char *) 0 ;
        long arg4 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 4) || (items > 4)) {
            SWIG_croak("Usage: syck_emit_2quoted(SyckEmitter *,int,char *,long);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_emit_2quoted. Expected _p__syck_emitter");
            }
        }
        arg2 = (int) SvIV(ST(1));
        if (!SvOK((SV*) ST(2))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(2), PL_na);
        arg4 = (long) SvIV(ST(3));
        syck_emit_2quoted(arg1,arg2,arg3,arg4);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_emit_folded) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        int arg2 ;
        char arg3 ;
        char *arg4 = (char *) 0 ;
        long arg5 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 5) || (items > 5)) {
            SWIG_croak("Usage: syck_emit_folded(SyckEmitter *,int,char,char *,long);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_emit_folded. Expected _p__syck_emitter");
            }
        }
        arg2 = (int) SvIV(ST(1));
        arg3 = (char) *SvPV(ST(2),PL_na);
        if (!SvOK((SV*) ST(3))) arg4 = 0;
        else arg4 = (char *) SvPV(ST(3), PL_na);
        arg5 = (long) SvIV(ST(4));
        syck_emit_folded(arg1,arg2,arg3,arg4,arg5);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_emit_literal) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        char arg2 ;
        char *arg3 = (char *) 0 ;
        long arg4 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 4) || (items > 4)) {
            SWIG_croak("Usage: syck_emit_literal(SyckEmitter *,char,char *,long);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_emit_literal. Expected _p__syck_emitter");
            }
        }
        arg2 = (char) *SvPV(ST(1),PL_na);
        if (!SvOK((SV*) ST(2))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(2), PL_na);
        arg4 = (long) SvIV(ST(3));
        syck_emit_literal(arg1,arg2,arg3,arg4);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_emit_seq) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        char *arg2 = (char *) 0 ;
        enum seq_style arg3 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: syck_emit_seq(SyckEmitter *,char *,enum seq_style);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_emit_seq. Expected _p__syck_emitter");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        arg3 = (enum seq_style) SvIV(ST(2));
        syck_emit_seq(arg1,arg2,arg3);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_emit_item) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        st_data_t arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_emit_item(SyckEmitter *,st_data_t);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_emit_item. Expected _p__syck_emitter");
            }
        }
        {
            arg2 = (st_data_t)(ST(1));
        }
        syck_emit_item(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_emit_map) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        char *arg2 = (char *) 0 ;
        enum map_style arg3 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: syck_emit_map(SyckEmitter *,char *,enum map_style);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_emit_map. Expected _p__syck_emitter");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        arg3 = (enum map_style) SvIV(ST(2));
        syck_emit_map(arg1,arg2,arg3);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_emit_end) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_emit_end(SyckEmitter *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_emit_end. Expected _p__syck_emitter");
            }
        }
        syck_emit_end(arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_emit_tag) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        char *arg2 = (char *) 0 ;
        char *arg3 = (char *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: syck_emit_tag(SyckEmitter *,char *,char *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_emit_tag. Expected _p__syck_emitter");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        if (!SvOK((SV*) ST(2))) arg3 = 0;
        else arg3 = (char *) SvPV(ST(2), PL_na);
        syck_emit_tag(arg1,arg2,arg3);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_emit_indent) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_emit_indent(SyckEmitter *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_emit_indent. Expected _p__syck_emitter");
            }
        }
        syck_emit_indent(arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_emitter_current_level) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        SyckLevel *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_emitter_current_level(SyckEmitter *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_emitter_current_level. Expected _p__syck_emitter");
            }
        }
        result = (SyckLevel *)syck_emitter_current_level(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_level, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_emitter_parent_level) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        SyckLevel *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_emitter_parent_level(SyckEmitter *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_emitter_parent_level. Expected _p__syck_emitter");
            }
        }
        result = (SyckLevel *)syck_emitter_parent_level(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_level, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_emitter_pop_level) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_emitter_pop_level(SyckEmitter *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_emitter_pop_level. Expected _p__syck_emitter");
            }
        }
        syck_emitter_pop_level(arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_emitter_add_level) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        int arg2 ;
        enum syck_level_status arg3 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: syck_emitter_add_level(SyckEmitter *,int,enum syck_level_status);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_emitter_add_level. Expected _p__syck_emitter");
            }
        }
        arg2 = (int) SvIV(ST(1));
        arg3 = (enum syck_level_status) SvIV(ST(2));
        syck_emitter_add_level(arg1,arg2,arg3);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_emitter_reset_levels) {
    {
        SyckEmitter *arg1 = (SyckEmitter *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_emitter_reset_levels(SyckEmitter *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_emitter,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_emitter_reset_levels. Expected _p__syck_emitter");
            }
        }
        syck_emitter_reset_levels(arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_new_parser) {
    {
        SyckParser *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: syck_new_parser();");
        }
        result = (SyckParser *)syck_new_parser();
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_parser, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_free_parser) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_free_parser(SyckParser *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_free_parser. Expected _p__syck_parser");
            }
        }
        syck_free_parser(arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_parser_set_root_on_error) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        SYMID arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_parser_set_root_on_error(SyckParser *,SYMID);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_parser_set_root_on_error. Expected _p__syck_parser");
            }
        }
        {
            SYMID * argp;
            if (SWIG_ConvertPtr(ST(1),(void **) &argp, SWIGTYPE_p_SYMID,0) < 0) {
                SWIG_croak("Type error in argument 2 of syck_parser_set_root_on_error. Expected _p_SYMID");
            }
            arg2 = *argp;
        }
        syck_parser_set_root_on_error(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_parser_implicit_typing) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_parser_implicit_typing(SyckParser *,int);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_parser_implicit_typing. Expected _p__syck_parser");
            }
        }
        arg2 = (int) SvIV(ST(1));
        syck_parser_implicit_typing(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_parser_taguri_expansion) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        int arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_parser_taguri_expansion(SyckParser *,int);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_parser_taguri_expansion. Expected _p__syck_parser");
            }
        }
        arg2 = (int) SvIV(ST(1));
        syck_parser_taguri_expansion(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


XS(_wrap_syck_parser_handler) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        SyckNodeHandler arg2 = (SyckNodeHandler) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_parser_handler(SyckParser *,SyckNodeHandler);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_parser_handler. Expected _p__syck_parser");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_struct__syck_parser_p_struct__syck_node__SYMID,0) < 0) {
                SWIG_croak("Type error in argument 2 of syck_parser_handler. Expected _p_f_p_struct__syck_parser_p_struct__syck_node__SYMID");
            }
        }
        syck_parser_handler(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_parser_error_handler) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        SyckErrorHandler arg2 = (SyckErrorHandler) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_parser_error_handler(SyckParser *,SyckErrorHandler);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_parser_error_handler. Expected _p__syck_parser");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_struct__syck_parser_p_char__void,0) < 0) {
                SWIG_croak("Type error in argument 2 of syck_parser_error_handler. Expected _p_f_p_struct__syck_parser_p_char__void");
            }
        }
        syck_parser_error_handler(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_parser_bad_anchor_handler) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        SyckBadAnchorHandler arg2 = (SyckBadAnchorHandler) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_parser_bad_anchor_handler(SyckParser *,SyckBadAnchorHandler);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_parser_bad_anchor_handler. Expected _p__syck_parser");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_f_p_SyckParser_p_char__p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 2 of syck_parser_bad_anchor_handler. Expected _p_f_p_SyckParser_p_char__p__syck_node");
            }
        }
        syck_parser_bad_anchor_handler(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_parser_file) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        FILE *arg2 = (FILE *) 0 ;
        SyckIoFileRead arg3 = (SyckIoFileRead) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: syck_parser_file(SyckParser *,FILE *,SyckIoFileRead);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_parser_file. Expected _p__syck_parser");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_FILE,0) < 0) {
                SWIG_croak("Type error in argument 2 of syck_parser_file. Expected _p_FILE");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_f_p_char_p_struct__syck_file_long_long__long,0) < 0) {
                SWIG_croak("Type error in argument 3 of syck_parser_file. Expected _p_f_p_char_p_struct__syck_file_long_long__long");
            }
        }
        syck_parser_file(arg1,arg2,arg3);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_parser_str) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        char *arg2 = (char *) 0 ;
        long arg3 ;
        SyckIoStrRead arg4 = (SyckIoStrRead) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 4) || (items > 4)) {
            SWIG_croak("Usage: syck_parser_str(SyckParser *,char *,long,SyckIoStrRead);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_parser_str. Expected _p__syck_parser");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        arg3 = (long) SvIV(ST(2));
        {
            if (SWIG_ConvertPtr(ST(3), (void **) &arg4, SWIGTYPE_p_f_p_char_p_struct__syck_str_long_long__long,0) < 0) {
                SWIG_croak("Type error in argument 4 of syck_parser_str. Expected _p_f_p_char_p_struct__syck_str_long_long__long");
            }
        }
        syck_parser_str(arg1,arg2,arg3,arg4);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_parser_str_auto) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        char *arg2 = (char *) 0 ;
        SyckIoStrRead arg3 = (SyckIoStrRead) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: syck_parser_str_auto(SyckParser *,char *,SyckIoStrRead);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_parser_str_auto. Expected _p__syck_parser");
            }
        }
        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_p_char_p_struct__syck_str_long_long__long,0) < 0) {
                SWIG_croak("Type error in argument 3 of syck_parser_str_auto. Expected _p_f_p_char_p_struct__syck_str_long_long__long");
            }
        }
        syck_parser_str_auto(arg1,arg2,arg3);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_parser_current_level) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        SyckLevel *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_parser_current_level(SyckParser *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_parser_current_level. Expected _p__syck_parser");
            }
        }
        result = (SyckLevel *)syck_parser_current_level(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_level, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_parser_add_level) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        int arg2 ;
        enum syck_level_status arg3 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: syck_parser_add_level(SyckParser *,int,enum syck_level_status);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_parser_add_level. Expected _p__syck_parser");
            }
        }
        arg2 = (int) SvIV(ST(1));
        arg3 = (enum syck_level_status) SvIV(ST(2));
        syck_parser_add_level(arg1,arg2,arg3);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_parser_pop_level) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_parser_pop_level(SyckParser *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_parser_pop_level. Expected _p__syck_parser");
            }
        }
        syck_parser_pop_level(arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_free_any_io) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: free_any_io(SyckParser *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of free_any_io. Expected _p__syck_parser");
            }
        }
        free_any_io(arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


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


XS(_wrap_syck_parse) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        SYMID result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_parse(SyckParser *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_parse. Expected _p__syck_parser");
            }
        }
        result = syck_parse(arg1);
        
        {
            SYMID * resultobj = (SYMID *) malloc(sizeof(SYMID));
            memmove(resultobj, &result, sizeof(SYMID));
            ST(argvi) = sv_newmortal();
            SWIG_MakePtr(ST(argvi++), (void *) resultobj, SWIGTYPE_p_SYMID, 0|SWIG_OWNER);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


XS(_wrap_syck_yaml2byte_handler) {
    {
        SyckParser *arg1 = (SyckParser *) 0 ;
        SyckNode *arg2 = (SyckNode *) 0 ;
        SYMID result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_yaml2byte_handler(SyckParser *,SyckNode *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_parser,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_yaml2byte_handler. Expected _p__syck_parser");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 2 of syck_yaml2byte_handler. Expected _p__syck_node");
            }
        }
        result = syck_yaml2byte_handler(arg1,arg2);
        
        {
            SYMID * resultobj = (SYMID *) malloc(sizeof(SYMID));
            memmove(resultobj, &result, sizeof(SYMID));
            ST(argvi) = sv_newmortal();
            SWIG_MakePtr(ST(argvi++), (void *) resultobj, SWIGTYPE_p_SYMID, 0|SWIG_OWNER);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_yaml2byte) {
    {
        char *arg1 = (char *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_yaml2byte(char *);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        result = (char *)syck_yaml2byte(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_syck_alloc_map) {
    {
        SyckNode *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: syck_alloc_map();");
        }
        result = (SyckNode *)syck_alloc_map();
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_node, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_alloc_seq) {
    {
        SyckNode *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: syck_alloc_seq();");
        }
        result = (SyckNode *)syck_alloc_seq();
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_node, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_alloc_str) {
    {
        SyckNode *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 0) || (items > 0)) {
            SWIG_croak("Usage: syck_alloc_str();");
        }
        result = (SyckNode *)syck_alloc_str();
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_node, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_free_node) {
    {
        SyckNode *arg1 = (SyckNode *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_free_node(SyckNode *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_free_node. Expected _p__syck_node");
            }
        }
        syck_free_node(arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_free_members) {
    {
        SyckNode *arg1 = (SyckNode *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_free_members(SyckNode *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_free_members. Expected _p__syck_node");
            }
        }
        syck_free_members(arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_new_str) {
    {
        char *arg1 = (char *) 0 ;
        enum scalar_style arg2 ;
        SyckNode *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_new_str(char *,enum scalar_style);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        arg2 = (enum scalar_style) SvIV(ST(1));
        result = (SyckNode *)syck_new_str(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_node, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_new_str2) {
    {
        char *arg1 = (char *) 0 ;
        long arg2 ;
        enum scalar_style arg3 ;
        SyckNode *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: syck_new_str2(char *,long,enum scalar_style);");
        }
        if (!SvOK((SV*) ST(0))) arg1 = 0;
        else arg1 = (char *) SvPV(ST(0), PL_na);
        arg2 = (long) SvIV(ST(1));
        arg3 = (enum scalar_style) SvIV(ST(2));
        result = (SyckNode *)syck_new_str2(arg1,arg2,arg3);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_node, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_replace_str) {
    {
        SyckNode *arg1 = (SyckNode *) 0 ;
        char *arg2 = (char *) 0 ;
        enum scalar_style arg3 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: syck_replace_str(SyckNode *,char *,enum scalar_style);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_replace_str. Expected _p__syck_node");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        arg3 = (enum scalar_style) SvIV(ST(2));
        syck_replace_str(arg1,arg2,arg3);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_replace_str2) {
    {
        SyckNode *arg1 = (SyckNode *) 0 ;
        char *arg2 = (char *) 0 ;
        long arg3 ;
        enum scalar_style arg4 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 4) || (items > 4)) {
            SWIG_croak("Usage: syck_replace_str2(SyckNode *,char *,long,enum scalar_style);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_replace_str2. Expected _p__syck_node");
            }
        }
        if (!SvOK((SV*) ST(1))) arg2 = 0;
        else arg2 = (char *) SvPV(ST(1), PL_na);
        arg3 = (long) SvIV(ST(2));
        arg4 = (enum scalar_style) SvIV(ST(3));
        syck_replace_str2(arg1,arg2,arg3,arg4);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_str_blow_away_commas) {
    {
        SyckNode *arg1 = (SyckNode *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_str_blow_away_commas(SyckNode *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_str_blow_away_commas. Expected _p__syck_node");
            }
        }
        syck_str_blow_away_commas(arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_str_read) {
    {
        SyckNode *arg1 = (SyckNode *) 0 ;
        char *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_str_read(SyckNode *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_str_read. Expected _p__syck_node");
            }
        }
        result = (char *)syck_str_read(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_syck_new_map) {
    {
        SYMID arg1 ;
        SYMID arg2 ;
        SyckNode *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_new_map(SYMID,SYMID);");
        }
        {
            SYMID * argp;
            if (SWIG_ConvertPtr(ST(0),(void **) &argp, SWIGTYPE_p_SYMID,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_new_map. Expected _p_SYMID");
            }
            arg1 = *argp;
        }
        {
            SYMID * argp;
            if (SWIG_ConvertPtr(ST(1),(void **) &argp, SWIGTYPE_p_SYMID,0) < 0) {
                SWIG_croak("Type error in argument 2 of syck_new_map. Expected _p_SYMID");
            }
            arg2 = *argp;
        }
        result = (SyckNode *)syck_new_map(arg1,arg2);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_node, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_map_empty) {
    {
        SyckNode *arg1 = (SyckNode *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_map_empty(SyckNode *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_map_empty. Expected _p__syck_node");
            }
        }
        syck_map_empty(arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_map_add) {
    {
        SyckNode *arg1 = (SyckNode *) 0 ;
        SYMID arg2 ;
        SYMID arg3 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: syck_map_add(SyckNode *,SYMID,SYMID);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_map_add. Expected _p__syck_node");
            }
        }
        {
            SYMID * argp;
            if (SWIG_ConvertPtr(ST(1),(void **) &argp, SWIGTYPE_p_SYMID,0) < 0) {
                SWIG_croak("Type error in argument 2 of syck_map_add. Expected _p_SYMID");
            }
            arg2 = *argp;
        }
        {
            SYMID * argp;
            if (SWIG_ConvertPtr(ST(2),(void **) &argp, SWIGTYPE_p_SYMID,0) < 0) {
                SWIG_croak("Type error in argument 3 of syck_map_add. Expected _p_SYMID");
            }
            arg3 = *argp;
        }
        syck_map_add(arg1,arg2,arg3);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_map_read) {
    {
        SyckNode *arg1 = (SyckNode *) 0 ;
        enum map_part arg2 ;
        long arg3 ;
        SYMID result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: syck_map_read(SyckNode *,enum map_part,long);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_map_read. Expected _p__syck_node");
            }
        }
        arg2 = (enum map_part) SvIV(ST(1));
        arg3 = (long) SvIV(ST(2));
        result = syck_map_read(arg1,arg2,arg3);
        
        {
            SYMID * resultobj = (SYMID *) malloc(sizeof(SYMID));
            memmove(resultobj, &result, sizeof(SYMID));
            ST(argvi) = sv_newmortal();
            SWIG_MakePtr(ST(argvi++), (void *) resultobj, SWIGTYPE_p_SYMID, 0|SWIG_OWNER);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_map_assign) {
    {
        SyckNode *arg1 = (SyckNode *) 0 ;
        enum map_part arg2 ;
        long arg3 ;
        SYMID arg4 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 4) || (items > 4)) {
            SWIG_croak("Usage: syck_map_assign(SyckNode *,enum map_part,long,SYMID);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_map_assign. Expected _p__syck_node");
            }
        }
        arg2 = (enum map_part) SvIV(ST(1));
        arg3 = (long) SvIV(ST(2));
        {
            SYMID * argp;
            if (SWIG_ConvertPtr(ST(3),(void **) &argp, SWIGTYPE_p_SYMID,0) < 0) {
                SWIG_croak("Type error in argument 4 of syck_map_assign. Expected _p_SYMID");
            }
            arg4 = *argp;
        }
        syck_map_assign(arg1,arg2,arg3,arg4);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


XS(_wrap_syck_map_update) {
    {
        SyckNode *arg1 = (SyckNode *) 0 ;
        SyckNode *arg2 = (SyckNode *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_map_update(SyckNode *,SyckNode *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_map_update. Expected _p__syck_node");
            }
        }
        {
            if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 2 of syck_map_update. Expected _p__syck_node");
            }
        }
        syck_map_update(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_new_seq) {
    {
        SYMID arg1 ;
        SyckNode *result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_new_seq(SYMID);");
        }
        {
            SYMID * argp;
            if (SWIG_ConvertPtr(ST(0),(void **) &argp, SWIGTYPE_p_SYMID,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_new_seq. Expected _p_SYMID");
            }
            arg1 = *argp;
        }
        result = (SyckNode *)syck_new_seq(arg1);
        
        ST(argvi) = sv_newmortal();
        SWIG_MakePtr(ST(argvi++), (void *) result, SWIGTYPE_p__syck_node, SWIG_SHADOW|0);
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_seq_empty) {
    {
        SyckNode *arg1 = (SyckNode *) 0 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 1) || (items > 1)) {
            SWIG_croak("Usage: syck_seq_empty(SyckNode *);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_seq_empty. Expected _p__syck_node");
            }
        }
        syck_seq_empty(arg1);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_seq_add) {
    {
        SyckNode *arg1 = (SyckNode *) 0 ;
        SYMID arg2 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_seq_add(SyckNode *,SYMID);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_seq_add. Expected _p__syck_node");
            }
        }
        {
            SYMID * argp;
            if (SWIG_ConvertPtr(ST(1),(void **) &argp, SWIGTYPE_p_SYMID,0) < 0) {
                SWIG_croak("Type error in argument 2 of syck_seq_add. Expected _p_SYMID");
            }
            arg2 = *argp;
        }
        syck_seq_add(arg1,arg2);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_seq_assign) {
    {
        SyckNode *arg1 = (SyckNode *) 0 ;
        long arg2 ;
        SYMID arg3 ;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 3) || (items > 3)) {
            SWIG_croak("Usage: syck_seq_assign(SyckNode *,long,SYMID);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_seq_assign. Expected _p__syck_node");
            }
        }
        arg2 = (long) SvIV(ST(1));
        {
            SYMID * argp;
            if (SWIG_ConvertPtr(ST(2),(void **) &argp, SWIGTYPE_p_SYMID,0) < 0) {
                SWIG_croak("Type error in argument 3 of syck_seq_assign. Expected _p_SYMID");
            }
            arg3 = *argp;
        }
        syck_seq_assign(arg1,arg2,arg3);
        
        
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


XS(_wrap_syck_seq_read) {
    {
        SyckNode *arg1 = (SyckNode *) 0 ;
        long arg2 ;
        SYMID result;
        int argvi = 0;
        dXSARGS;
        
        if ((items < 2) || (items > 2)) {
            SWIG_croak("Usage: syck_seq_read(SyckNode *,long);");
        }
        {
            if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p__syck_node,0) < 0) {
                SWIG_croak("Type error in argument 1 of syck_seq_read. Expected _p__syck_node");
            }
        }
        arg2 = (long) SvIV(ST(1));
        result = syck_seq_read(arg1,arg2);
        
        {
            SYMID * resultobj = (SYMID *) malloc(sizeof(SYMID));
            memmove(resultobj, &result, sizeof(SYMID));
            ST(argvi) = sv_newmortal();
            SWIG_MakePtr(ST(argvi++), (void *) resultobj, SWIGTYPE_p_SYMID, 0|SWIG_OWNER);
        }
        XSRETURN(argvi);
        fail:
        ;
    }
    croak(Nullch);
}


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


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


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



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

static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, 0};
static swig_type_info _swigt__p_Perl_Scalar = {"_p_Perl_Scalar", "Perl_Scalar *", 0, 0, 0};
static swig_type_info _swigt__p_SYMID = {"_p_SYMID", "SYMID *", 0, 0, 0};
static swig_type_info _swigt__p__syck_emitter = {"_p__syck_emitter", "struct _syck_emitter *|SyckEmitter *", 0, 0, 0};
static swig_type_info _swigt__p__syck_emitter_node = {"_p__syck_emitter_node", "struct _syck_emitter_node *", 0, 0, 0};
static swig_type_info _swigt__p__syck_file = {"_p__syck_file", "struct _syck_file *|SyckIoFile *", 0, 0, 0};
static swig_type_info _swigt__p__syck_level = {"_p__syck_level", "struct _syck_level *|SyckLevel *", 0, 0, 0};
static swig_type_info _swigt__p__syck_node = {"_p__syck_node", "struct _syck_node *|SyckNode *", 0, 0, 0};
static swig_type_info _swigt__p__syck_node_data = {"_p__syck_node_data", "_syck_node_data *", 0, 0, 0};
static swig_type_info _swigt__p__syck_node_data_list = {"_p__syck_node_data_list", "_syck_node_data_list *", 0, 0, 0};
static swig_type_info _swigt__p__syck_node_data_pairs = {"_p__syck_node_data_pairs", "_syck_node_data_pairs *", 0, 0, 0};
static swig_type_info _swigt__p__syck_node_data_str = {"_p__syck_node_data_str", "_syck_node_data_str *", 0, 0, 0};
static swig_type_info _swigt__p__syck_parser = {"_p__syck_parser", "struct _syck_parser *|SyckParser *", 0, 0, 0};
static swig_type_info _swigt__p__syck_parser_io = {"_p__syck_parser_io", "_syck_parser_io *", 0, 0, 0};
static swig_type_info _swigt__p__syck_str = {"_p__syck_str", "struct _syck_str *|SyckIoStr *", 0, 0, 0};
static swig_type_info _swigt__p_f_p_SyckParser_p_char__p__syck_node = {"_p_f_p_SyckParser_p_char__p__syck_node", "struct _syck_node *(*)(SyckParser *,char *)|SyckBadAnchorHandler", 0, 0, 0};
static swig_type_info _swigt__p_f_p_char_p_struct__syck_file_long_long__long = {"_p_f_p_char_p_struct__syck_file_long_long__long", "long (*)(char *,struct _syck_file *,long,long)|SyckIoFileRead", 0, 0, 0};
static swig_type_info _swigt__p_f_p_char_p_struct__syck_str_long_long__long = {"_p_f_p_char_p_struct__syck_str_long_long__long", "long (*)(char *,struct _syck_str *,long,long)|SyckIoStrRead", 0, 0, 0};
static swig_type_info _swigt__p_f_p_struct__syck_emitter_p_char_long__void = {"_p_f_p_struct__syck_emitter_p_char_long__void", "void (*)(struct _syck_emitter *,char *,long)|SyckOutputHandler", 0, 0, 0};
static swig_type_info _swigt__p_f_p_struct__syck_emitter_st_data_t__void = {"_p_f_p_struct__syck_emitter_st_data_t__void", "void (*)(struct _syck_emitter *,st_data_t)|SyckEmitterHandler", 0, 0, 0};
static swig_type_info _swigt__p_f_p_struct__syck_parser_p_char__void = {"_p_f_p_struct__syck_parser_p_char__void", "void (*)(struct _syck_parser *,char *)|SyckErrorHandler", 0, 0, 0};
static swig_type_info _swigt__p_f_p_struct__syck_parser_p_struct__syck_node__SYMID = {"_p_f_p_struct__syck_parser_p_struct__syck_node__SYMID", "SYMID (*)(struct _syck_parser *,struct _syck_node *)|SyckNodeHandler", 0, 0, 0};
static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, 0};
static swig_type_info _swigt__p_st_data_t = {"_p_st_data_t", "st_data_t *", 0, 0, 0};
static swig_type_info _swigt__p_st_table = {"_p_st_table", "st_table *", 0, 0, 0};
static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0};

static swig_type_info *swig_type_initial[] = {
  &_swigt__p_FILE,
  &_swigt__p_Perl_Scalar,
  &_swigt__p_SYMID,
  &_swigt__p__syck_emitter,
  &_swigt__p__syck_emitter_node,
  &_swigt__p__syck_file,
  &_swigt__p__syck_level,
  &_swigt__p__syck_node,
  &_swigt__p__syck_node_data,
  &_swigt__p__syck_node_data_list,
  &_swigt__p__syck_node_data_pairs,
  &_swigt__p__syck_node_data_str,
  &_swigt__p__syck_parser,
  &_swigt__p__syck_parser_io,
  &_swigt__p__syck_str,
  &_swigt__p_f_p_SyckParser_p_char__p__syck_node,
  &_swigt__p_f_p_char_p_struct__syck_file_long_long__long,
  &_swigt__p_f_p_char_p_struct__syck_str_long_long__long,
  &_swigt__p_f_p_struct__syck_emitter_p_char_long__void,
  &_swigt__p_f_p_struct__syck_emitter_st_data_t__void,
  &_swigt__p_f_p_struct__syck_parser_p_char__void,
  &_swigt__p_f_p_struct__syck_parser_p_struct__syck_node__SYMID,
  &_swigt__p_p_char,
  &_swigt__p_st_data_t,
  &_swigt__p_st_table,
  &_swigt__p_void,
};

static swig_cast_info _swigc__p_FILE[] = {  {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Perl_Scalar[] = {  {&_swigt__p_Perl_Scalar, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_SYMID[] = {  {&_swigt__p_SYMID, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__syck_emitter[] = {  {&_swigt__p__syck_emitter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__syck_emitter_node[] = {  {&_swigt__p__syck_emitter_node, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__syck_file[] = {  {&_swigt__p__syck_file, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__syck_level[] = {  {&_swigt__p__syck_level, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__syck_node[] = {  {&_swigt__p__syck_node, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__syck_node_data[] = {  {&_swigt__p__syck_node_data, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__syck_node_data_list[] = {  {&_swigt__p__syck_node_data_list, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__syck_node_data_pairs[] = {  {&_swigt__p__syck_node_data_pairs, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__syck_node_data_str[] = {  {&_swigt__p__syck_node_data_str, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__syck_parser[] = {  {&_swigt__p__syck_parser, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__syck_parser_io[] = {  {&_swigt__p__syck_parser_io, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__syck_str[] = {  {&_swigt__p__syck_str, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_SyckParser_p_char__p__syck_node[] = {  {&_swigt__p_f_p_SyckParser_p_char__p__syck_node, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_char_p_struct__syck_file_long_long__long[] = {  {&_swigt__p_f_p_char_p_struct__syck_file_long_long__long, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_char_p_struct__syck_str_long_long__long[] = {  {&_swigt__p_f_p_char_p_struct__syck_str_long_long__long, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_struct__syck_emitter_p_char_long__void[] = {  {&_swigt__p_f_p_struct__syck_emitter_p_char_long__void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_struct__syck_emitter_st_data_t__void[] = {  {&_swigt__p_f_p_struct__syck_emitter_st_data_t__void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_struct__syck_parser_p_char__void[] = {  {&_swigt__p_f_p_struct__syck_parser_p_char__void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_struct__syck_parser_p_struct__syck_node__SYMID[] = {  {&_swigt__p_f_p_struct__syck_parser_p_struct__syck_node__SYMID, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_char[] = {  {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_st_data_t[] = {  {&_swigt__p_st_data_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_st_table[] = {  {&_swigt__p_st_table, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_void[] = {  {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};

static swig_cast_info *swig_cast_initial[] = {
  _swigc__p_FILE,
  _swigc__p_Perl_Scalar,
  _swigc__p_SYMID,
  _swigc__p__syck_emitter,
  _swigc__p__syck_emitter_node,
  _swigc__p__syck_file,
  _swigc__p__syck_level,
  _swigc__p__syck_node,
  _swigc__p__syck_node_data,
  _swigc__p__syck_node_data_list,
  _swigc__p__syck_node_data_pairs,
  _swigc__p__syck_node_data_str,
  _swigc__p__syck_parser,
  _swigc__p__syck_parser_io,
  _swigc__p__syck_str,
  _swigc__p_f_p_SyckParser_p_char__p__syck_node,
  _swigc__p_f_p_char_p_struct__syck_file_long_long__long,
  _swigc__p_f_p_char_p_struct__syck_str_long_long__long,
  _swigc__p_f_p_struct__syck_emitter_p_char_long__void,
  _swigc__p_f_p_struct__syck_emitter_st_data_t__void,
  _swigc__p_f_p_struct__syck_parser_p_char__void,
  _swigc__p_f_p_struct__syck_parser_p_struct__syck_node__SYMID,
  _swigc__p_p_char,
  _swigc__p_st_data_t,
  _swigc__p_st_table,
  _swigc__p_void,
};


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

static swig_constant_info swig_constants[] = {
{ SWIG_INT,     (char *) SWIG_prefix "syck_map_kind", (long) syck_map_kind, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "syck_seq_kind", (long) syck_seq_kind, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "syck_str_kind", (long) syck_str_kind, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "map_key", (long) map_key, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "map_value", (long) map_value, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "map_none", (long) map_none, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "map_inline", (long) map_inline, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "seq_none", (long) seq_none, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "seq_inline", (long) seq_inline, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "scalar_none", (long) scalar_none, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "scalar_1quote", (long) scalar_1quote, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "scalar_2quote", (long) scalar_2quote, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "scalar_fold", (long) scalar_fold, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "scalar_literal", (long) scalar_literal, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "scalar_plain", (long) scalar_plain, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "syck_io_str", (long) syck_io_str, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "syck_io_file", (long) syck_io_file, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "syck_yaml_utf8", (long) syck_yaml_utf8, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "syck_yaml_utf16", (long) syck_yaml_utf16, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "syck_yaml_utf32", (long) syck_yaml_utf32, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "syck_bytecode_utf8", (long) syck_bytecode_utf8, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "syck_lvl_header", (long) syck_lvl_header, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "syck_lvl_doc", (long) syck_lvl_doc, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "syck_lvl_open", (long) syck_lvl_open, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "syck_lvl_seq", (long) syck_lvl_seq, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "syck_lvl_map", (long) syck_lvl_map, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "syck_lvl_block", (long) syck_lvl_block, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "syck_lvl_str", (long) syck_lvl_str, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "syck_lvl_iseq", (long) syck_lvl_iseq, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "syck_lvl_imap", (long) syck_lvl_imap, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "syck_lvl_end", (long) syck_lvl_end, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "syck_lvl_pause", (long) syck_lvl_pause, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "syck_lvl_anctag", (long) syck_lvl_anctag, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "syck_lvl_mapx", (long) syck_lvl_mapx, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "syck_lvl_seqx", (long) syck_lvl_seqx, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "doc_open", (long) doc_open, 0, 0, 0},
{ SWIG_INT,     (char *) SWIG_prefix "doc_processing", (long) doc_processing, 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[] = {
{"YAML::Syck::syck_perl_set_parser_handler", _wrap_syck_perl_set_parser_handler},
{"YAML::Syck::syck_perl_parser_handler", _wrap_syck_perl_parser_handler},
{"YAML::Syck::syck_perl_set_emitter_handler", _wrap_syck_perl_set_emitter_handler},
{"YAML::Syck::syck_perl_set_output_handler", _wrap_syck_perl_set_output_handler},
{"YAML::Syck::syck_perl_mark_emitter", _wrap_syck_perl_mark_emitter},
{"YAML::Syck::syck_perl_lookup_sym", _wrap_syck_perl_lookup_sym},
{"YAML::Syck::_syck_node_id_set", _wrap__syck_node_id_set},
{"YAML::Syck::_syck_node_id_get", _wrap__syck_node_id_get},
{"YAML::Syck::_syck_node_kind_set", _wrap__syck_node_kind_set},
{"YAML::Syck::_syck_node_kind_get", _wrap__syck_node_kind_get},
{"YAML::Syck::_syck_node_type_id_set", _wrap__syck_node_type_id_set},
{"YAML::Syck::_syck_node_type_id_get", _wrap__syck_node_type_id_get},
{"YAML::Syck::_syck_node_anchor_set", _wrap__syck_node_anchor_set},
{"YAML::Syck::_syck_node_anchor_get", _wrap__syck_node_anchor_get},
{"YAML::Syck::_syck_node_shortcut_set", _wrap__syck_node_shortcut_set},
{"YAML::Syck::_syck_node_shortcut_get", _wrap__syck_node_shortcut_get},
{"YAML::Syck::_syck_node_data_get", _wrap__syck_node_data_get},
{"YAML::Syck::new__syck_node", _wrap_new__syck_node},
{"YAML::Syck::delete__syck_node", _wrap_delete__syck_node},
{"YAML::Syck::_syck_node_data_str_get", _wrap__syck_node_data_str_get},
{"YAML::Syck::_syck_node_data_list_get", _wrap__syck_node_data_list_get},
{"YAML::Syck::_syck_node_data_pairs_get", _wrap__syck_node_data_pairs_get},
{"YAML::Syck::new__syck_node_data", _wrap_new__syck_node_data},
{"YAML::Syck::delete__syck_node_data", _wrap_delete__syck_node_data},
{"YAML::Syck::_syck_node_data_str_style_set", _wrap__syck_node_data_str_style_set},
{"YAML::Syck::_syck_node_data_str_style_get", _wrap__syck_node_data_str_style_get},
{"YAML::Syck::_syck_node_data_str_ptr_set", _wrap__syck_node_data_str_ptr_set},
{"YAML::Syck::_syck_node_data_str_ptr_get", _wrap__syck_node_data_str_ptr_get},
{"YAML::Syck::_syck_node_data_str_len_set", _wrap__syck_node_data_str_len_set},
{"YAML::Syck::_syck_node_data_str_len_get", _wrap__syck_node_data_str_len_get},
{"YAML::Syck::new__syck_node_data_str", _wrap_new__syck_node_data_str},
{"YAML::Syck::delete__syck_node_data_str", _wrap_delete__syck_node_data_str},
{"YAML::Syck::_syck_node_data_list_style_set", _wrap__syck_node_data_list_style_set},
{"YAML::Syck::_syck_node_data_list_style_get", _wrap__syck_node_data_list_style_get},
{"YAML::Syck::_syck_node_data_list_items_set", _wrap__syck_node_data_list_items_set},
{"YAML::Syck::_syck_node_data_list_items_get", _wrap__syck_node_data_list_items_get},
{"YAML::Syck::_syck_node_data_list_capa_set", _wrap__syck_node_data_list_capa_set},
{"YAML::Syck::_syck_node_data_list_capa_get", _wrap__syck_node_data_list_capa_get},
{"YAML::Syck::_syck_node_data_list_idx_set", _wrap__syck_node_data_list_idx_set},
{"YAML::Syck::_syck_node_data_list_idx_get", _wrap__syck_node_data_list_idx_get},
{"YAML::Syck::new__syck_node_data_list", _wrap_new__syck_node_data_list},
{"YAML::Syck::delete__syck_node_data_list", _wrap_delete__syck_node_data_list},
{"YAML::Syck::_syck_node_data_pairs_style_set", _wrap__syck_node_data_pairs_style_set},
{"YAML::Syck::_syck_node_data_pairs_style_get", _wrap__syck_node_data_pairs_style_get},
{"YAML::Syck::_syck_node_data_pairs_keys_set", _wrap__syck_node_data_pairs_keys_set},
{"YAML::Syck::_syck_node_data_pairs_keys_get", _wrap__syck_node_data_pairs_keys_get},
{"YAML::Syck::_syck_node_data_pairs_values_set", _wrap__syck_node_data_pairs_values_set},
{"YAML::Syck::_syck_node_data_pairs_values_get", _wrap__syck_node_data_pairs_values_get},
{"YAML::Syck::_syck_node_data_pairs_capa_set", _wrap__syck_node_data_pairs_capa_set},
{"YAML::Syck::_syck_node_data_pairs_capa_get", _wrap__syck_node_data_pairs_capa_get},
{"YAML::Syck::_syck_node_data_pairs_idx_set", _wrap__syck_node_data_pairs_idx_set},
{"YAML::Syck::_syck_node_data_pairs_idx_get", _wrap__syck_node_data_pairs_idx_get},
{"YAML::Syck::new__syck_node_data_pairs", _wrap_new__syck_node_data_pairs},
{"YAML::Syck::delete__syck_node_data_pairs", _wrap_delete__syck_node_data_pairs},
{"YAML::Syck::_syck_file_ptr_set", _wrap__syck_file_ptr_set},
{"YAML::Syck::_syck_file_ptr_get", _wrap__syck_file_ptr_get},
{"YAML::Syck::_syck_file_read_set", _wrap__syck_file_read_set},
{"YAML::Syck::_syck_file_read_get", _wrap__syck_file_read_get},
{"YAML::Syck::new__syck_file", _wrap_new__syck_file},
{"YAML::Syck::delete__syck_file", _wrap_delete__syck_file},
{"YAML::Syck::_syck_str_beg_set", _wrap__syck_str_beg_set},
{"YAML::Syck::_syck_str_beg_get", _wrap__syck_str_beg_get},
{"YAML::Syck::_syck_str_ptr_set", _wrap__syck_str_ptr_set},
{"YAML::Syck::_syck_str_ptr_get", _wrap__syck_str_ptr_get},
{"YAML::Syck::_syck_str_end_set", _wrap__syck_str_end_set},
{"YAML::Syck::_syck_str_end_get", _wrap__syck_str_end_get},
{"YAML::Syck::_syck_str_read_set", _wrap__syck_str_read_set},
{"YAML::Syck::_syck_str_read_get", _wrap__syck_str_read_get},
{"YAML::Syck::new__syck_str", _wrap_new__syck_str},
{"YAML::Syck::delete__syck_str", _wrap_delete__syck_str},
{"YAML::Syck::_syck_level_spaces_set", _wrap__syck_level_spaces_set},
{"YAML::Syck::_syck_level_spaces_get", _wrap__syck_level_spaces_get},
{"YAML::Syck::_syck_level_ncount_set", _wrap__syck_level_ncount_set},
{"YAML::Syck::_syck_level_ncount_get", _wrap__syck_level_ncount_get},
{"YAML::Syck::_syck_level_anctag_set", _wrap__syck_level_anctag_set},
{"YAML::Syck::_syck_level_anctag_get", _wrap__syck_level_anctag_get},
{"YAML::Syck::_syck_level_domain_set", _wrap__syck_level_domain_set},
{"YAML::Syck::_syck_level_domain_get", _wrap__syck_level_domain_get},
{"YAML::Syck::_syck_level_status_set", _wrap__syck_level_status_set},
{"YAML::Syck::_syck_level_status_get", _wrap__syck_level_status_get},
{"YAML::Syck::new__syck_level", _wrap_new__syck_level},
{"YAML::Syck::delete__syck_level", _wrap_delete__syck_level},
{"YAML::Syck::_syck_parser_root_set", _wrap__syck_parser_root_set},
{"YAML::Syck::_syck_parser_root_get", _wrap__syck_parser_root_get},
{"YAML::Syck::_syck_parser_root_on_error_set", _wrap__syck_parser_root_on_error_set},
{"YAML::Syck::_syck_parser_root_on_error_get", _wrap__syck_parser_root_on_error_get},
{"YAML::Syck::_syck_parser_implicit_typing_set", _wrap__syck_parser_implicit_typing_set},
{"YAML::Syck::_syck_parser_implicit_typing_get", _wrap__syck_parser_implicit_typing_get},
{"YAML::Syck::_syck_parser_taguri_expansion_set", _wrap__syck_parser_taguri_expansion_set},
{"YAML::Syck::_syck_parser_taguri_expansion_get", _wrap__syck_parser_taguri_expansion_get},
{"YAML::Syck::_syck_parser_handler_set", _wrap__syck_parser_handler_set},
{"YAML::Syck::_syck_parser_handler_get", _wrap__syck_parser_handler_get},
{"YAML::Syck::_syck_parser_error_handler_set", _wrap__syck_parser_error_handler_set},
{"YAML::Syck::_syck_parser_error_handler_get", _wrap__syck_parser_error_handler_get},
{"YAML::Syck::_syck_parser_bad_anchor_handler_set", _wrap__syck_parser_bad_anchor_handler_set},
{"YAML::Syck::_syck_parser_bad_anchor_handler_get", _wrap__syck_parser_bad_anchor_handler_get},
{"YAML::Syck::_syck_parser_input_type_set", _wrap__syck_parser_input_type_set},
{"YAML::Syck::_syck_parser_input_type_get", _wrap__syck_parser_input_type_get},
{"YAML::Syck::_syck_parser_io_type_set", _wrap__syck_parser_io_type_set},
{"YAML::Syck::_syck_parser_io_type_get", _wrap__syck_parser_io_type_get},
{"YAML::Syck::_syck_parser_bufsize_set", _wrap__syck_parser_bufsize_set},
{"YAML::Syck::_syck_parser_bufsize_get", _wrap__syck_parser_bufsize_get},
{"YAML::Syck::_syck_parser_buffer_set", _wrap__syck_parser_buffer_set},
{"YAML::Syck::_syck_parser_buffer_get", _wrap__syck_parser_buffer_get},
{"YAML::Syck::_syck_parser_linectptr_set", _wrap__syck_parser_linectptr_set},
{"YAML::Syck::_syck_parser_linectptr_get", _wrap__syck_parser_linectptr_get},
{"YAML::Syck::_syck_parser_lineptr_set", _wrap__syck_parser_lineptr_set},
{"YAML::Syck::_syck_parser_lineptr_get", _wrap__syck_parser_lineptr_get},
{"YAML::Syck::_syck_parser_toktmp_set", _wrap__syck_parser_toktmp_set},
{"YAML::Syck::_syck_parser_toktmp_get", _wrap__syck_parser_toktmp_get},
{"YAML::Syck::_syck_parser_token_set", _wrap__syck_parser_token_set},
{"YAML::Syck::_syck_parser_token_get", _wrap__syck_parser_token_get},
{"YAML::Syck::_syck_parser_cursor_set", _wrap__syck_parser_cursor_set},
{"YAML::Syck::_syck_parser_cursor_get", _wrap__syck_parser_cursor_get},
{"YAML::Syck::_syck_parser_marker_set", _wrap__syck_parser_marker_set},
{"YAML::Syck::_syck_parser_marker_get", _wrap__syck_parser_marker_get},
{"YAML::Syck::_syck_parser_limit_set", _wrap__syck_parser_limit_set},
{"YAML::Syck::_syck_parser_limit_get", _wrap__syck_parser_limit_get},
{"YAML::Syck::_syck_parser_linect_set", _wrap__syck_parser_linect_set},
{"YAML::Syck::_syck_parser_linect_get", _wrap__syck_parser_linect_get},
{"YAML::Syck::_syck_parser_last_token_set", _wrap__syck_parser_last_token_set},
{"YAML::Syck::_syck_parser_last_token_get", _wrap__syck_parser_last_token_get},
{"YAML::Syck::_syck_parser_force_token_set", _wrap__syck_parser_force_token_set},
{"YAML::Syck::_syck_parser_force_token_get", _wrap__syck_parser_force_token_get},
{"YAML::Syck::_syck_parser_eof_set", _wrap__syck_parser_eof_set},
{"YAML::Syck::_syck_parser_eof_get", _wrap__syck_parser_eof_get},
{"YAML::Syck::_syck_parser_anchors_set", _wrap__syck_parser_anchors_set},
{"YAML::Syck::_syck_parser_anchors_get", _wrap__syck_parser_anchors_get},
{"YAML::Syck::_syck_parser_bad_anchors_set", _wrap__syck_parser_bad_anchors_set},
{"YAML::Syck::_syck_parser_bad_anchors_get", _wrap__syck_parser_bad_anchors_get},
{"YAML::Syck::_syck_parser_syms_set", _wrap__syck_parser_syms_set},
{"YAML::Syck::_syck_parser_syms_get", _wrap__syck_parser_syms_get},
{"YAML::Syck::_syck_parser_levels_set", _wrap__syck_parser_levels_set},
{"YAML::Syck::_syck_parser_levels_get", _wrap__syck_parser_levels_get},
{"YAML::Syck::_syck_parser_lvl_idx_set", _wrap__syck_parser_lvl_idx_set},
{"YAML::Syck::_syck_parser_lvl_idx_get", _wrap__syck_parser_lvl_idx_get},
{"YAML::Syck::_syck_parser_lvl_capa_set", _wrap__syck_parser_lvl_capa_set},
{"YAML::Syck::_syck_parser_lvl_capa_get", _wrap__syck_parser_lvl_capa_get},
{"YAML::Syck::_syck_parser_bonus_set", _wrap__syck_parser_bonus_set},
{"YAML::Syck::_syck_parser_bonus_get", _wrap__syck_parser_bonus_get},
{"YAML::Syck::_syck_parser_io_get", _wrap__syck_parser_io_get},
{"YAML::Syck::new__syck_parser", _wrap_new__syck_parser},
{"YAML::Syck::delete__syck_parser", _wrap_delete__syck_parser},
{"YAML::Syck::_syck_parser_io_file_set", _wrap__syck_parser_io_file_set},
{"YAML::Syck::_syck_parser_io_file_get", _wrap__syck_parser_io_file_get},
{"YAML::Syck::_syck_parser_io_str_set", _wrap__syck_parser_io_str_set},
{"YAML::Syck::_syck_parser_io_str_get", _wrap__syck_parser_io_str_get},
{"YAML::Syck::new__syck_parser_io", _wrap_new__syck_parser_io},
{"YAML::Syck::delete__syck_parser_io", _wrap_delete__syck_parser_io},
{"YAML::Syck::_syck_emitter_headless_set", _wrap__syck_emitter_headless_set},
{"YAML::Syck::_syck_emitter_headless_get", _wrap__syck_emitter_headless_get},
{"YAML::Syck::_syck_emitter_use_header_set", _wrap__syck_emitter_use_header_set},
{"YAML::Syck::_syck_emitter_use_header_get", _wrap__syck_emitter_use_header_get},
{"YAML::Syck::_syck_emitter_use_version_set", _wrap__syck_emitter_use_version_set},
{"YAML::Syck::_syck_emitter_use_version_get", _wrap__syck_emitter_use_version_get},
{"YAML::Syck::_syck_emitter_sort_keys_set", _wrap__syck_emitter_sort_keys_set},
{"YAML::Syck::_syck_emitter_sort_keys_get", _wrap__syck_emitter_sort_keys_get},
{"YAML::Syck::_syck_emitter_anchor_format_set", _wrap__syck_emitter_anchor_format_set},
{"YAML::Syck::_syck_emitter_anchor_format_get", _wrap__syck_emitter_anchor_format_get},
{"YAML::Syck::_syck_emitter_explicit_typing_set", _wrap__syck_emitter_explicit_typing_set},
{"YAML::Syck::_syck_emitter_explicit_typing_get", _wrap__syck_emitter_explicit_typing_get},
{"YAML::Syck::_syck_emitter_best_width_set", _wrap__syck_emitter_best_width_set},
{"YAML::Syck::_syck_emitter_best_width_get", _wrap__syck_emitter_best_width_get},
{"YAML::Syck::_syck_emitter_style_set", _wrap__syck_emitter_style_set},
{"YAML::Syck::_syck_emitter_style_get", _wrap__syck_emitter_style_get},
{"YAML::Syck::_syck_emitter_stage_set", _wrap__syck_emitter_stage_set},
{"YAML::Syck::_syck_emitter_stage_get", _wrap__syck_emitter_stage_get},
{"YAML::Syck::_syck_emitter_level_set", _wrap__syck_emitter_level_set},
{"YAML::Syck::_syck_emitter_level_get", _wrap__syck_emitter_level_get},
{"YAML::Syck::_syck_emitter_indent_set", _wrap__syck_emitter_indent_set},
{"YAML::Syck::_syck_emitter_indent_get", _wrap__syck_emitter_indent_get},
{"YAML::Syck::_syck_emitter_ignore_id_set", _wrap__syck_emitter_ignore_id_set},
{"YAML::Syck::_syck_emitter_ignore_id_get", _wrap__syck_emitter_ignore_id_get},
{"YAML::Syck::_syck_emitter_markers_set", _wrap__syck_emitter_markers_set},
{"YAML::Syck::_syck_emitter_markers_get", _wrap__syck_emitter_markers_get},
{"YAML::Syck::_syck_emitter_anchors_set", _wrap__syck_emitter_anchors_set},
{"YAML::Syck::_syck_emitter_anchors_get", _wrap__syck_emitter_anchors_get},
{"YAML::Syck::_syck_emitter_anchored_set", _wrap__syck_emitter_anchored_set},
{"YAML::Syck::_syck_emitter_anchored_get", _wrap__syck_emitter_anchored_get},
{"YAML::Syck::_syck_emitter_bufsize_set", _wrap__syck_emitter_bufsize_set},
{"YAML::Syck::_syck_emitter_bufsize_get", _wrap__syck_emitter_bufsize_get},
{"YAML::Syck::_syck_emitter_buffer_set", _wrap__syck_emitter_buffer_set},
{"YAML::Syck::_syck_emitter_buffer_get", _wrap__syck_emitter_buffer_get},
{"YAML::Syck::_syck_emitter_marker_set", _wrap__syck_emitter_marker_set},
{"YAML::Syck::_syck_emitter_marker_get", _wrap__syck_emitter_marker_get},
{"YAML::Syck::_syck_emitter_bufpos_set", _wrap__syck_emitter_bufpos_set},
{"YAML::Syck::_syck_emitter_bufpos_get", _wrap__syck_emitter_bufpos_get},
{"YAML::Syck::_syck_emitter_emitter_handler_set", _wrap__syck_emitter_emitter_handler_set},
{"YAML::Syck::_syck_emitter_emitter_handler_get", _wrap__syck_emitter_emitter_handler_get},
{"YAML::Syck::_syck_emitter_output_handler_set", _wrap__syck_emitter_output_handler_set},
{"YAML::Syck::_syck_emitter_output_handler_get", _wrap__syck_emitter_output_handler_get},
{"YAML::Syck::_syck_emitter_levels_set", _wrap__syck_emitter_levels_set},
{"YAML::Syck::_syck_emitter_levels_get", _wrap__syck_emitter_levels_get},
{"YAML::Syck::_syck_emitter_lvl_idx_set", _wrap__syck_emitter_lvl_idx_set},
{"YAML::Syck::_syck_emitter_lvl_idx_get", _wrap__syck_emitter_lvl_idx_get},
{"YAML::Syck::_syck_emitter_lvl_capa_set", _wrap__syck_emitter_lvl_capa_set},
{"YAML::Syck::_syck_emitter_lvl_capa_get", _wrap__syck_emitter_lvl_capa_get},
{"YAML::Syck::_syck_emitter_bonus_set", _wrap__syck_emitter_bonus_set},
{"YAML::Syck::_syck_emitter_bonus_get", _wrap__syck_emitter_bonus_get},
{"YAML::Syck::new__syck_emitter", _wrap_new__syck_emitter},
{"YAML::Syck::delete__syck_emitter", _wrap_delete__syck_emitter},
{"YAML::Syck::_syck_emitter_node_pos_set", _wrap__syck_emitter_node_pos_set},
{"YAML::Syck::_syck_emitter_node_pos_get", _wrap__syck_emitter_node_pos_get},
{"YAML::Syck::_syck_emitter_node_indent_set", _wrap__syck_emitter_node_indent_set},
{"YAML::Syck::_syck_emitter_node_indent_get", _wrap__syck_emitter_node_indent_get},
{"YAML::Syck::_syck_emitter_node_is_shortcut_set", _wrap__syck_emitter_node_is_shortcut_set},
{"YAML::Syck::_syck_emitter_node_is_shortcut_get", _wrap__syck_emitter_node_is_shortcut_get},
{"YAML::Syck::new__syck_emitter_node", _wrap_new__syck_emitter_node},
{"YAML::Syck::delete__syck_emitter_node", _wrap_delete__syck_emitter_node},
{"YAML::Syck::syck_hdlr_add_node", _wrap_syck_hdlr_add_node},
{"YAML::Syck::syck_hdlr_add_anchor", _wrap_syck_hdlr_add_anchor},
{"YAML::Syck::syck_hdlr_remove_anchor", _wrap_syck_hdlr_remove_anchor},
{"YAML::Syck::syck_hdlr_get_anchor", _wrap_syck_hdlr_get_anchor},
{"YAML::Syck::syck_add_transfer", _wrap_syck_add_transfer},
{"YAML::Syck::syck_xprivate", _wrap_syck_xprivate},
{"YAML::Syck::syck_taguri", _wrap_syck_taguri},
{"YAML::Syck::syck_tagcmp", _wrap_syck_tagcmp},
{"YAML::Syck::syck_add_sym", _wrap_syck_add_sym},
{"YAML::Syck::syck_lookup_sym", _wrap_syck_lookup_sym},
{"YAML::Syck::syck_try_implicit", _wrap_syck_try_implicit},
{"YAML::Syck::syck_type_id_to_uri", _wrap_syck_type_id_to_uri},
{"YAML::Syck::try_tag_implicit", _wrap_try_tag_implicit},
{"YAML::Syck::syck_match_implicit", _wrap_syck_match_implicit},
{"YAML::Syck::syck_strndup", _wrap_syck_strndup},
{"YAML::Syck::syck_io_file_read", _wrap_syck_io_file_read},
{"YAML::Syck::syck_io_str_read", _wrap_syck_io_str_read},
{"YAML::Syck::syck_base64enc", _wrap_syck_base64enc},
{"YAML::Syck::syck_base64dec", _wrap_syck_base64dec},
{"YAML::Syck::syck_new_emitter", _wrap_syck_new_emitter},
{"YAML::Syck::syck_emitter_mark_node", _wrap_syck_emitter_mark_node},
{"YAML::Syck::syck_output_handler", _wrap_syck_output_handler},
{"YAML::Syck::syck_emitter_handler", _wrap_syck_emitter_handler},
{"YAML::Syck::syck_free_emitter", _wrap_syck_free_emitter},
{"YAML::Syck::syck_emitter_clear", _wrap_syck_emitter_clear},
{"YAML::Syck::syck_emitter_write", _wrap_syck_emitter_write},
{"YAML::Syck::syck_emitter_escape", _wrap_syck_emitter_escape},
{"YAML::Syck::syck_emitter_flush", _wrap_syck_emitter_flush},
{"YAML::Syck::syck_emit", _wrap_syck_emit},
{"YAML::Syck::syck_emit_scalar", _wrap_syck_emit_scalar},
{"YAML::Syck::syck_emit_1quoted", _wrap_syck_emit_1quoted},
{"YAML::Syck::syck_emit_2quoted", _wrap_syck_emit_2quoted},
{"YAML::Syck::syck_emit_folded", _wrap_syck_emit_folded},
{"YAML::Syck::syck_emit_literal", _wrap_syck_emit_literal},
{"YAML::Syck::syck_emit_seq", _wrap_syck_emit_seq},
{"YAML::Syck::syck_emit_item", _wrap_syck_emit_item},
{"YAML::Syck::syck_emit_map", _wrap_syck_emit_map},
{"YAML::Syck::syck_emit_end", _wrap_syck_emit_end},
{"YAML::Syck::syck_emit_tag", _wrap_syck_emit_tag},
{"YAML::Syck::syck_emit_indent", _wrap_syck_emit_indent},
{"YAML::Syck::syck_emitter_current_level", _wrap_syck_emitter_current_level},
{"YAML::Syck::syck_emitter_parent_level", _wrap_syck_emitter_parent_level},
{"YAML::Syck::syck_emitter_pop_level", _wrap_syck_emitter_pop_level},
{"YAML::Syck::syck_emitter_add_level", _wrap_syck_emitter_add_level},
{"YAML::Syck::syck_emitter_reset_levels", _wrap_syck_emitter_reset_levels},
{"YAML::Syck::syck_new_parser", _wrap_syck_new_parser},
{"YAML::Syck::syck_free_parser", _wrap_syck_free_parser},
{"YAML::Syck::syck_parser_set_root_on_error", _wrap_syck_parser_set_root_on_error},
{"YAML::Syck::syck_parser_implicit_typing", _wrap_syck_parser_implicit_typing},
{"YAML::Syck::syck_parser_taguri_expansion", _wrap_syck_parser_taguri_expansion},
{"YAML::Syck::syck_scan_scalar", _wrap_syck_scan_scalar},
{"YAML::Syck::syck_parser_handler", _wrap_syck_parser_handler},
{"YAML::Syck::syck_parser_error_handler", _wrap_syck_parser_error_handler},
{"YAML::Syck::syck_parser_bad_anchor_handler", _wrap_syck_parser_bad_anchor_handler},
{"YAML::Syck::syck_parser_file", _wrap_syck_parser_file},
{"YAML::Syck::syck_parser_str", _wrap_syck_parser_str},
{"YAML::Syck::syck_parser_str_auto", _wrap_syck_parser_str_auto},
{"YAML::Syck::syck_parser_current_level", _wrap_syck_parser_current_level},
{"YAML::Syck::syck_parser_add_level", _wrap_syck_parser_add_level},
{"YAML::Syck::syck_parser_pop_level", _wrap_syck_parser_pop_level},
{"YAML::Syck::free_any_io", _wrap_free_any_io},
{"YAML::Syck::syck_parser_read", _wrap_syck_parser_read},
{"YAML::Syck::syck_parser_readlen", _wrap_syck_parser_readlen},
{"YAML::Syck::syck_parse", _wrap_syck_parse},
{"YAML::Syck::syck_default_error_handler", _wrap_syck_default_error_handler},
{"YAML::Syck::syck_yaml2byte_handler", _wrap_syck_yaml2byte_handler},
{"YAML::Syck::syck_yaml2byte", _wrap_syck_yaml2byte},
{"YAML::Syck::syck_alloc_map", _wrap_syck_alloc_map},
{"YAML::Syck::syck_alloc_seq", _wrap_syck_alloc_seq},
{"YAML::Syck::syck_alloc_str", _wrap_syck_alloc_str},
{"YAML::Syck::syck_free_node", _wrap_syck_free_node},
{"YAML::Syck::syck_free_members", _wrap_syck_free_members},
{"YAML::Syck::syck_new_str", _wrap_syck_new_str},
{"YAML::Syck::syck_new_str2", _wrap_syck_new_str2},
{"YAML::Syck::syck_replace_str", _wrap_syck_replace_str},
{"YAML::Syck::syck_replace_str2", _wrap_syck_replace_str2},
{"YAML::Syck::syck_str_blow_away_commas", _wrap_syck_str_blow_away_commas},
{"YAML::Syck::syck_str_read", _wrap_syck_str_read},
{"YAML::Syck::syck_new_map", _wrap_syck_new_map},
{"YAML::Syck::syck_map_empty", _wrap_syck_map_empty},
{"YAML::Syck::syck_map_add", _wrap_syck_map_add},
{"YAML::Syck::syck_map_read", _wrap_syck_map_read},
{"YAML::Syck::syck_map_assign", _wrap_syck_map_assign},
{"YAML::Syck::syck_map_count", _wrap_syck_map_count},
{"YAML::Syck::syck_map_update", _wrap_syck_map_update},
{"YAML::Syck::syck_new_seq", _wrap_syck_new_seq},
{"YAML::Syck::syck_seq_empty", _wrap_syck_seq_empty},
{"YAML::Syck::syck_seq_add", _wrap_syck_seq_add},
{"YAML::Syck::syck_seq_assign", _wrap_syck_seq_assign},
{"YAML::Syck::syck_seq_read", _wrap_syck_seq_read},
{"YAML::Syck::syck_seq_count", _wrap_syck_seq_count},
{"YAML::Syck::syckerror", _wrap_syckerror},
{"YAML::Syck::syckparse", _wrap_syckparse},
{0,0}
};
/*************************************************************************
 * Type initialization:
 * This problem is tough by the requirement that no dynamic 
 * memory is used. Also, since swig_type_info structures store pointers to 
 * swig_cast_info structures and swig_cast_info structures store pointers back
 * to swig_type_info structures, we need some lookup code at initialization. 
 * The idea is that swig generates all the structures that are needed. 
 * The runtime then collects these partially filled structures. 
 * The SWIG_InitializeModule function takes these initial arrays out of 
 * swig_module, and does all the lookup, filling in the swig_module.types
 * array with the correct data and linking the correct swig_cast_info
 * structures together.

 * The generated swig_type_info structures are assigned staticly to an initial 
 * array. We just loop though that array, and handle each type individually.
 * First we lookup if this type has been already loaded, and if so, use the
 * loaded structure instead of the generated one. Then we have to fill in the
 * cast linked list. The cast data is initially stored in something like a
 * two-dimensional array. Each row corresponds to a type (there are the same
 * number of rows as there are in the swig_type_initial array). Each entry in
 * a column is one of the swig_cast_info structures for that type.
 * The cast_initial array is actually an array of arrays, because each row has
 * a variable number of columns. So to actually build the cast linked list,
 * we find the array of casts associated with the type, and loop through it 
 * adding the casts to the list. The one last trick we need to do is making
 * sure the type pointer in the swig_cast_info struct is correct.

 * First off, we lookup the cast->type name to see if it is already loaded. 
 * There are three cases to handle:
 *  1) If the cast->type has already been loaded AND the type we are adding
 *     casting info to has not been loaded (it is in this module), THEN we
 *     replace the cast->type pointer with the type pointer that has already
 *     been loaded.
 *  2) If BOTH types (the one we are adding casting info to, and the 
 *     cast->type) are loaded, THEN the cast info has already been loaded by
 *     the previous module so we just ignore it.
 *  3) Finally, if cast->type has not already been loaded, then we add that
 *     swig_cast_info to the linked list (because the cast->type) pointer will
 *     be correct.
**/

#ifdef __cplusplus
extern "C" {
#endif
    
    SWIGRUNTIME void
    SWIG_InitializeModule(void *clientdata) {
        swig_type_info *type, *ret;
        swig_cast_info *cast;
        size_t i;
        swig_module_info *module_head;
        static int init_run = 0;
        
        clientdata = clientdata;
        
        if (init_run) return;
        init_run = 1;
        
        /* Initialize the swig_module */
        swig_module.type_initial = swig_type_initial;
        swig_module.cast_initial = swig_cast_initial;
        
        /* Try and load any already created modules */
        module_head = SWIG_GetModule(clientdata);
        if (module_head) {
            swig_module.next = module_head->next;
            module_head->next = &swig_module;
        } else {
            /* This is the first module loaded */
            swig_module.next = &swig_module;
            SWIG_SetModule(clientdata, &swig_module);
        }
        
        /* Now work on filling in swig_module.types */
        for (i = 0; i < swig_module.size; ++i) {
            type = 0;
            
            /* if there is another module already loaded */
            if (swig_module.next != &swig_module) {
                type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
            }
            if (type) {
                /* Overwrite clientdata field */
                if (swig_module.type_initial[i]->clientdata) type->clientdata = swig_module.type_initial[i]->clientdata;
            } else {
                type = swig_module.type_initial[i];
            }
            
            /* Insert casting types */
            cast = swig_module.cast_initial[i];
            while (cast->type) {
                /* Don't need to add information already in the list */
                ret = 0;
                if (swig_module.next != &swig_module) {
                    ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
                }
                if (ret && type == swig_module.type_initial[i]) {
                    cast->type = ret;
                    ret = 0;
                }
                
                if (!ret) {
                    if (type->cast) {
                        type->cast->prev = cast;
                        cast->next = type->cast;
                    }
                    type->cast = cast;
                }
                
                cast++;
            }
            
            /* Set entry in modules->types array equal to the type */
            swig_module.types[i] = type;
        }
        swig_module.types[i] = 0;
    }
    
    /* 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_PropagateClientData(void) {
        size_t i;
        swig_cast_info *equiv;
        static int init_run = 0;
        
        if (init_run) return;
        init_run = 1;
        
        for (i = 0; i < swig_module.size; i++) {
            if (swig_module.types[i]->clientdata) {
                equiv = swig_module.types[i]->cast;
                while (equiv) {
                    if (!equiv->converter) {
                        if (equiv->type && !equiv->type->clientdata)
                        SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
                    }
                    equiv = equiv->next;
                }
            }
        }
    }
    
#ifdef __cplusplus
}
#endif



#ifdef __cplusplus
extern "C"
#endif

XS(SWIG_init) {
    dXSARGS;
    int i;
    
    SWIG_InitializeModule(0);
    
    /* 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);
}

